All Collections
Zapiet - Pickup + Delivery
Developers
Enable shipping using customer tag
Enable shipping using customer tag
Sam Forde avatar
Written by Sam Forde
Updated this week

This code snippet is only available on the v7.1.2. of our app, not on the newest Online store 2.0 version.
Which version of the widget am I using?

You can enable shipping based on a customer tag.

  1. Place this code in the storepickup-addons.liquid file in your theme.
    If you want to use a different tag, change "Shipping Allowed" to the tag you prefer.

    {% assign disable_shipping = true %}
    {% if customer %}
      {% if customer.tags contains "Shipping Allowed" %}
          {% assign disable_shipping = false %}
      {% endif %}
    {% endif %}

This way, shipping would be disabled and not appear as an option on your shopping cart page. Shipping would only be visible if your customer was logged in and had the tag “Shipping Allowed”.

Did this answer your question?