Developer Resourcesreview
Review Module Features
Functional overview of product reviews and testimonial reviews.
Features
Product review features
- customer can submit a review only for a delivered purchased product
- admin can list, inspect, approve, reject, or seed product reviews
- public product pages show approved reviews only
- mobile and public product review reads remain product-focused
- admin-seeded product reviews can use explicit fake reviewer name and profile image
Testimonial features
- admin can create, edit, hide, reorder, and delete testimonial reviews
- public storefront can fetch visible testimonials with pagination
- mobile storefront can fetch the same visible testimonials
- testimonials are not tied to product ids or customer purchase history
Intended Use
Product reviews
Use when the review should communicate:
- feedback on a specific product
- real customer sentiment after purchase
- admin-seeded social proof on a specific product
- rating evidence on the product detail page
Testimonials
Use when the content should communicate:
- trust in the store or service
- support experience
- delivery or consultation satisfaction
- broad confidence in IT Mart without pinning to a single SKU
Admin Workflow
Product reviews
- customer submits review from authenticated mobile flow
- review is stored as
pending - admin reviews it
- admin approves or rejects it
- approved review becomes visible through public product review endpoints
Admin can also seed a review directly:
- admin submits
productId,reviewerName, optionalreviewerImageUrl,rating, and optionalcomment - review is stored as an approved
admin_seededproduct review - public product review endpoints show the exact seeded persona
Testimonials
- admin creates testimonial directly
- admin optionally sets image, order, and visibility
- storefront fetches only visible testimonials
- admin can reorder or hide testimonials later by updating fields
UX Expectations
- product reviews should feel transactional and product-specific
- testimonials should feel editorial and trust-oriented
- both should support pagination and stable sort order
- both should remain easy to document and reason about independently