How to install Revie on Shopify 1.0 template

1. To display the star badge on the product page.



In the product template (product-template.liquid or similar), insert the following code before "price" or wherever you want to display it:

<div class="product__price"></div>





2. To display the list of reviews on the product page.



In product.liquid, before the product-recommendations section, insert the following code:

<div class="page-content--product"></div>




3. To display the star badge in the collection listing.





In the collection template (product-grid.liquid or similar), insert the code where you want to display it:

{% if product.metafields.revie.reviewData %}
        <div class="shopify-product-revie" data-id="{{ product.id }}">
          <div id="revieStar"><div title="{{ product.metafields.revie.reviewData.reviewAverageValue }} Estrellas"><i data-starlist="{{ product.metafields.revie.reviewData.reviewAverageValue }}"></i><span>{{ product.metafields.revie.reviewData.reviewCount }} reseñas</span></div></div>
          </div>
{% endif %}



If you have any questions or need us to do it for you, reach out to us on WhatsApp 👉 (https://wa.me/525554357152/)

Updated on: 18/08/2023