{% liquid assign wdsLoginTag = 'wdsLogin' assign wdsNonLoginTag = 'wdsNonLogin' assign customer_tags = customer.tags | downcase assign wds_custom_customer_tag = wdsNonLoginTag | downcase if customer assign wds_custom_customer_tag = wdsLoginTag | downcase endif assign is_wds_customer = false assign customer_tags = customer.tags | downcase for wds_discount_value in shop.metafields.wds.wds_enable_groups.value assign wds_discount_value_tag = wds_discount_value.tag | downcase if customer_tags contains wds_discount_value_tag or wds_custom_customer_tag == wds_discount_value_tag assign is_wds_customer = true endif endfor -%} {% if is_wds_customer == true or customer %} {% if shop.metafields.wds.settings.value.is_enable == 1 %}
{% else %}

Please contact the store owner to enable the Wholesale section.

{% endif %} {% else %} {% endif %} {% if shop.metafields.wds.translations.value.modal_size == 2 or shop.metafields.wds.translations.value.modal_size == '2' %} {% endif %} {% if shop.metafields.wds.translations.value.modal_size == 3 or shop.metafields.wds.translations.value.modal_size == '3' %} {% endif %}