Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
integration:google_customer_reviews [2021/03/16 13:20] – [Using product ''code'' instead of a custom product option] 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 %}
         });          }); 

Site Tools