Signup

Enable in-store pickup using customer tag

You can easily enable pickups based upon a customers tag by using the code shown below. 

{% assign disable_pickups = true %}
{% if customer %}
  {% if customer.tags contains "Pickup Allowed" %}
      {% assign disable_pickups = false %}
  {% endfor %}
{% endif %}

In this example in-store pickup would be disabled by default and not appear as an option on your shopping cart page. In-store pickup would only be visible if your customer was logged in and had the tag "Pickup Allowed".

A
Andrew is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.