Page 1 of 1

Retrieve postal codes defined in the Delivery Zones

Posted: Fri Nov 28, 2008 4:06 pm
by pbhavsar
Hi,

Does anybody know how to retrieve delivery zone postal codes defined in the admin site?

My problem:
My client only delivers his orders to addresses in certain postal codes. Before accepting an order, the system needs to validate order's ship to address against a list of postal codes. If the address is not valid, an error message needs to be displayed to the user.

My solution:
My client defines the postal codes in "Configure Shipping Zones" page. I modify the system to retrieve the postal codes from the database and use them to valid order's ship to address.

My problem:
How can I retrieve the postal codes that defined in the zones?

Any suggestions are welcome. If you know a better solution for my problem, please direct me.

Thanks

Re: Retrieve postal codes defined in the Delivery Zones

Posted: Sat Nov 29, 2008 3:01 am
by mazhar
I think this is doable without any customization. On the merchant side just specify the available postal codes for the zones. The system will not place the orders for postal codes that are not available within zones.

Re: Retrieve postal codes defined in the Delivery Zones

Posted: Mon Dec 01, 2008 4:09 pm
by pbhavsar
Hi,

I defined the postal codes in the shipping zones, but the system does not prevent out-of-zone orders to be created. My client's business is in Canada. One sample postal code I set up in the shipping zone is "***6M6". Am I doing it at the right place? Is there anything else I need to set up?

Please help me out. Thank you!

Re: Retrieve postal codes defined in the Delivery Zones

Posted: Tue Dec 02, 2008 11:20 am
by mazhar
Make sure that your shipping method is available only for selected zones for which you have entered the postal codes