Reorder delivery methods
To change the order of delivery methods at checkout, create a delivery function of the sort type. You choose to sort them A to Z or Z to A, and the conditions under which that order applies.
Create the function
-
In the app, go to Delivery Function and click Create Delivery Function.

-
Under Shopify Script Method, select Sort.
-
In Delivery Function title, enter a name that helps you find the function later, for example
Sort Delivery Method. Customers don't see it.
Set the order
-
Under Sorting delivery methods, next to Sorting order, choose A to Z or Z to A.

Set when the order applies
The new order applies only when the conditions you set here are met.
-
Under Delivery Rules, 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 order changes only if every condition is met.
- any condition: the order changes 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 methods show in the order you chose.
If it doesn't work
- The conditions aren't met. With all conditions, the cart has to meet every condition, not just one.
To hide or rename delivery methods instead, see Hide a delivery method and Rename a delivery method.
Need a hand? Email support@scriptengine.net and our team will help you set it up.



