Skip to main content

I am trying to install the snippet, However, My theme (Shopify icon) has both ID and Class! Below is my snippet. I tried both snippets with ID and Class but none will work. 

<div class="product-add">
        <input id="AddToCart" type="submit" name="button" class="add secondary-button is-added" value="Add to Cart">
      </div>

 

Hi @merkoc,

Thank you for sharing your question with the Klaviyo Community.

There are a few potential reasons for this issue. Can you try the steps outlined in the post below? This post includes a few different recommendations to resolve the issue.

 There is another thread below with a solution for the “Turbo” theme that you may find applicable to your theme as well

 Thanks and please do let me know if you’re still having trouble after reviewing these posts.

 


the posted solution does not actually work...


Here's my add to card code, it's a class button I tried more than 4 times to put it , it doesn't work, I followed all the steps, Help me please.


Hi @Horusruthless,

 

I noticed that you also happened to ask this question in a thread we have going here:

 

Just for the sake of organization, we can continue this discussion in that post so that all of our conversation is organized. 

 

Thanks!

- Brian


Reply