Product Reviews Setup

    Let visitors leave star-rated reviews with photos on product pages and blog posts. Reviews are limited to one per email/IP and can be moderated from the dashboard.

    1. Create the widget

    Dashboard → Settings → Product Reviews → Create. Choose review type: Product or Blog.

    2. Customize

    • Display — stars + photos, stars only, or compact summary.
    • Form fields — name, email, rating, comment, photos.
    • Moderation — auto-publish or manual approval from Dashboard → Reviews.
    • Design — highly customizable: star color, layout, fonts, spacing.

    3. Embed on a product or blog page

    <div id="product-reviews-widget"
         data-product-id="PRODUCT_ID"
         data-product-name="Product Name"></div>
    <script src="https://iaodtejrhijqkvlddedo.supabase.co/functions/v1/serve-product-review-widget?script_id=YOUR_SCRIPT_ID"></script>

    Copy the exact code from Settings → Product Reviews → Setup. data-product-id identifies the item being reviewed (a product ID or SKU); without it, the widget reads the product from the page.

    4. Moderate

    Approve, hide or bulk-delete reviews from Dashboard → Reviews. Deletes are soft — recoverable until permanently purged.