Integrate review scores from other apps.
Last updated
Last updated
In this guide, we will demonstrate how to integrate the review score from an external application into the product card, positioning it below the product title.
To accurately place the review score, it is necessary to identify the class associated with the product title. Follow these steps:
Open your collection page, such as https://demo-clo.myshopify.com/collections/clothing-1-2
Highlight the product title then right-click and select Inspect (or press F12
to use the browser's developer tools).
In the Elements tab of the developer tools, locate the class assigned to the product title.
For example, in Smind’s collection page, the product title is assigned this class. By identifying the correct class, you ensure that the review score is displayed consistently within the product card layout
To integrate the review score correctly, follow these steps:
Step 1: Access the Theme Code Editor
Navigate to Shopify Admin > Sales Channels > Online Store.
Select your current theme, then click Customize.
Click on the three-dot icon in the top-left corner and choose Edit code.
Step 2: Locate the Product Card File
Since you are editing the Smind product card, locate the relevant file smi-product-card.liquid
.
Step 3: Insert the Integration Code
In the code editor, press Ctrl + F
to search for the line containing smi-product-title
Insert the integration code at the end of those lines to ensure the review score appears directly below the product title.
By following these steps, you will successfully integrate the review score into the product card layout.
Navigate to Shopify Admin > Apps > Judge.me Reviews > Widgets > Star Rating Badge > Customize then copy the widget code
Paste the code to the place which have been determine in 1.2
The result will be look like this