Jump to content

Make mobile number mandatory in One Step Account creation in Prestashop 1.6


Recommended Posts

eShop: www.CarLEDIndia.com

 

Hi,

 

I am no techy and i recently built my estore here. Must say - nothing better than prestashop - though a bit time consuming, but worth every minute after looking at the output.

 

I would like to add mobile number during account registration (in the one step account creation option) and make it mandatory.

 

Any help here will be appreciated.

 

Thank you,

Abhey

Edited by abhey.thareja (see edit history)
Link to comment
Share on other sites

 

 

1 Topic = 1 Subject or 1 Question

- If you have more than one question, open more than one new topic!

- Do not ask your question on a thread that doesn’t deal with the exact same matter. Open a new thread, it’s alright to do so.

1) you have to change address class

'phone_mobile' => 		array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32),

to

'phone_mobile' => 		array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32, 'required' => true),
Link to comment
Share on other sites

×
×
  • Create New...