Add customer reviews on home page
Add reviews - home page
Show customer reviews on my homepage:
Go to your Shopify Themes menu. (online store -> edit code)
Click on the "Actions" menu, then select "Edit Code".
Open the section you use for the homepage, it's called: index.liquid
Copy the line of code in the box below:
<div id="trustreviews" class="page-width" data-product-id="{{product.id}}"> {{ product.metafields.trustreviews.iframe }}
</div>
Paste the line of code below "content-for-index". As in the screenshot below:
Updated on: 03/13/2024
Thank you!