Question:
[How can I control the shipping zip codes for delivery orders?]
Product:
[ Wix Editor]
What are you trying to achieve:
[I am not allowing orders outside of certain zip codes, however, test orders are allowing any zip code to be ordered.]
What have you already tried:
[I have created the local delivery sections with the specific zip codes.]
Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]
This link should help you
Hii @Benittia_Reed , Controlling delivery ZIP codes on the frontend before the order is placed (like on the cart or product page), Wix Velo gives you the ability to set up a ZIP input, connect it to a CMS list, and show a message if the ZIP is supported or not.
For example, like the below code -
import wixData from 'wix-data';
$w.onReady(function () {
$w('#checkZipBtn').onClick(() => {
const zip = $w('#zipInput').value.trim();
if (!zip) {
$w('#zipResult').text = 'Please enter a ZIP code.';
$w('#zipResult').show();
return;
}
wixData.query('ZipCodeDirectory')
.eq('zipCode', zip)
.find()
.then((results) => {
if (results.items.length > 0) {
const region = results.items[0].regionName || 'this area';
$w('#zipResult').text = `Yes! We deliver to ${region}.`;
} else {
$w('#zipResult').text = ` Sorry, we don’t deliver to this ZIP code yet.`;
}
$w('#zipResult').show();
})
.catch((err) => {
console.error('ZIP Lookup Error:', err);
$w('#zipResult').text = 'Something went wrong. Please try again.';
$w('#zipResult').show();
});
});
});
To make this even easier, without custom coding, you can also use the Zip Code Checker & Validator app from the Wix App Market — it allows users to enter their ZIP codes and instantly see if delivery is available. It works on Product, Booking, Service, and Custom Pages, as well as providing Unlimited Zip Code Workspaces access.
Let me know if you’d like help setting up this or deploying it on your site.
Best Regards,
Website Speedy
A local delivery area set by ZIP code only decides when the local delivery option is offered. It does not stop checkout for other ZIP codes if another shipping option still covers that address. So if a test order with an outside ZIP code still goes through, check Settings → Shipping, delivery & fulfillment and open that region: a “Shipping” rate or another local delivery area covering the same region is usually what lets it through. If local delivery is the only option for the region, an address outside your ZIP codes gets no delivery option at checkout. Keep store pickup on if you want those customers to be able to collect. If you need a hard block with your own message (for example “we only deliver to 10001–10005”), that needs a checkout validation step: a Velo backend validation or an app that adds one.
Adding to my answer above. Disclosure: I make ReachZone, a delivery-zone app in the Wix App Market, so weigh this. It adds that checkout step without code: you save your ZIP codes as a zone, switch on “Do not let shoppers check out with an address outside every zone” and write your message. ZIP code zones are on the free plan. Setup guide: Wix delivery by ZIP code: ReachZone docs