diff --git a/components/pdp/ProductReviewsSection.tsx b/components/pdp/ProductReviewsSection.tsx index d031d79..5f5e1f4 100644 --- a/components/pdp/ProductReviewsSection.tsx +++ b/components/pdp/ProductReviewsSection.tsx @@ -71,6 +71,11 @@ export function ProductReviewsSection({ }; const handleReviewSubmitted = (newReview: ProductReviewItem) => { + // If review is pending admin approval, do not append to public storefront list + if (newReview.is_approved === false) { + return; + } + setData((prev) => { const existingReviews = prev ? prev.reviews : []; const updatedReviews = [newReview, ...existingReviews]; diff --git a/components/pdp/ReviewSubmissionModal.tsx b/components/pdp/ReviewSubmissionModal.tsx index c4893fc..ede0a96 100644 --- a/components/pdp/ReviewSubmissionModal.tsx +++ b/components/pdp/ReviewSubmissionModal.tsx @@ -197,7 +197,7 @@ export function ReviewSubmissionModal({

Thank You!

- Your review has been successfully submitted and verified. + Your review has been submitted and is currently pending moderation. It will be published once approved by our team.

) : (