Solved

Abandonded cart total amount shortcode

  • 10 March 2023
  • 1 reply
  • 95 views

Badge +1

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

 

icon

Best answer by Brian Turcotte 10 March 2023, 03:01

View original

1 reply

Userlevel 7
Badge +36

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

Reply