Hi people,
we do have a professional trustpilot account and I want to add a Q&A widget on our website. As I can generate an HTML code on trustpilot which is excellent but for me to add the code on the product page I need to set up variables based on the SKU/handle etc. I tried many different ways but none seems to be working.
Here is the original code which I can get from TP:
in the data-sku= there was a single product SKU which doesn’t change on a different product page. I have changed the code a bit and put:
but this gave me an error:
'custom_tab_content_3' can't include Liquid syntax ('{{', '}}', '{%' or '%}') without valid dynamic sources.
On Trustpilot there is a section in their support:
Load reviews dynamically on product pages
If you’d like to tailor the reviews shown on a specific page to match the products featured on that particular page, you’ll need to add a placeholder. To do so, type the programming variable in the SKU field to serve as a placeholder for the SKU value. Now on different product pages, the relevant reviews for the selected product SKUs will be displayed dynamically.
Is anybody had this error before or can help me solve this problem?