Untitled

 avatar
unknown
plain_text
3 years ago
357 B
5
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...