Skip to main content
Solved

Setting up Added to Cart Snippet Dawn Theme

  • September 22, 2024
  • 3 replies
  • 46 views

MAD Merch
Contributor I
Forum|alt.badge.img

Hello,

I have followed the steps outlined in Klaviyo tutorial as shown below. When I get to step 5, however, I am not sure where to "add section"? 

And step 6 what “provided snippet” is this referring to and where do I find this snippet? I see the snippet folder within my theme editor but which one do i use and do you just copy and paste it into the section? I am using Shopify Dawn Theme. 

If your store has custom liquid blocks, you should use one for the snippet 

  1. In Shopify, navigate to Online Store > Themes.
  2. Find your theme and click Customize.
  3. At the top of the page, click the Home page dropdown.
  4. Select Products > Default product to be brought to your default product page.
  5. Click Add section in the left sidebar and then select Custom Liquid.
  6. Paste the provided snippet in the box.
  7. Click Save in the upper right.
  8. In the left sidebar, your new Custom Liquid block for Added to Cart should automatically appear below the other sections on the page.

Best answer by ArpitBanjara

hey @MAD Merch 

To add a section - go to your theme and add section as shown below.

The code to add can be found here

However if it still doesn’t work, there are a few cases where you might need to change the code snippet slightly according to how you have things setup, which is also mentioned in the article. Try snippet 2 or snippet 3, if you fall into that category.

I hope that helps

Cheers

Arpit

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

ArpitBanjara
Principal User I
Forum|alt.badge.img+36
  • Principal User I
  • 371 replies
  • Answer
  • September 22, 2024

hey @MAD Merch 

To add a section - go to your theme and add section as shown below.

The code to add can be found here

However if it still doesn’t work, there are a few cases where you might need to change the code snippet slightly according to how you have things setup, which is also mentioned in the article. Try snippet 2 or snippet 3, if you fall into that category.

I hope that helps

Cheers

Arpit


MAD Merch
Contributor I
Forum|alt.badge.img
  • Author
  • Contributor I
  • 3 replies
  • September 22, 2024

Does it matter where the section is added, I have several areas that I could add a section to?

 


ArpitBanjara
Principal User I
Forum|alt.badge.img+36
  • Principal User I
  • 371 replies
  • September 23, 2024

Hey @MAD Merch 

Add a section above the “footer” part as marked in screenshot below.