If a user adds productA to the cart, then chooses an in cart upsell like, for example, gift wrap. It seems like the abandon cart flow triggers off of the gift wrap item (last item added). I added an exclusion filter for the upsell product and klaviyo blocks the flow, but productA doesn’t seem to trigger the flow at all. How could I make this scenario work? This is for a shopify site.
You can fix this by adjusting your Klaviyo flow trigger logic. Instead of triggering the flow on the “Added to Cart” event for any item, use a trigger filter to include only primary products — for example, filter by Item Name
or Product Type
not equal to “Gift Wrap.” Then, in your flow filters, exclude gift wrap products but allow other cart items to trigger the flow. Alternatively, set up a custom event property in Shopify (e.g., is_upsell: true/false
) and filter Klaviyo to trigger only when is_upsell = false
.
From my testing I believe only the last item added to the cart for the user session get’s processed by Klaviyo.
I don’t believe Klaviyo processes an event for each item added to the cart in the user session, so the trigger filter only applies to the last item. If I have a trigger filter to exclude gift wrap product, that just means the workflow will not run at all for ProductA. I would like to feature ProductA in the email not gift wrap upsell.
On your suggestion for using conditional logic in the Django email template, I don’t think that’s possible since I only see a single product in the event properties not all items from the cart.
Let me know if I am wrong about any of that or have a better solution.
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.