Skip to main content
Experimental. This Module has no test or production evidence recorded yet. Read it, run it locally, and hold off on real Orders. See maturity levels.
The Reviews Module adds a product review system to your Store. Reviews wait in a moderation queue until you approve them, unless you enable autoApprove. Customers can submit photo reviews, vote on helpfulness, and report abuse. You can respond to any review from Store Admin. Source: modules/reviews · npm: @86d-store/reviews

Installation

Add the Module to your store configuration:

Configuration

string
default:"\"false\""
When set to "true", new reviews are immediately published without going through the moderation queue. When "false" (default), reviews start in pending status and require admin approval.

Review lifecycle

With autoApprove: "true", new reviews skip pending and go directly to approved.

Store endpoints

Submit a review (POST /reviews)

The endpoint returns 409 if the authenticated Customer has already reviewed the product. Each review accepts up to 5 images.

List product reviews (GET /reviews/products/:productId)

Report a review (POST /reviews/:id/report)

reason must be one of: spam, offensive, fake, irrelevant, harassment, other.

Admin endpoints

Store components

Use these components in your MDX Template files.

ReviewsSummary

Compact star rating and review count for use on product cards.
string
required
Product ID to fetch the rating summary for.

ProductReviews

Full reviews section with rating summary, distribution bars, review list, and a submit form. Drop this on your product detail page.
string
required
Product ID to display reviews for.
string
default:"\"Customer Reviews\""
Section heading.

ReviewForm

Standalone review submission form. Use this when you want to embed the form separately from the review list.

ReviewCard

A single review card showing author, rating, title, body, images, and helpfulness controls.

StarDisplay

Read-only star rating display for a given numeric score.

StarPicker

Interactive star rating input for use inside a review form.

DistributionBars

Horizontal bar chart showing the rating distribution (1 to 5 stars) for a product.

Types

Only approved reviews appear in product listings and rating summaries. The isVerifiedPurchase field can only be set server-side; it is always false for reviews submitted through the store endpoint.