- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
magento 2 restrict pin code for shipping
Hi hope all are doing well in this pandemic
I am running a Client site and they want to restrict pin code for shipping in red zone
I have an excel sheet of pin code which they want to allow shipping.
how can I achieve this I can't found any free extension
anyone kindly help
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: magento 2 restrict pin code for shipping
Hello @prince_ramgarhi
Have you created a shipping method?
200+ Magento 2 Extensions for Enhanced Shopping Experience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: magento 2 restrict pin code for shipping
yes we are offering free shipping in pan India
but now want to filter some pin code i have list of pin code which we want to get orders from
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: magento 2 restrict pin code for shipping
can someone help me please
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: magento 2 restrict pin code for shipping
Hello @prince_ramgarhi
Have you created a custom shipping method?
200+ Magento 2 Extensions for Enhanced Shopping Experience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: magento 2 restrict pin code for shipping
Hello @prince_ramgarhi
You can upload the excel sheet data to the database table (by your script) and you can add validation to zip code based on that data.
It will allow only those locations which are in your database and for others, you can add a warning message.
You can refer the following link,
https://github.com/MeetanshiInc/Magento-Restrict-Zip-Codes
Hope this will help you.
Problem solved? Click "Accept as Solution"