Introduce Native Shipping Zones with Region-Based Shipping Methods and Location Matching (Similar to WooCommerce)
Is your feature request related to a problem? Please describe.
Bagisto currently provides shipping method configuration and shipping origin settings, but it lacks a native Shipping Zone management system.
As a result, merchants cannot define geographical regions and assign shipping methods based on customer location without implementing custom development.
This limitation becomes a major challenge for businesses that operate in multiple cities, states, countries, or delivery regions.
For example, a merchant may want to:
Offer Local Delivery only within Delhi. Charge ₹50 for Delhi NCR. Charge ₹100 for nearby cities. Hide Local Delivery outside the service area. Offer Express Shipping only in selected states. Enable Cash on Delivery only for specific locations. Restrict delivery to selected postal codes.
Currently, Bagisto does not provide a centralized mechanism to configure these location-based shipping rules.
Instead, merchants must implement custom shipping carriers, custom validation logic, or third-party extensions, increasing development effort for functionality that is considered standard in modern eCommerce platforms.
Describe the solution you'd like
Introduce a native Shipping Zones module similar to WooCommerce.
A Shipping Zone should represent a geographical delivery region where one or more shipping methods can be assigned.
The module should allow administrators to create unlimited shipping zones and define matching rules based on multiple location levels.
Location Matching
Each Shipping Zone should support matching by:
Country State / Province Region City ZIP / Postal Code ZIP / Postal Code ranges Wildcard postal codes Multiple postal codes Entire country Entire state Multiple states Multiple cities
For example:
Delhi Zone
Country India
State Delhi
Cities New Delhi East Delhi South Delhi
Postal Codes 110091 110092 110093 110096
Another example:
South India
Countries India
States Tamil Nadu Kerala Karnataka Telangana
Another example:
International
Countries
USA Canada Australia
This allows merchants to define service areas at different geographical levels depending on their business requirements.
Shipping Methods per Zone
Every Shipping Zone should support multiple shipping methods.
For example:
Delhi NCR
Local Delivery Flat Rate Scheduled Delivery Free Shipping
Mumbai
Express Shipping Flat Rate
Rest of India
Standard Shipping
International
DHL FedEx UPS
Only the shipping methods assigned to the customer's matching zone should be displayed during checkout.
Zone Priority
Shipping Zones should support priority ordering.
When multiple zones match a customer's address, Bagisto should select the first matching zone.
Example
East Delhi
Delhi
India
Rest of World
A customer from postal code 110091 should match East Delhi rather than the broader Delhi or India zones.
Postal Code Support
Similar to WooCommerce, postal code matching should support:
Individual postal codes
110091 110092 110096
Postal code ranges
122001...122018
Wildcard patterns
11009* 5600*
This is especially useful for local delivery businesses that serve only selected neighborhoods.
Shipping Classes Integration
Similar to WooCommerce, Shipping Classes should work together with Shipping Zones.
For example:
Shipping Class
Large Cake Small Cake Heavy Item Fragile Item
Inside a Shipping Zone, merchants should be able to configure different shipping costs based on the assigned Shipping Class.
Example:
Delhi Zone
Large Cake
₹100
Small Cake
₹50
Heavy Item
₹250
This provides much greater flexibility for calculating shipping charges.
Suggested Admin Structure Configure
└── Sales
└── Shipping
├── Shipping Origin
├── Shipping Zones
│ ├── Delhi NCR
│ ├── Mumbai
│ ├── South India
│ └── Rest of World
└── Shipping ClassesDescribe alternatives you've considered
Currently, merchants must:
Develop custom shipping packages. Override shipping carrier logic. Maintain separate delivery zone tables. Implement custom postcode validation. Configure shipping restrictions through custom code.
Although these approaches are possible, they require significant development effort and duplicate functionality already available in other mature eCommerce platforms.
A native Shipping Zone engine would provide a reusable foundation that all shipping methods and extensions could leverage.
Additional context
WooCommerce Reference
WooCommerce provides one of the most flexible Shipping Zone implementations among open-source eCommerce platforms.
Its Shipping Zone system allows merchants to:
Create unlimited Shipping Zones. Match customer locations using: Country State Region City (via supported integrations) ZIP / Postal Codes ZIP ranges Wildcard ZIP patterns Assign multiple shipping methods to each zone. Configure different shipping rates based on Shipping Classes. Automatically display only the shipping methods available for the customer's location. Prioritize zones so that more specific regions take precedence over broader ones.
This architecture makes shipping configuration simple while remaining highly scalable for businesses of all sizes.
Benefits for Bagisto
Adding native Shipping Zones would significantly strengthen Bagisto's shipping capabilities by providing:
Native location-based shipping configuration. Reduced need for custom development. Better support for hyperlocal delivery businesses. Simplified configuration for merchants. Improved compatibility with third-party shipping providers. Better support for enterprise logistics. Easier implementation of delivery restrictions. Centralized management of shipping regions. Greater extensibility for future shipping modules. Business Use Cases
This feature would benefit businesses such as:
Grocery Delivery Cake & Bakery Stores Flower Delivery Pharmacy Delivery Food Delivery Furniture Stores Electronics Retailers Multi-city Retail Chains Hyperlocal Commerce Marketplace Platforms Multi-warehouse Operations Overall Impact
A native Shipping Zone engine would establish a centralized geographic routing layer for Bagisto's shipping system. Rather than embedding location-specific conditions within individual shipping methods, merchants and developers could define reusable geographic rules once and associate any shipping method with them.
This approach improves maintainability, reduces custom development, and aligns Bagisto with the capabilities offered by mature eCommerce platforms such as WooCommerce, making it more suitable for both local and enterprise-scale commerce.
Source: bagisto/bagisto