The Magento 2 store owners may want to limit their customer base on the basis of location and the reasons can be any from legal issues to maximizing the profits or serving products for localities only.
However, the default Magento 2 falls short when it comes to restricting the orders based on the zip codes. Hence, Meetanshi has developed the Magento 2 Restrict Zip Codes extension.
The module allows the admin to validate an order based on the zip codes before making a transaction. The users who enter the allowed zip codes mentioned in the CSV file can place the order. Else, the order is restricted with an order unavailability custom message.
Benefits of Magento 2 Restrict Zip Codes:
- Restrict orders based on the zip codes
- Show estimated delivery time with the delivery availability message
- Configure custom message to ask for checking the zip code for availability
- Configure custom message for the order availability or unavailability messages
- Delete existing zip codes when uploading a new zip codes CSV
- Export CSV of already added zip codes from the admin panel
- The admin can add the allowed zip codes for orders with the estimated delivery time in the CSV file.
- Refer the downloaded sample CSV from the backend
- Include the estimated delivery time in CSV file
- Let the users check the order availability for their location by entering the zip code
- On click of the "Check" button, the availability or unavailability message is shown on the frontend
- The estimated delivery time is shown if enabled and added in the CSV file for order availability.
- The custom delivery unavailability message is shown for order unavailability
- The checkout page shows the order unavailability message to restrict the order