Jump to content

How to change required address information


Recommended Posts

I'm using PS 1.4.0.17 and when a customer creates an account they are forced to fill in many address and phone number fields.

How can I change the 'required' fields? In particular I want to remove the need for a postcode.

Would appreciate any help!

Link to comment
Share on other sites

Thanks Angora. Was hoping to try and avoid that as my site is working fine as and I'm concerned by all the upgrade problems people seem to be having.


follow this steps and it should work. I removed adresss, phone and zip code according this.

But in this tutorial was one mistake(it took me little bit time to find it)
In AuthoController.php

it is line 120 and 121 //in original file
Delete this instead ( instead what is writeen in pdf for this)

elseif ($zip_code_format)
$this->errors[] = ''.Tools::displayError('Zip/ Postal code').' '.Tools::displayError('is required.');

Prestashop 1.4.17_required_fields_change.pdf

  • Like 1
Link to comment
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
×
×
  • Create New...