Untitled
Anonymous
plain_text
10/05/2022 8:44 AM
476 B
18
Indexable
{% if is_sample %}
{# show sample button #}
<button class="btn btn-primary btn-buy"
data-cart-tooltip-ignore="true"
title="Add Sample">
Add Sample
</button>
{% else %}
{# show default cart button %}
<button class="btn btn-primary btn-buy"
title="Add to cart">
Add to cart
</button>
{% endif %}Editor is loading...