How do I add the star ratings to my homepage product?

  1. Go to your Shopify Themes menu
  2. Click the "Actions" menu and then select "Edit code"
  3. Open the template or section you use for the homepage product (usually it's called featured-product.liquid or homepage-product.liquid, but some themes work differently)
  4. Copy the code below:
    <div class="loox-rating" data-id="{{ }}" data-rating="{{ product.metafields.loox.avg_rating }}" data-raters="{{ product.metafields.loox.num_reviews }}"></div>
  5. Paste it where you want the stars to appear (We suggest below the product's title)
  6. For example (This is on the Debut theme):
  7. Please note: Star rating only appear when there's at least one approved review of the product

If you're having trouble editing your Liquid code, please contact us and we'll be happy to assist!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.