{% if customer.tags contains "wholesale" and product.tags contains “wholesale” %}
{% assign discount_wholesale = 1 | minus: pre_discount_wholesale %}
{% assign wholesale_price = product.price | times: discount_wholesale | money %}
{% assign compare_wholesale_price = product.compare_at_price | times: discount_wholesale | money %}
{% assign is_wholesale = true %}
{% endif %}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter