cancel
Showing results for 
Search instead for 
Did you mean: 

magento 2 restrict pin code for shipping

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 

5 REPLIES 5

Re: magento 2 restrict pin code for shipping

Hello @prince_ramgarhi 

 

Have you created a shipping method?

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

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 

Re: magento 2 restrict pin code for shipping

can someone help me please 

Re: magento 2 restrict pin code for shipping

Hello @prince_ramgarhi 

 

Have you created a custom shipping method?

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

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"