Local Rules (Internal Shipping)
Local Rules is the built-in shipping engine in eshopOS.
Use Local Rules when:
- You want flat/manual rates per zone
- You are not ready to use carrier APIs
- You need a fallback when provider quotes are unavailable
How It Works
- Create shipping zones.
- Add locations to each zone (country/city/region/continent).
- Add rates for each zone.
- Checkout resolves the best matching zone and returns your configured rates.
Match Behavior
The engine prioritizes specific matches first, then broader matches.
Typical order:
- OSM ID
- Postal code
- City
- Region
- Country
- Continent
Local Rules with Shippo
- Shippo can be your primary checkout provider.
- Local Rules can remain configured as fallback logic.
- If Shippo cannot quote a lane, you can route to Local Rules depending on your policy.