Follow instructions below to install star rating on BigCommerce site.
To start, go to star ratings page. Copy star rating ID and paste it somewhere.
1) Loader Code
Go to BigCommerce settings page and check if install scripts
is turned on.
2) Star Rating Snippet
Replace
STAR_RATING_ID
for snippet below with actual star rating ID that you have copied earlier. Paste modified snippet on where you want star rating to appear. For this, you need to edit your theme file. Common files to look at: templates/components/products/product-view.html
.<div
class="ov-app ov-app-star-rating"
data-app-id="STAR_RATING_ID"
data-app="star-rating"
data-product-external-id="{{ product.id }}">
</div>
Search for the following code:
itemprop="name"
productView-title
Then place star rating snippet below it. This should position star rating just below product title element.
Need help installing?
If you need additional help to install, you can contact us.