How to add star rating into the Product and Collection Page?

Troubleshooting
3 min read Leave a comment
How to add star rating into the Product and Collection Page?

It would be great if you have star ratings on your Shopify Product Page and Collection Page to earn customers’ trust and improve sales. If you still not know how to add star ratings from Ali Reviews to your store, this post will guide you through.

⭐In case you don’t know: Ali Reviews just rolled out the biggest update ever in March 2021 with tons of outstanding features. Easiest ways to get social proof, stunning visual reviews, faster site speed, and much more you can find at Ali Reviews!

Back to topic, normally star ratings will be added to product pages and collection pages automatically. But if they don’t work on your store, follow easy steps below to enable it.

1. Add star rating to your Product page

  •  Go to your Online store > Theme > Find the Theme that you’re using > Action > Edit Code.
How To Open Edit Code In Shopify Admin
  • Search for product.liquid file (or product-template.liquid in some cases)
How To Find product.liquid file (or product-template.liquid in some cases)
  • Then, find the following code in line (A):
{{ product.title }}
How To Find product.title In product.liquid File
  • Copy this code snippet (B):
<div product-id="{{ product.id }}" class="alr-display-review-badge"></div>
  •  Insert the code snippet (B) under the above code line (A):
Place To Add Code In product.liquid File To Show Rating Star In The Product Page

And that’s it! Here’s the result!

Please note that: product.liquid or product-template.liquid can be named differently due to a variety of themes.

If you still can’t make the star rating appear on your Product page, please contact our specialist via in-app live chat or email at support@fireapps.io

2.  Add star rating to your Collection page

If you have ratings to the Product page already, be continued to add/integrate it into the liquid element on the Collection page for better results.

To show the rating star in the Collection page, you need to add the code snippet into the product-grid-item.liquid or product-card-grid.liquid file, located in your default theme. Here’s details that guide you how to display reviews on it:

  • Go to the product-grid-item.liquid or product-card-grid-liquid file. Then, find the following code line (A):
{{ product.title }}
  • Copy this code snippet (B):
<div product-id="{{ product.id }}" class="arv-collection arv-collection--{{ product.id }}"></div>
  • Insert the code snippet (B) under the code line (A).

If you can not find product-grid-item.liquid or product-card-grid.liquid, let’s try on product.card.liquid OR product.item.liquid OR product.info.liquid

That’s it! You’re done.

If you have any troubles editing the liquid code, please contact us via live chat or email at support@fireapps.io and we’ll be happy to assist!

New to Ali Reviews?

Learn why over 40,000 e-commerce store owners chose Ali Reviews to skyrocket sales. Take free trial now to power up social proof and get your business to the next level!

Related Articles:

Leave a Reply

avatar
  Subscribe  
Notify of

Posts you might be interested

Troubleshooting

How can I show rating star in the Product page?

It would be great if you have star ratings on your Shopify product page. Because they can help you build trust...

1 min read

Troubleshooting

How to edit content manually in the Transcy app?

We will show you how to edit content manually for a better version in the Transcy app.

2 min read

Troubleshooting

How to set up Message Delivery?

Message Delivery has 3 main elements: Message SenderQuiet HoursMessage Break 1....

1 min read