All Collections
Local Delivery
Conditional activation for delivery
Conditional activation for delivery

Enable or disable delivery depending on specific conditions

Marija avatar
Written by Marija
Updated over a week ago

Our conditional activation feature allows you to enable or disable delivery depending on:

  • The order value or weight

  • The product type, collection, vendor, or tags

By default, we show the error message when the method isn't available, but you can also hide the delivery method entirely.

For general instructions, take a look at our Conditional activation article.


Order value or weight

You can enable or disable delivery depending on the order value, or order weight.

For example, if you want to disable delivery for order values less than £100, you would set it up as below:

Customers that have less than £100 in the cart will not be able to check out with delivery.

You can edit the wording of this message in Zapiet - Pickup + Delivery > Settings > Text and design > Delivery widget.


Product type

You can enable or disable delivery based on the product type. You can read more about product types in the Shopify Product type article.

  1. In Zapiet - Pickup + Delivery > Settings > Local delivery, under Conditional activation, select Product type from the dropdown menu in the first field.

  2. In the second field, add the name of the product type, e.g. Truffles.
    Values added here are case-sensitive, so make sure the value matches your product type exactly.

  3. In the last field, you can select to disable or enable delivery for this product type.
    Select Disable to make delivery unavailable if one product with that product type is in the cart.
    Select Enable to make delivery only available if all products in the cart have that product type.

  4. Click Save.

For example, I want to disable delivery for product type Truffles.

When you add the correct values, the text below should read: If the customer's basket contains a product with the type “Truffles” disable deliveries.

These changes will now reflect in the widget, and delivery will be disabled if a product with this product type is in the cart. Your customers will see an error message saying: Sorry, delivery is not available for your selected items.

The wording of this error message can be edited in Zapiet - Pickup + Delivery > Settings > Text and design.

By default, we show the error message when the method isn't available, but you can also hide the delivery method entirely.


Collection

Requirements

  • You need to use our widget in the regular cart (this option will not work reliably in the drawer cart)

  • You can only use manually created collections (not automatic ones)

  • You cannot use special characters like “&” in the name of the collection as they are not supported

You can enable or disable delivery based on the manually created collection. You can read more about collections in the Shopify Collections article.

  1. Within Zapiet - Pickup + Delivery > Settings > Local delivery, under Conditional activation, select Collection from the dropdown menu in the first field.

  2. In the second field, add the name of the manual collection, e.g. Truffles.
    Values added here are case-sensitive, so make sure the value matches your collection exactly.

  3. In the last field, you can select to disable or enable delivery for this collection.
    Select Disable to make delivery unavailable if one product from that collection is in the cart.
    Select Enable to make delivery only available if all products in the cart are from that collection.

  4. Click Save.


For example, I want to disable delivery for a manual collection Truffles.


When you add the correct values, the text below should read: If a customer's basket contains a product from the “Truffles” collection disable deliveries.

These changes will now reflect in the widget, and delivery will be disabled if a product from this collection is in the cart. Your customers will see an error message saying: Sorry, delivery is not available for your selected items.

The wording of this error message can be edited in Zapiet - Pickup + Delivery > Settings > Text and design.

By default, we show the error message when the method isn't available, but you can also hide the delivery method entirely.


Vendor

You can enable or disable delivery based on the vendor. You can read more about vendors in the Shopify Product details article.

  1. Within Zapiet - Pickup + Delivery > Settings > Local delivery, under Conditional activation, select Vendor from the dropdown menu in the first field.

  2. In the second field, add the name of the vendor, e.g. Warehouse.
    Values added here are case-sensitive, so make sure the value matches your collection exactly.

  3. In the last field, you can select to disable or enable delivery for this vendor.
    Select Disable to make delivery unavailable if one product from that vendor is in the cart.
    Select Enable to make delivery only available if all products in the cart are from that vendor.

  4. Click Save.

For example, I want to disable delivery for products from a vendor Warehouse.


When you add the correct values, the text below should read: If customers basket contains a product with the vendor “Warehouse” disable deliveries.

These changes will now reflect in the widget, and delivery will be disabled if a product from this vendor is in the cart. Your customers will see an error message saying: Sorry, delivery is not available for your selected items.

The wording of this error message can be edited in Zapiet - Pickup + Delivery > Settings > Text and design.

By default, we show the error message when the method isn't available, but you can also hide the delivery method entirely.


Tags

Requirements

  • You need to use a regular cart (this option will not work reliably in the drawer cart)

You can enable or disable delivery based on the tag. You can read more about tags and how to add them to your products in the Shopify Add tags article.

  1. Within Zapiet - Pickup + Delivery > Settings > Local delivery, under Conditional activation, select Tags from the dropdown menu in the first field.

  2. In the second field, add the tag, e.g. Flowers.
    Values added here are case-sensitive, so make sure the value matches the tag exactly.

  3. In the last field, you can select to disable or enable delivery for this collection.
    Select Disable to make delivery unavailable if one product with this tag is in the cart.
    Select Enable to make delivery only available if all products in the cart have this tag.

  4. Click Save.

You need to use a regular cart—this option will not work reliably in the drawer cart.

For example, I want to disable delivery for products tagged with Flowers.

When you add the correct values, the text below should read: If customers basket contains a product with the tag of “Flowers” disable pickups.

These changes will now reflect in the widget, and delivery will be disabled if a product with this tag is in the cart. Your customers will see an error message saying: Sorry, delivery is not available for your selected items.

The wording of this error message can be edited in Zapiet - Pickup + Delivery > Settings > Text and design.

By default, we show the error message when the method isn't available, but you can also hide the delivery method entirely.


Display the tags on the cart page

We do not highlight which products cause delivery to be disabled. If you would like to show which products are available for delivery depending on the product tag, please follow our guide on how to display tags on the cart page.

Screenshot+2023-06-02+at+11.42.07+AM.png (2560×608)

Hide the delivery method based on conditional activation

If you want to hide the delivery method based on conditional activation, tick Hide the Pickup button in the widget.

Requirements

With this setting enabled, the delivery method will be fully hidden at the cart page for the selected products.

Did this answer your question?