Personalized checkout and custom promotions with Shopify Scripts
I want to add a live widget provided by my Product Review company as per their instructions. This should add a live widget to the page showing the last three reviews.
Instructions are:
Copy and paste this code in the <head>...</head> section of your page. If you have multiple ProductReview widgets, this snippet only needs to be included once.
<script> window.__productReviewSettings = { brandId: '967ac521-fa3b-3bfb-96f5-2de47b2957b1' };</script><script src="https://cdn.productreview.com.au/assets/widgets/loader.js" async></script>
Copy and paste this code wherever you'd like your widget to appear.
If you want multiple widgets in your page, make sure that each container has a unique ID.
<div id="pr-reviews-horizontal-widget"></div><script> window.__productReviewCallbackQueue = window.__productReviewCallbackQueue || []; window.__productReviewCallbackQueue.push(function(ProductReview) { ProductReview.use('reviews-horizontal', { "identificationDetails": { "type": "single", "strategy": "from-internal-entry-id", "identifier": "4273b259-07cd-3899-a9b9-606933ed603c" }, "container": "#pr-reviews-horizontal-widget" }); });</script>
I have added the code to the </head> section but do not know how to add the second item to the home page. I am new to Shopify. I have tried using the "Custom Liquid" section but this does not work.
Any help appreciated. Thank you
@Seltaeb I can help you to setup that code. To do this I need the access to your theme.
Please share the details on my inbox.
Thank you but I'd like to know how to do it myself. can you run through the steps for me please?
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024