Skip to content

Instantly share code, notes, and snippets.

@levinmejia
Created January 11, 2016 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save levinmejia/bc3d2fb0dec32eac34ac to your computer and use it in GitHub Desktop.
Save levinmejia/bc3d2fb0dec32eac34ac to your computer and use it in GitHub Desktop.
{% 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