Jump to content

Registration and required fields in prestashosp 1.6


Recommended Posts

Hallo!

I have a issue with registration and personal information forms.

I have a small local webshop, and i really dont need a field for... home phone, zip code, last name... and the country - i want to sell only in one country by default, so this field is not needed too...

i found how to remove age selection, but these fields i can not remove, because if i remove them, there is an error in registration, that not all required fields are filled... so.. how to corretly remove them? :/

 

Thx

Best regards

 

Link to comment
Share on other sites

Sure... and i dont want to remove it... but i dont need users to see it. Because i am not selling anything in other countries...
Also, i am working just in one city (with 12 districts/states). And i really dont need 2 phone numbers :/ But ok...2 phone numbers ir ok, but ZIP and country selection could be set by default for every customer...

heh...and the ZIP code dont understand our local ZIP code

[EDIT]

Ok. Now i found an idea how to achieve it (in 1.5) but cant find in 1.6 where it is :/

'lastname' =>                   array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => false, 'size' => 32),
Edited by matiss.jekabsons (see edit history)
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...