Shopify Zip Code Pricing: Lower Prices by ZIP
Give shoppers in chosen zip codes, cities or states a lower price - set by the zip code they enter, and applied at checkout by the delivery zip code. Lokally can only lower prices, never raise them.
What Is Zip Code Pricing?
Zip code pricing means charging shoppers in different zip codes different prices for the same product - for example $50 in most of the country and $45 in areas where shipping is cheaper or competition is tougher.
Shopify doesn't do this natively. Shopify Markets prices by country, so every shopper in the US sees the same price. Lokally adds zip-level pricing using Shopify Functions, which run inside Shopify's checkout.
How Lokally solves this
Prices Follow the Delivery Zip Code
On the storefront, shoppers enter their zip code once and see their region's prices. At checkout, Lokally uses the zip code of the delivery address, so the price matches where the order is going.
Lokally doesn't guess location from the shopper's IP address, which is often wrong on mobile networks and VPNs.
Wildcards for Long Lists
Add zip codes as wildcards - for example 100* for every zip code starting with 100 - and paste long lists at once. Wildcards match both 5-digit zips and 9-digit ZIP+4 delivery addresses at checkout.
Group them into regions such as Metro, Suburban and Rural, and give each region its own lower price.
One Region, Many Rules
The same zip code regions can also hide or rename payment methods at checkout and show region-specific banners and announcement bars on your storefront.
How to set it up
- Step 1
Install Lokally
Install Lokally from the Shopify App Store and choose a plan. New subscriptions start with a 7-day free trial, billed through Shopify.
- Step 2
Group zip codes into regions
Go to Regions and create a region for each price tier, such as Rural or Outside metro areas. Paste zip code prefixes as wildcards, such as 100*, so ZIP+4 delivery addresses match too.
- Step 3
Add a pricing rule
Go to Pricing rules, then Create pricing rule, and choose the region.
- Step 4
Choose what it applies to
All products, or specific products and collections.
- Step 5
Set the price
A percentage off, an amount off, or a fixed regional price below your normal price - for example $45 instead of $50.
- Step 6
Save and publish
Shoppers who enter a zip code in that region see the regional price. At checkout, the price follows their delivery zip code.
Frequently asked questions
Can Shopify set different prices by zip code on its own?
No. Shopify Markets sets prices per country. Within one country every shopper sees the same price, so pricing by zip code, city or state needs an app.
Can Lokally raise prices in some zip codes?
No - Lokally can only lower prices. You set your normal price in Shopify, and Lokally gives chosen zip codes a percentage off, an amount off, or a fixed price below normal. If you need higher prices in some areas, set your normal price at the higher level and lower it everywhere else.
How do I add many zip codes at once?
Use wildcards: 100* covers every zip code that starts with 100, so a city or state usually takes a few lines. Wildcards also match 9-digit ZIP+4 delivery addresses (like 10001-1234) at checkout; exact 5-digit codes and ranges only match 5-digit delivery zips, so prefer wildcards for US zip codes. There is no file import; paste prefixes one per line or comma-separated.
How does Lokally know the shopper's zip code?
Shoppers type their zip code into Lokally's popup or widget, or use their device location, and see that region's prices. At checkout, the price follows the zip code of the delivery address.
Do I need to change any settings for US zip codes?
Lokally's storefront popup accepts any code length by default. To only accept 5-digit zip codes, set Accepted Pincode Lengths to 5 in the popup designer. You can also change the popup's title, placeholder and messages to say zip code.
Does it work on any Shopify plan?
Yes. Lokally uses Shopify Functions from the App Store, which work on every Shopify plan. The storefront popup and blocks need an Online Store 2.0 theme.
Start Setting Up Zip Code Pricing
7-day free trial. Billed through Shopify, cancel anytime.