Display my product reviews using a widget : TagJS (Historical version)

The TagJS is a simple and easy to integrate feature that allows, via a JavaScript widget, to display product information on your product sheets.

mceclip0.pngmceclip1.png

This article explains the procedure to set up the display of product reviews using Tag JS.

⚠️ We recommend using our new product widget for displaying your reviews on your product pages.

Procedure

Step 1

Go to the Reviews Display - Applications menu.

Step 2

Enable file generation by clicking on Enable feature.

To display reviews, copy and paste the tag from step 3 into the code of your product page, where you want it.

Step 7

Select the display you want for the review block (Step 4) and click Save.

Important 

If the code is duplicated, the display of product reviews will not work.

Place the tags on your page, ensuring that the references data-product-id, data-product-name, and data-product-url used are identical to those stored in the database (id_product, name_product, and url_product). The display of product reviews only works with the product ID (no SKU or EAN code).

 

⚠️ Attention 

To properly display reviews in Tag JS, web resources must be generated and activated.

Step 8

 In your Verified Reviews Back Office, go to the Reviews Display - Retrieve My Reviews - Product API menu and enable the generation of all product review files in JSON format. 

Once the files are generated, you will need to check the desired options:

💡 Don't forget to save the settings at the bottom of the page.

 

⭐ Good to know: It's possible to display reviews for multiple products on the same page; for this, insert the relevant references separated by a comma: data-product-id="xxxx,yyyy,zzzz"

mceclip4.png

When you enable the feature, the following message appears:

Please disregard the message. You can proceed to the next configuration step. No technical issues to report.

Step 3

Click on Advanced Configuration to finish the configuration mceclip6.png

Step 4

Copy and paste the first script (Step 1) into the footer of your site

Step 5

For displaying stars, copy and paste the tag from step 2 into the code of your product page, where you want it.

Step 6

To display reviews, copy and paste the tag from step 3 into the code of your product page, where you want it.

Step 7

Select the display you want for the review block (Step 4) and click Save.

Important 

If the code is integrated twice, the display of product reviews will not work.

Place the tags on your page, ensuring that the references data-product-id, data-product-name, and data-product-url used are identical to those stored in the database (id_product, name_product, and url_product). The display of product reviews only works with the product ID (no SKU or EAN code).

 

⚠️ Attention 

For reviews to be displayed correctly in Tag JS, web resources must be generated and activated. 

Step 8

 In your Verified Reviews Back Office, go to the Reviews Display - Retrieve My Reviews - Product API menu and enable the generation of all product review files in JSON format. 

Once the files are generated, you will need to check the desired options:

💡 Don't forget to save the settings at the bottom of the page.

 

⭐ Good to know: It's possible to display reviews for multiple products on the same page; for this, insert the relevant references separated by a comma: data-product-id="xxxx,yyyy,zzzz"

Was this article helpful?
0 out of 2 found this helpful