Star ratings
Your Complete Guide To Show Star Ratings, Enhance Your Store's Online Reputation and Customer Confidence Through Product Ratings.
Step 1: Enable LAI core script (LAI app embed)
- From your Shopify admin, go to Online Store > Themes.
- Find the theme you want to edit, then click Edit theme.
- In the top-left menu, click the App embeds icon.
- Enable the LAI Core Script.
- Click Save in the top-right corner.

Step 2: Add star rating
- Go to Widgets > Click Customize under the Star rating widget:
On 2.0 themes
1. Under product title in product pages
- Click Add to theme:
- A star rating block will be added to your Default product template:
- Hover over the Star rating block, then click and hold the 6-dot icon (⋮⋮). Drag the block up or down to reposition it > CLick Save
2. Under product title in collection pages
- Follow the instruction in app or click Contact us so our support team can further assist you.
On 1.0 themes
- Follow the instruction in app or click Contact us so our support team can further assist you.
- This is a piece of code to show star ratings:
<div class="scm-reviews-rate" data-rate-version2={{ product.metafields.scm_review_importer.reviewsData.reviewCountInfo | json | escape }} data-product-id= {{ product.id }}></div>
Questions
Q1: Where does the star rating show?
- The star rating shows right under product title as default. It's clickable and directs you to the review section.
Q2: How to show the average rating instead of the total number of reviews?
Step 1: Please go to Display > Toggle on Show star rating texts
Step 2: Replace {{n}} with {{average_rating}}
Step 3: Click Save and re-check it on your online store
Updated on: 25/05/2026
Thank you!