Why check delivery before checkout
If you only deliver to some areas, the product page is the place to say so. A shopper who learns at checkout that you don't deliver to them has already picked a product and typed their address, and leaves annoyed. Where many orders are paid cash on delivery, as in India, an order to an area your courier can't serve, or can't collect cash in, often comes back as an RTO (return to origin), and you usually pay shipping both ways.
A delivery check also answers the questions shoppers ask before buying: how long delivery takes, whether they can pay on delivery, and how long they have to return or exchange.
What Shopify does and doesn't do
Shopify decides where you deliver at checkout. Shipping zones are made of countries and regions, such as states or provinces, and a shopper can only check out to an address in one of your zones, but a shipping zone can't be a list of postal codes. Local delivery is the exception: you can limit it to a list of postal codes, and only shoppers with one of them see local delivery at checkout.
Either way, shoppers find out at checkout, not on the product page, and Shopify has nothing that shows a delivery time, cash on delivery availability or a return window per postal code.
Your options
| Option | What it does | The catch |
|---|---|---|
| Shipping zones and local delivery | Decide which addresses can check out, by country and region, or by postal code for local delivery | Shoppers find out at checkout, with no delivery time or cash on delivery details |
| Theme code | A custom form on the product page that checks a postal code against a list | Needs a developer, the list lives in your theme, and a theme update can remove it |
| An app such as Zipcode Checker | Adds a zipcode check to product and cart pages, with delivery details per zipcode and optional purchase restrictions | Needs an app; Zipcode Checker is free |
How to add a zipcode check with Zipcode Checker
- Install Zipcode Checker and open Zipcodes. Click Add one manually to add a zipcode with its Delivery time, Return & exchange time and Cash on delivery, or use Import from CSV. Download Sample File shows the columns: zipcode, delivery days, COD (yes or no), and return & exchange days. Days can be one number or a range such as 2-3.
- In the Setup Guide on Home, click Enable widget. The theme editor opens with the widget on your product page: drag it where you want it, then click Save.
- On Rules, under Widget messaging, turn on what shoppers should see after a check: Show estimated delivery time, Show Cash on Delivery availability and Show return & exchange window. They're off until you turn them on.
- Under Purchase restrictions, turn on Disable Add to cart until a serviceable zipcode is entered or Disable checkout until a serviceable zipcode is entered if shoppers shouldn't order without a check. Enable the widget on your cart page adds the widget to your cart page too, and under Product targeting you can show it only on products with specific tags.
- On Widget, change the heading, the input, the button and the result messages, such as "Great news! We deliver to your area.", and their colors, with a live preview.
Shoppers then type their zipcode on the product page and see right away whether you deliver there, with the details you turned on. A successful check is remembered in their browser, so they don't need to check again on every page.
Good to know before you start
- Each zipcode is matched exactly. Ranges and prefixes aren't supported, so list every zipcode you deliver to, which a CSV makes quick. Upper and lower case don't matter, but spaces and hyphens do: SW1A 1AA and SW1A1AA are different zipcodes, so add both if shoppers might type either.
- Keep leading zeros. Spreadsheet apps can turn 01234 into 1234, so format the zipcode column as text before you import it.
- The restrictions work in the shopper's browser. They disable the standard Add to cart, Buy it now and checkout buttons most themes use, but not buttons a theme builds in its own way, express payment buttons on the cart page such as Shop Pay or PayPal, or links that go straight to checkout. Your shipping zones still decide where checkout can ship to.
- Restrictions only work on pages with the widget. If you restrict checkout, add the widget to your cart page too.
- It doesn't calculate shipping rates or change payment methods. Shipping costs still come from your shipping settings, and the widget tells shoppers whether cash on delivery is available without hiding it at checkout.
- It needs an Online Store 2.0 theme. The widget is a theme app block, so your theme code isn't changed, and vintage themes don't support it.
Tips for a delivery check that sells
- Place the widget near Add to cart, where shoppers decide.
- Give delivery times you can keep. A range such as 3-5 days sets a fair expectation, and a missed estimate costs more trust than a cautious one.
- Offer cash on delivery only where your courier collects cash.
- Disable a zipcode instead of deleting it to pause delivery there. It keeps its delivery details, shoppers see it as not serviceable, and you can enable it again later.
- Check the widget after changing themes. Only your published theme counts, so add the widget to a new theme, and to every product template your products use.
