Skip to main content
Solved

Abandonded cart total amount shortcode

  • March 10, 2023
  • 1 reply
  • 137 views

Forum|alt.badge.img+2

How do i add the total cart total in a klaviyo abandoned cart email through a shopify integration?

 

Best answer by Brian Turcotte

Hi @RedSolider!

 

My colleague Dov actually addresses this topic here:

 

To summarize what he said, the default code for the Add to Cart snippet (which is what facilitates the abandoned cart flow) only allows for a single item per event, so you can't combine products from different events into a single email. In order to accomplish this, you would have to customize the event like in this sample code from the Developer Portal.

 

However, a similar effect can be established by using Viewed Product tracking to send an email with a customer’s recently viewed products, as documented here:

 

If you do wish to go the custom event route and you think you might need some extra development help, you can always reach out to one of our wonderful Official Klaviyo Partners.

 

Thanks for using the Community!

- Brian

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

1 reply

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • March 10, 2023

Hi @RedSolider!

 

My colleague Dov actually addresses this topic here:

 

To summarize what he said, the default code for the Add to Cart snippet (which is what facilitates the abandoned cart flow) only allows for a single item per event, so you can't combine products from different events into a single email. In order to accomplish this, you would have to customize the event like in this sample code from the Developer Portal.

 

However, a similar effect can be established by using Viewed Product tracking to send an email with a customer’s recently viewed products, as documented here:

 

If you do wish to go the custom event route and you think you might need some extra development help, you can always reach out to one of our wonderful Official Klaviyo Partners.

 

Thanks for using the Community!

- Brian