Hi Klaviyo Community,
I’m working on an abandon checkout flow that uses the trigger metric ‘Started Checkout’.
The site I’m working on sells both custom printed items and non-printed (standard items). I want to go ahead an pass the new product images with their custom design into Klaviyo, which we did.
Then we wanted to make sure that we can see each of the variants for the custom printed item, but I’m not able to display anything other than the first item using the following:
{{ event.extra.line_items.0.properties.1.value|default:'' }}
To top it off, I created this Jinja snippet that should check for the custom image and if it’s false to use the standard non-custom image. Else use the Custom image. The following code correctly displays a non-custom item but can not display a custom item (any thoughts?):
{% if event.extra.line_items.0.properties.1.value == false %}
{{ event.extra.line_items.0.product.variant.images.0.src|default:'' }}
{% else %}
{{ event.extra.line_items.0.properties.1.value|default:'' }}
{% endif %}
At this point any idea is worth trying.
Thanks,
Bobby

