How to restricted the pincode in E commerce Website in ERPNext?

i want to restrict some pincode for delivery but i cant able to do that.i tried with doctype but nothing is happen. can anyone help how to restrict the pincode?

1 Like

did you want to disable pincode field ?

No i want to restrict some pincode for delivery


You can restrict it with a doctype. How did you try to do it?

Create a doctype for pin code
Link the doctype to pin code field in all documents
Convert all pin code fields to link field

I think should work this way. There are other ways to do it with script. We did it for client 5 years ago. We had to divide all areas into zones and if a customer selects the area from the drop down list, they would automatically allocated the respective zones. I can show you a demo if we can connect. You can mail me on