Jump to content

Real-time postcode validation


adammontague
 Share

Recommended Posts

OK, so my client would like to only deliver to certain postcodes.

I'm thinking I'd like to insert some kind of real-time postcode checker when a user is inputting their delivery address, much like the ajax username checkers you get on forms signing up for Twitter etc...

...if an invalid postcode is entered a message is displayed about alternative delivery options.

Is this something that's doable in the prestashop environment? Would anyone like to point me in the right direction to get this started?

Thanks in advance :)

Share this post


Link to post
Share on other sites

  • 1 year later...

Hi Adam,

I'm looking for the same thing for a flower shop who have their own delivery vans and want to restrict delivery of their flowers to within a 10 or 20 mile area around their shop.

An ajax Postcode validator would be perfect!

How did you get on with this, did you find a solution?

Cheers Adam
Warren (UK)

Share this post


Link to post
Share on other sites

Hi Warren,

Unfortunatley (as you can see) no one got back to me. Although, I did manage to sort something out with it - however, I can't remember what it was!! ha! It was so long ago!

I've since changed jobs and this project was at my old job! The website is www.northover-fuels.co.uk - I'm not sure how much that will help you.

I seem to remember playing a lot with counties and zones to create postcodes, it took A LONG time but I think it worked alright!

Hope that helps you!

Adam

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More