FROM CACHE - en_header

Get variant ID in abandoned cart email

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? 

Replies 0 (0)