Get variant ID in abandoned cart email

de_Werkende_Web
Shopify Expert
1 0 0

I would like to have the variant ID in the abandoned cart email, but I cannot see it. I am using the following code.

{% for line in line_items %}
  <p>{{ line.variant_id }}</p>
{% endfor %}

What am I doing wrong and how can I make the variant ID visible in the abandoned cart email? 

0 Likes