Pickup only products

Learn how to disable delivery and shipping for products that can only be picked up

If you have items that are only available for pickup then this guide will be of help to you. However, you are going have to dive into the code. Just take your time and follow the instructions word for word. 

First off you need to create a new snippet within your theme called storepickup-addons.liquid and copy and paste the following code into it:

{% for item in cart.items %}
    {% if item.product.tags contains 'Pickup Only' %}
        {% capture disable_shipping %}true{% endcapture %}
        {% capture disable_delivery %}true{% endcapture %}
    {% endif %}
{% endfor %}

That's it with regards to modifying your theme. All you have to do now is tag your pickup only products with the tag "Pickup Only". 

As long as you have done everything correctly then when you add an item to your basket with the tag of Pickup Only both shipping and delivery should be disabled. This will force your customers to pickup their order.

Ismail 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.