Excluding Shipping Protection from Marketing Emails
When you setup abandon cart flows in Klaviyo, you probably don’t want shipping protection to be displayed as the feature items in your messaging. You can easily remove shipping protection with some conditional logic in the email and sms templates
The abandon cart emails will list out all the line items in the cart before the customer abandoned. You can exclude shipping protection from that list with the following block of code.
Text Content
Image Content
SMS
If you are displaying a media image in your sms, you will want to make sure it isn’t the shipping protection image. This piece of code should the dynamic image content