How to install the Preview badge below the product title in Shopify themes?

Install the Preview badge into the Shopify 2.0 themes


Steps to install a Preview badge (star ratings) on your product page:

• Open Shopify backend and navigate to Online Store >> Themes >> Customization

image

• From the Dropdown select the product template where you’re willing to insert the Preview Badge.

image

• From the left panel, navigate to the Add Block >> Preview Badge

image

• Change its position, and then click Save.

Note: If you have multiple templates, kindly add the above-given code to all the product templates. Also, if you wish to add the preview badge to the collection or category page, kindly use the same code.

Install the Preview badge into the Shopify Vintage (1.0) themes


Steps to install a Preview badge (star ratings) on your product page:

• Open Shopify backend and navigate to Online Store >> Themes >> Edit code

image
• From the files, please open the “product.liquid’ or “product-template.liquid” file and add the given code beneath the product title.
image
• Click Save.           

Note: If you have multiple templates, kindly add the above-given code to all the product templates. Also, if you wish to add the preview badge to the collection or category page, kindly use the same code.