Alter Prestashop to UK address format (1.3.1)
by John on Oct.18, 2009, under Hints/Tips/Hacks
This is an alternation to the base code that will alter all instances of the address apart from PDF) to the UK format rather than the French format.
You will need to upload the files into the same folders .
The version without dropdown counties menu will need you to create a new mysql field in your database, so some coding knowledge will be needed. This version will present a blank entry field for counties rather than the dropdown pre filled list.
PLEASE NOTE: Backup your files first BEFORE uploading the altered files.
Please read the read.me file for instructions on altering your sql database.
UK address format 1.2.4 with states dropdown menu
UK address format 1.2.4 without counties dropdown
Related posts:



January 15th, 2010 on 9:23 pm
Thanks a lot for this.
One issue though, I am using the without counties dropdown format. I am getting an error “Hack attempt (Address -> county is empty)”
This seems to be an issue linked to the “classes” file, I have reuploaded the original version and it works fine.
I have entered the field into the MySQL correctly, and have checked everything else was done fine.
Do you have any idea how I can fix this? Thanks
January 17th, 2010 on 7:40 am
Which version of Prestashop are you using?