Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
integration:google_customer_reviews [2021/03/16 13:19] – [Supporting product reviews with GTINs] adamintegration:google_customer_reviews [2021/03/24 19:55] (current) adam
Line 59: Line 59:
           "opt_in_style": "CENTER_DIALOG",           "opt_in_style": "CENTER_DIALOG",
           {% if gtin|length > 0 %}           {% if gtin|length > 0 %}
-          "products": [{{ gtin|join(", ") }}]+          "products": [{{ gtin|join(", ")|raw }}]
           {% endif %}           {% endif %}
         });          }); 
Line 79: Line 79:
 You can [[https://support.google.com/merchants/answer/6219078?hl=en|use this page]] to find GTINs for your products. You can [[https://support.google.com/merchants/answer/6219078?hl=en|use this page]] to find GTINs for your products.
  
-==== Using product ''code'' instead of a custom product option ====+==== Using product code instead of a custom product option for gtin ====
 If you specify the ''gtin'' value as your product ''code'' already, you can use a modified version of the code to use the ''code'' you're passing. If you specify the ''gtin'' value as your product ''code'' already, you can use a modified version of the code to use the ''code'' you're passing.
  

Site Tools