Looking for help with custom API

  • 11 May 2023
  • 1 reply
  • 32 views

Userlevel 1
Badge +3

We currently have three Klaviyo flows set up in our system, Browse Abandon, Cart Abandon, and Checkout Abandon. All three flows are using the built-in integration between Shopify and Klaviyo. The Checkout Abandon works fine because it shows all the products that were in the cart at the time of checkout. However, our Browse and Cart Abandonment flows are limited to showing only one event (one product) per email.  This means if a customer leaves five products in their shopping cart, our current Cart Abandon flow will send an email, but it will only show one of the products that were in the customer's cart; instead of all five. Similarly, if a customer is browsing our website and browses six different products, our current Browse Abandon flow will send an email, but it will only show one of the products that were browsed; instead of all six.

We contacted Klaviyo support and they said it is possible to show multiple items in both the Cart Abandon and Browse Abandon flows, but it will require some custom code in Shopify and/or Klaviyo.

Has anyone done this successfully or know what needs to be edited in order to show more than one product in these two flows?

Thank you,

Mark

 


1 reply

Userlevel 7
Badge +60

Hello @motionrc,

Welcome to the Klaviyo Community and great question!

To display more items in your browse abandonment cart, you can use our catalog lookup function. If you haven’t already, I would suggest taking a look into our How to display recently viewed items in an email Help Center article for more details on how to set this up. 

When it comes to including more products in a cart abandonment flow email - triggered by the add to cart event, it would be a little trickier. In an oversimplification, the default add to cart event works by using an event listener for when the add to cart button is clicked on to record the event. Because of this, it would trigger for each individual item clicked. 

In order to include more items in your flow email to be referenced, you’ll want to set up a custom event that records all the items and product details that were added to the cart. 

If you have a developer available, I would suggest working alongside them to formulate a method that works for your store/brand. If you need an introduction to a developer, we have a number of developers you can reach out to through our Klaviyo Partner Directory.

I hope this helps!

David

Reply