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

  1. In the app, go to Delivery Function and click Create Delivery Function.

    The Delivery Function page of the app, with Delivery Function highlighted in the menu and the Create Delivery Function button at the top right.

  2. Under Shopify Script Method, select Sort.

  3. In Delivery Function title, enter a name that helps you find the function later, for example Sort Delivery Method. Customers don't see it.

    Shopify Script Method set to Sort, and the Delivery Function title field with the note Not displayed to customers.

Set the order

  1. Under Sorting delivery methods, next to Sorting order, choose A to Z or Z to A.

    Sorting delivery methods with the Sorting order options A to Z and Z to A.

Set when the order applies

The new order applies only when the conditions you set here are met.

  1. Under Delivery Rules, choose all conditions or any condition.

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

  3. Click Save.

    Delivery Rules with the all conditions and any condition options, the rule fields, the Add Conditions button and the Save button.

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

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us