--- title: "Shopify: Installing the Yotpo Star Rating on Product Pages" slug: "shopify-installing-the-yotpo-star-rating-on-product-pages" tags: ["Reviews ", "Shopify", "Shopify Plus"] updated: 2025-04-28T15:56:36Z published: 2025-04-28T15:56:36Z canonical: "support.yotpo.com/shopify-installing-the-yotpo-star-rating-on-product-pages" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.yotpo.com/llms.txt > Use this file to discover all available pages before exploring further. # Shopify: Installing the Yotpo Star Rating on Product Pages Products Reviews ###### Supported plans Free, Starter, Pro, Premium, Enterprise ###### eCommerce Platform Shopify, Shopify Plus The Yotpo Star Rating presents an aggregated Star Rating for your products. Installing the Star Rating is a slightly more complex process than installing the regular widget, because it is up to you where to place it. ## Installing Star Rating on Shopify The instructions below are for Shopify's default settings. 1. Go to your [Shopify Themes menu](https://www.shopify.com/admin/themes). 2. Click **Actions** > **Edit Code**. 3. Locate the file that you use for your product pages. This is usually called **product-template.liquid** or **main-product.liquid**. 4. Paste the following code into the file. - If you're using Shopify Online Store 2.0, paste the code under the
{{ product-list-repeatable-item.title }}
** 3. Add the following code after that line: ```plaintext {%unless template contains 'product'%} {% include 'yotpoBottomLine' with product-list-repeatable-item %} {%endunless'%} ``` ## Centering the Star Rating on Product Pages The Star Rating is aligned to the left by default. If your product description is centered, you may want to center the Star Rating as well.  If you would like the Star Rating to be centered, please use the following code instead: ```markdown