PINTEREST TAG for SHOPIFY | Turbo Theme

Comments

4 comments

  • Avatar
    Roy Ren

    It is located in product-form.liquid

    0
    Comment actions Permalink
  • Avatar
    John Sika

    Hi Fazeel Hussain, have you found a solution to this? I am experiencing the same issue. Ive looked through all 'product' templates and cant seem to find the 'add to cart' code anywhere.

    Roy Ren - there is no 'product-form.liquid' template in Turbo theme.

     

     

    0
    Comment actions Permalink
  • Avatar
    Peertje44

    I am facing the same problem...I do have an empty product-form.liquid' template in assets :-(

    How can I set up the 'addtocart' pinterest tag?

     

    Thank you

    0
    Comment actions Permalink
  • Avatar
    Jonathan Meier

    You'll have to look into the product-form.liquid (in snippets). Around line 104 is the AddToCart button.

     <button type="{% if settings.cart_action == 'ajax' %}button{% else %}submit{% endif %}" name="add" class="{% if settings.cart_action == 'ajax' %} ajax-submit {% endif %}action_button add_to_cart {% if show_payment_button %} action_button--secondary {% endif %} {% if product.available == false %}disabled{% endif %} addtocart" data-label={{ add_to_cart_label | json }}" onclick="pintrk('track', 'addtocart');>
    0
    Comment actions Permalink

Please sign in to leave a comment.