Display Product Ratings in Search Results and other places
Show Product Review Stars Across Your Storefront
Help shoppers compare products by showing ResellerRatings stars where they browse, search, and shop. The Product Rating Widget displays a product’s star rating. Shoppers can click the stars to visit the product page and read the full reviews.
Where to show product ratings
- Category pages and search results: Help shoppers compare products as they browse.
- Featured product sections and promotional pages: Show ratings next to the products you highlight.
- Shopping cart: Show the rating next to each item before shoppers check out.
Example 1 - Display Reviews Search Results



How to get started
Decide where you want the stars to appear, then share the instructions below with the person who manages your storefront. They’ll need your ResellerRatings store name (called the seo_name in the script) and the SKU used to identify each product’s rating.
If you sell products with variants, such as different sizes or colors, confirm whether your ResellerRatings setup uses the main product’s SKU (the parent SKU) or the individual variant’s SKU (the child SKU). If you’re unsure, contact ResellerRatings before setup.
Setup instructions for your website team
1. Add a rating placeholder next to each product. Add one placeholder per product displayed. Replace PRODUCT_SKU with the SKU used for that product’s rating.
Step 1: Add the Product Rating Container
Place the following <div> anywhere you want review stars to appear for a product.
Add one container per product displayed on the page.
<div class="rr_cat_ratings" data-rr-product-id="PRODUCT_SKU"></div>
Replace:
PRODUCT_SKUwith the SKU of the product being displayed.
! If you are using parent/child SKU implementation, please insert the parent SKU
Step 2: Add the Product Review Script
Place the following script near the bottom of your category, search, or listing page before the closing </body> tag.
<!--Bottom of your page -- ><script src="https://www.resellerratings.com/productreviews/category/my_store_name.js"></script>
Replace:
my_store_namewith your ResellerRatings store seo_name.
Example 2 - Display Reviews on your Product Cart Page
Important Notes
- Add one rating container per product shown on the page.
- Ensure the correct SKU is passed into
data-rr-product-id. - For Parent/Child SKU implementations, always use the Child Sku.