Skip to article
Selldone.
Menu
Create Your E-commerce Store
Selldone Business OS Mag — The Selldone Blog

Sell Only Where You Deliver: Location Rules for Every Product

List of content

Not every product can travel everywhere your store sells. Fresh food may only reach a few postal codes, bulky furniture may skip the islands, and some items simply can’t go to certain regions. Selldone products now have their own location rules: sell a product only in the places you choose, block the places you can’t serve, and read in plain words what each rule does before you add it.

Illustration of product location rules: green Sell here areas, red Don't sell here areas, the Sales locations panel and a storefront location box.
Sell only where you deliver, with location rules for each product. Screens show sample rules.

Your store locations first, product rules when you need them

Every product starts with your store locations, the places your whole store sells to. To give one product its own area, open the product, choose Edit, then Sales locations. The Where customers can buy panel shows which source is in use:

  • Store locations while the product has no rules. A short sentence confirms that it sells wherever your store sells.
  • This product’s rules as soon as you add a rule. The sentence below the panel then explains what your rules allow, with the countries involved.

Rules are grouped by what they do, Sell only in and Don’t sell in, so you can read a product’s setup at a glance and edit or remove any rule in place.

Sales locations tab with Where customers can buy set to This product's rules, two Sell only in rules and two Don't sell in rules.
The Sales locations tab shows which source decides where the product sells and groups rules by what they do.

Two kinds of rules and one simple priority

Every rule either opens a place or closes it:

  • Sell here: buyers in this place can buy. Once a product has at least one Sell here rule, places that match none of them can’t buy it.
  • Don’t sell here: buyers in this place can’t buy, even when a Sell here rule also matches them.

That leaves three possible setups. With no rules, the product follows your store locations. With only Don’t sell here rules, it sells wherever your store sells except the places you blocked. With any Sell here rule, it sells only in the places you list, and a Don’t sell here rule still wins inside them.

Three panels comparing no rules, only Don't sell here rules, and Sell here rules, using green, red and gray area tiles.
Three ways a product can sell: your store locations, store locations minus blocked places, or only the places you list.

Five ways to describe a place

Choose a country, then the area the rule covers:

  • Whole country matches every buyer in that country.
  • State or province matches buyers whose address is in one state or province. It’s available for countries that have a state list in Selldone, such as the United States, Canada and Australia.
  • Postal code matches one exact code.
  • Range matches every code between two numeric codes, including both ends. Use the same number of digits for both codes and keep leading zeros, for example 08001–08099.
  • Starts with matches every code that begins with the characters you enter, for example 08.

In the United States, rules use five-digit ZIP codes, and a buyer’s ZIP+4 code is matched by its first five digits. A product can have up to 500 rules.

Add a rule in two steps, with a live preview

  1. On the Sales locations tab, select Add rule.
  2. Under What should this rule do?, choose Sell here or Don’t sell here.
  3. Under Where does it apply?, choose the country and the area, then enter the state, postal code, range or starting characters.
  4. Read What this rule does. The preview describes the rule in one sentence and explains how it combines with your other rules, for example that your first Sell here rule limits the product to the places you list.
  5. Select Add rule, then Save. Buyers see the change only after you save.
Add rule dialog with Don't sell here selected, Germany as the country, postal code 78266, and a preview saying buyers in that postal code can't buy.
Two steps and a plain-language preview: you see what a rule does before you add it.

Here is a typical setup for a store that delivers across Germany and within Vienna: Sell here for Germany as a whole country, Sell here for Austria with the range 1010–1239, and Don’t sell here for the German postal codes 27498 (Heligoland) and 78266 (Büsingen am Hochrhein), two places that lie outside the EU customs territory.

Many exact codes at once: postal code lists

When a delivery area is a long list of exact codes, use a postal code list instead of adding one rule per code. Select Add postal code list, add a country, then type each code and press Enter. Every listed code works like a Sell here rule for that code, and each country shows how many codes it holds. Postal code restrictions you set up before this update keep working and appear in this section.

Postal code lists section with six postal codes for Germany and three postal codes for Austria.
Postal code lists hold many exact codes per country. Each listed code works like a Sell here rule.

Reuse a setup, or go back to your store locations

The ⋮ menu at the top of the tab keeps the setup tools together:

  • Save profile stores the product’s location rules and postal codes under a name.
  • Load profile copies a saved profile into another product, so one delivery area can be reused across your catalog.
  • Use store locations removes every rule and postal code list after you confirm. Once you save, the product sells wherever your store sells again.
Sales locations menu with Load profile, Save profile and Use store locations.
Save a setup as a profile, load it on another product, or go back to your store locations.

What shoppers see

When a product has location rules, its page asks Where are you buying from? Shoppers choose their country and add a state or a ZIP or postal code only when your rules need one, then select Use this location. If the product isn’t available there, they’re told that the item is unavailable in their selected location.

Selldone checks the rules against the buyer’s delivery location when an item is added to the cart and again before payment, so a rule you change also applies to carts that are already open.

Storefront box asking Where are you buying from? with Austria selected and postal code 1100 entered.
On the product page, shoppers tell you where they're buying from.

Let your AI agent set it up

If you manage your store with an AI agent such as ChatGPT or Claude through Selldone MCP, the agent can read a product’s current location rules and postal codes and, after you confirm, replace them with new ones. It can also save and list location profiles, so you can describe a delivery area once in plain language and reuse it across products.

How Selldone decides who can buy

For each product, Selldone compares the buyer’s country, state and postal code with the product’s rules in this order:

How Selldone checks a product's location rules

Selldone runs this check when an item is added to the cart and again before payment. It uses the buyer's country, plus the state or postal code when one of the product's rules needs it. The diagram explains the decision; it doesn't change any setting.

How Selldone checks a product's location rulesBuyer's location The buyer's country, plus the state or postal code when one of the product's rules needs it.1Buyer's locationAt the cart and before paymentDoes the product have rules or postal code lists? A product without rules or postal code lists follows your store locations.2Does the product have rules orpostal code lists?Follow your store locations The product sells wherever your store sells.3Follow your store locationsStore decidesDoes a “Don’t sell here” rule match? Blocked places always win, even when a Sell here rule also matches the buyer.4Does a “Don’t sell here” rulematch?Unavailable in this location The shopper is told that the item is unavailable in their selected location.5Unavailable in this locationCan’t buyAny “Sell here” rule or listed postal code? With only Don't sell here rules, every other place your store sells to stays open.6Any “Sell here” rule or listedpostal code?Sell wherever the store sells Everywhere your store sells, except the places you blocked.7Sell wherever the store sellsExcept blocked placesCan buyDoes the buyer match one of them? At least one Sell here rule or listed postal code must match the buyer's location.8Does the buyer match one ofthem?Available to buy The buyer can add the product to the cart and pay for it.9Available to buyCan buyNoYesYesNoNoYesYesNoHow Selldone checks a product's location rulesBuyer's location The buyer's country, plus the state or postal code when one of the product's rules needs it.1Buyer's locationAt the cart and before paymentDoes the product have rules or postal code lists? A product without rules or postal code lists follows your store locations.2Does the product have rules orpostal code lists?Follow your store locations The product sells wherever your store sells.3Follow your store locationsStore decidesDoes a “Don’t sell here” rule match? Blocked places always win, even when a Sell here rule also matches the buyer.4Does a “Don’t sell here” rulematch?Unavailable in this location The shopper is told that the item is unavailable in their selected location.5Unavailable in this locationCan’t buyAny “Sell here” rule or listed postal code? With only Don't sell here rules, every other place your store sells to stays open.6Any “Sell here” rule or listedpostal code?Sell wherever the store sells Everywhere your store sells, except the places you blocked.7Sell wherever the store sellsExcept blocked placesCan buyDoes the buyer match one of them? At least one Sell here rule or listed postal code must match the buyer's location.8Does the buyer match one ofthem?Available to buy The buyer can add the product to the cart and pay for it.9Available to buyCan buyNoYesYesNoNoYesYesNo
Text version
  1. Buyer's locationAt the cart and before payment

    The buyer's country, plus the state or postal code when one of the product's rules needs it.

  2. Does the product have rules or postal code lists?

    A product without rules or postal code lists follows your store locations.

  3. Follow your store locations

    The product sells wherever your store sells.

    Store decides
  4. Does a “Don’t sell here” rule match?

    Blocked places always win, even when a Sell here rule also matches the buyer.

  5. Unavailable in this location

    The shopper is told that the item is unavailable in their selected location.

    Can’t buy
  6. Any “Sell here” rule or listed postal code?

    With only Don't sell here rules, every other place your store sells to stays open.

  7. Sell wherever the store sellsExcept blocked places

    Everywhere your store sells, except the places you blocked.

    Can buy
  8. Does the buyer match one of them?

    At least one Sell here rule or listed postal code must match the buyer's location.

  9. Available to buy

    The buyer can add the product to the cart and pay for it.

    Can buy
  • Buyer's location Does the product have rules or postal code lists?
  • Does the product have rules or postal code lists? Follow your store locations: No
  • Does the product have rules or postal code lists? Does a “Don’t sell here” rule match?: Yes
  • Does a “Don’t sell here” rule match? Unavailable in this location: Yes
  • Does a “Don’t sell here” rule match? Any “Sell here” rule or listed postal code?: No
  • Any “Sell here” rule or listed postal code? Sell wherever the store sells: No
  • Any “Sell here” rule or listed postal code? Does the buyer match one of them?: Yes
  • Does the buyer match one of them? Available to buy: Yes
  • Does the buyer match one of them? Unavailable in this location: No

FAQ

What happens if a product has no location rules?

It follows your store locations and sells wherever your store sells. The Sales locations tab shows Store locations as the source in use.

Which rule wins when a Sell here rule and a Don’t sell here rule both match?

The Don’t sell here rule. Blocked places always win, so you can open a whole country and still exclude a few postal codes inside it.

Can I use a postal code range for codes that contain letters?

No. A range needs two numeric codes with the same number of digits. For codes with letters, such as UK or Canadian postcodes, use an exact Postal code rule or a Starts with rule.

Do my existing postal code restrictions still work?

Yes. Exact postal codes you added before this update keep working. They appear under Postal code lists, and each listed code works like a Sell here rule.

How many location rules can one product have?

Up to 500 location rules per product.

Can I apply the same rules to many products?

Yes. Set up one product, open the ⋮ menu and choose Save profile. Then open another product, choose Load profile from the same menu and save the product.

Add Comment

Share your thoughts with us

Author Pajuhaan
Published at Modified at

Make Your Business Online By The Best No—Code & No—Plugin Solution In The Market.

30 Day Money-Back Guarantee

Create Your E-commerce Store

Start now — it's free

Say goodbye to your low online sales rate!