Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{% if customer.tags contains 'Wholesale' and cart.total_price < 20000 %}
<p> Your wholesale total must be $200 or more.</p>
{% else %}
<input type="submit" name="update" class="btn--secondary update-cart" value="{{ 'cart.general.update' | t }}">
<input type="submit" name="checkout" class="btn checkout" value="{{ 'cart.general.checkout' | t }}">
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.