pcpro Posted October 23, 2013 Share Posted October 23, 2013 (edited) Suddenly my customers has to add a mobile phone number. If they dont do it, they can not order ?! I read that it could be changed at Settings > Customers But I dont have that option... Edited October 23, 2013 by pcpro (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 23, 2013 Share Posted October 23, 2013 hello what ps version you use? everything depends on it it should looks like: Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 23, 2013 Share Posted October 23, 2013 It will be in Preferences>Customers , but yes, tell us what version of PrestaShop are you using. Link to comment Share on other sites More sharing options...
pcpro Posted October 23, 2013 Author Share Posted October 23, 2013 It is ver 1.4.6.2 I read: Your current configuration does not allow upgrade. 8 core files have been modified (8 total) config/config.inc.php config/defines.inc.php modules/autoupgrade/AdminSelfUpgrade.php modules/autoupgrade/Upgrader.php modules/autoupgrade/autoupgrade.php modules/editorial/homepage_logo.jpg modules/themeinstallator/themeinstallator.php themes/prestashop/img/logo_paiement_paypal.jpg Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 23, 2013 Share Posted October 23, 2013 Try this. Make sure to BACKUP FIRST Then, go to controllers/AuthControler.php and remove these lines. if (!Tools::getValue('phone') AND !Tools::getValue('phone_mobile')) $this->errors[] = Tools::displayError('You must register at least one phone number'); 1 Link to comment Share on other sites More sharing options...
pcpro Posted October 24, 2013 Author Share Posted October 24, 2013 What about updating from 1.4.6.2 to latest version ?What do I loose, or will it work at all ? Link to comment Share on other sites More sharing options...
pcpro Posted October 24, 2013 Author Share Posted October 24, 2013 (edited) Ok, the error still persist even after removing those lines.Maybe I explained wrong...The error doesnt occur for registred customers, only for those who use "fast checkout" The error says: "Error 1, Mobile required"And that is even if I try to use +467052827** or 07052827** Edited October 24, 2013 by pcpro (see edit history) Link to comment Share on other sites More sharing options...
pcpro Posted October 28, 2013 Author Share Posted October 28, 2013 Nobody ? Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 30, 2013 Share Posted October 30, 2013 I see, that is strange that even when you put in a number it still does not work. Usually the problem was that this field never showed up. Have you cleared your cache in your browser? Link to comment Share on other sites More sharing options...
pcpro Posted November 5, 2013 Author Share Posted November 5, 2013 (edited) Its not my browser only, its my customers, I have a webshop you know!And nobody can make an order it seems. Why dont yo try yourself, go to http://www.lapoterie.se/webbshop/ Put something in the Varukorg (Shoppingbasket) Then try to make a quick order (Snabbkassa) Or just try to add a new customer account.A workaround could be:to not make telephone mandatory, ? Edited November 17, 2014 by pcpro (see edit history) Link to comment Share on other sites More sharing options...
pcpro Posted November 17, 2014 Author Share Posted November 17, 2014 Still the same problem ! Link to comment Share on other sites More sharing options...
pcpro Posted November 17, 2014 Author Share Posted November 17, 2014 Try this. Make sure to BACKUP FIRST Then, go to controllers/AuthControler.php and remove these lines. if (!Tools::getValue('phone') AND !Tools::getValue('phone_mobile')) $this->errors[] = Tools::displayError('You must register at least one phone number'); I still have to add something, like a blank to not getting the error.... Link to comment Share on other sites More sharing options...
pcpro Posted November 17, 2014 Author Share Posted November 17, 2014 (edited) Well... Going to Upgrade in Admin says:Your current configuration does not allow upgrade. But Under Configuration everything is Green, except that the shop is online.Then there is Rollback, which I dont know what to do with ..and: Restore Files > Click to restore/home/lapotteri/public_html/webbshop/admin7561/autoupgrade/backupfile-2011-12-09-1323429729.zip Restore Database > Click to restore/home/lapotteri/public_html/webbshop/admin7561/autoupgrade/1323429780-2c49fc98.sql.bz2 Going to Back Office > Tools > Database Backup That works to make a Database backup, wich I did.And I can also downliad all files using FTP, wich I did. It also says, 9 core files have been modified config/config.inc.php config/defines.inc.php controllers/AuthController.php modules/autoupgrade/AdminSelfUpgrade.php modules/autoupgrade/Upgrader.php modules/autoupgrade/autoupgrade.php modules/editorial/homepage_logo.jpg modules/themeinstallator/themeinstallator.php themes/prestashop/img/logo_paiement_paypal.jpg Edited November 17, 2014 by pcpro (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now