Skip to main content

Hi everyone, where do I find the docs for injectable abandoned cart data like;

product image, product name, quantity, etc?

 

I found this, but it doesn’t give the abandoned cart tags.

https://www.klaviyo.com/docs/email-tags

 

I’m developing custom custom cart abandonment templates. Can’t complete the task without the tags.

Hi @awalters

Thanks for being a part of the Klaviyo Community. This is a great question! Have you had the chance to take a look at this article on event variables yet? I pasted it below too for easier access, but the article goes into more depth. This should be able to help you identify the appropriate tags for product image, product name and quantity under each platform. 

Thanks, 
-Cassy

 

BigCommerce
Product Name/Title {{ event.extra.line_items.0.product.name }}
Product URL {{ event.extra.items.0.product.url }}
Image {{ event.extra.items.0.product.images.0.src }}
Price for Product  {{ event.extra.line_items.0.product.price }
Quantity {{ event.extra.line_items.0.quantity }}
Total {{ event.extra.total_inc_tax }}
 

Magento 1

Magento 2

Product Name/Title

{{ event.extra.line_items.0.product.name }}

{{ event.extra.line_items.0.product.name }}

Product URL

{{ event.extra.line_items.0.product.key }}

{{ event.Items.0.Product.FullURL }}

Image

{{ event.extra.line_items.0.product.images.0.url }}

{{ event.extra.line_items.0.product.images.0.url }}

Price for Product 

{{ event.extra.items.0.base_original_price }}

{{ event.extra.line_items.0.product.price }}

Quantity

{{ event.extra.line_items.0.quantity }}

{{ event.extra.line_items.0.quantity }}

Total

{{ event.extra.base_grand_total }}

{{ event.extra.base_grand_total }}

Shopify
Product Name/Title {{ event.extra.line_items.0.product.title }}
Product Handle {{ event.extra.line_items.0.product.handle }}
Image {{ event.extra.line_items.0.product.images.0.src }}
Price for Product  {{ event.extra.line_items.0.line_price }}
Quantity {{ event.extra.line_items.0.quantity }}
Total {{ event.extra.customer.total_spent }}
WooCommerce*
Product Name/Title {{ event.extra.Items.0.Name }}
Product URL {{ event.extra.Items.0.URL }}
Image {{ event.extra.Items.0.Images.0.URL }}
Price for Product  {{ event.extra.Items.0.LineTotal }}
Quantity {{ event.extra.Items.0.Quantity }}
Total {{ event.extra.Items.0.TotalWithTax }}


*You can rebuild carts from an Abandoned Cart flow in WooCommerce by using the parameter ?wck_rebuild_cart={{ event.extra.CartRebuildKey }}. Cart rebuilding is also available for Shopify and Magento 1 integrations but is pre-generated in the default Abandoned Cart flows.

​​​


Thanks, @cassy.lee . The page you referenced will work nicely.

 

Thanks again.


Reply