Hide a delivery method
To hide a delivery method at checkout, create a delivery function of the hide type. You choose the delivery methods to hide and the conditions under which they're hidden.
Create the function
-
In the app, go to Delivery Function and click Create Delivery Function.

-
Under Shopify Script Method, select Hide.
-
In Delivery Function title, enter a name that helps you find the function later, for example
Hide XYZ Delivery Method. Customers don't see it.
Choose the delivery methods to hide
-
Under Hidden delivery methods, choose a match type: Contains or Is.
-
In Select Delivery Method, enter the name of the delivery method to hide.
-
To hide more delivery methods, click Add Delivery Method and repeat.

The match types work like this:
- Contains: the delivery method is hidden if any word you enter matches its name.
- Is: you enter the exact name of the delivery method.
Set when they're hidden
The delivery methods are hidden only when the conditions you set here are met.
-
Under Delivery Rules, next to Hide when matching, choose all conditions or any condition.
-
Choose a rule type in Select Rule type and a condition in Select Rule Condition, then enter the value. Click Add Conditions to add more.
-
Click Save.

- all conditions: the delivery method is hidden only if every condition is met.
- any condition: the delivery method is hidden if any one of the conditions is met.
Check that it works: go to your checkout with a cart that meets your conditions. The delivery method you hid isn't offered.
If it doesn't work
- The name doesn't match. With Is, the name must be the exact name of the delivery method. With Contains, check that the word you entered is part of its name.
- The conditions aren't met. With all conditions, the cart has to meet every condition, not just one.
To change the name or the order of delivery methods instead, see Rename a delivery method and Reorder delivery methods.
Need a hand? Email support@scriptengine.net and our team will help you set it up.



