abhey.thareja Posted April 27, 2014 Share Posted April 27, 2014 (edited) 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 April 28, 2014 by abhey.thareja (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 27, 2014 Share Posted April 27, 2014 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 More sharing options...
abhey.thareja Posted April 27, 2014 Author Share Posted April 27, 2014 Oops - my bad. the reason i put everything here as i did not want to spam with multiple threads Thanks, will try the address piece, and start new threads for each of the above, keeping the address one here. Thanks, Abhey Link to comment Share on other sites More sharing options...
abhey.thareja Posted April 28, 2014 Author Share Posted April 28, 2014 (edited) @vekia: made the change in /classes/address.php; but no change when i test to sign in. Will appreciate some help here please. thanks. Edited April 28, 2014 by abhey.thareja (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 28, 2014 Share Posted April 28, 2014 while you trying to create an account, you see there "mobile phone" field? Link to comment Share on other sites More sharing options...
abhey.thareja Posted April 28, 2014 Author Share Posted April 28, 2014 (edited) i see the mobile field in the standard account creation (with address). However, in the one step account creation option, i cannot see the mobile phone field which is where i require it to be mandatory. thanks. Edited April 28, 2014 by abhey.thareja (see edit history) Link to comment Share on other sites More sharing options...
abhey.thareja Posted April 29, 2014 Author Share Posted April 29, 2014 Anyone any help here please? Link to comment Share on other sites More sharing options...
Recommended Posts