InMotion Hosting Support Center

Zip/Postal Code problems in Prestashop

Category: Prestashop 15

deigam5
Asked:
2015-09-12 4:06 pm EST

Hits: 4,682
A lot of Prestashop users are having trouble with the zip code validation. When the zip code format field in Localization - Countries is left blank or filled with the correct format it puts a red X next to the zip code, so that it looks like it will not accept it.

It will accept it and the customer will be able to continue checkout, but as an online shopper, I would assume that something was wrong.

My version is 1.6.1.0. I didn't have this problem in 1.6.0.8, but I have seen forum posts about this issue all the way back to 1.4. If anyone out there has a solution, it would be appreciated.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

scott
Staff
43,761 Points
2015-09-14 9:18 am EST
Hello deigam5,

Sorry to hear you are having an issue with Zip Code validation within PrestaShop. I did some research on the subject and the official step to fix it is:

"You need to update your theme and more specificaly this file https://raw.githubusercontent.com/PrestaShop/PrestaShop/1.6.1.x/themes/default-bootstrap/js/tools/statesManagement.js"

This was directly from the PrestaShop bug forum. That should get you all set.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Thank you very much! It worked perfectly.
deigam5
31 Points
2015-09-18 3:58 pm EST
Like this Question?

Related Articles

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!