Add “has discount code” field to Omnisend abandoned cart payload
A
Adam Kappa
We’re building an Omnisend abandoned cart flow and need to split emails based on whether any cart item has an active discount code.
Our abandoned cart email already converts well - adding relevant discount codes (only when they apply) should improve it further.
On the front end, the discount banner seems to be driven by product-level classes/flags (e.g. product-has-coupons vs product-has-no-coupons). Can this same flag (and the actual code) be passed into Omnisend as part of the abandoned cart event/cart items so we can:
If any item has a code - display the code in the email
If no items have a code - show the standard no-code version