Need help displaying variant option only in confirmation

Highlighted
New Member
1 0 0

Hi, I am looking to show the variant name only in the order confirmation. I am using the following line but not much luck. 

 

{% if line.variant.title != 'Default Title' %}
<span class="order-list__item-variant">{{ line.variant.title }}</span>
<span class="order-list__item-variant">{{ line.variant.title }}</span><span class="order-list__item-variant">{{ line.variant.title }}</span><br/>
{% endif %}

Let me know if anyone has a solution. Thanks!

0 Likes