if function for items that are taxable

Kazi61
New Member
2 0 0

Hi there,

 

I am looking to add a line of text next to the price for all my items that are taxable (only 5-10% of my total items) I thought something like this could work but it doesn't. Any ideas?

 

{% if variant.taxable == true %}
<span class="money">custom text</span>
{% endif %}

Note: almost all of my items do not have variants.

0 Likes