baal Posted June 13, 2011 Share Posted June 13, 2011 Je cherche à enlever le champ téléphone obligatoire (et le laisser en non obligatoire)dans le formulaire commande, car je pense que ça peut rebuter le client.prestashop version 1.4.1.0petite rémunération possible. Link to comment Share on other sites More sharing options...
MayMo design Posted June 13, 2011 Share Posted June 13, 2011 /controllers/AuthController.php/controllers/AddressController.php il faut commenter ces lignes :/*if (!Tools::getValue('phone') AND !Tools::getValue('phone_mobile')) $this->errors[] = Tools::displayError('You must register at least one phone number'); */il faut aussi éditer tous les fichiers template où il y a *normalement comme ça tout fonctionne comme tu veux 1 Link to comment Share on other sites More sharing options...
julien.m Posted June 13, 2011 Share Posted June 13, 2011 Il a gagné combien maymo alors ? 1 Link to comment Share on other sites More sharing options...
Joao Marcello Posted July 24, 2011 Share Posted July 24, 2011 Hi all, When I comment that lines in those files, I get the following error: Technical Error: unable to save account Details: Error thrown: [object XMLHttpRequest] Text status: parsererror I'm using Guest Account and One-Page CheckOut on PS 1.4.3 Any idea about how to fix that error? =========== EDIT ============ Voilá! I found out that the Ajax error is related to the country validation on order-opc-new-account.tpl. Any time you hide or delete the country SELECT part, this error will be shown. Is there any way to avoid country validation, once I'll only reach people of my very own country? Even if I try to HIDE (display: none) the COUNTRY select, the error appears. 1 Link to comment Share on other sites More sharing options...
hclatomic Posted July 25, 2011 Share Posted July 25, 2011 Je cherche à enlever le champ téléphone obligatoire (et le laisser en non obligatoire)dans le formulaire commande, car je pense que ça peut rebuter le client.<br/>prestashop version 1.4.1.0<br/>petite rémunération possible. Je peux vous faire ça pour pas cher. Contactez-moi sur [email protected] pour en discuter plus en détail. Cordialement Hervé Link to comment Share on other sites More sharing options...
papich Posted September 23, 2011 Share Posted September 23, 2011 merci Link to comment Share on other sites More sharing options...
zampai Posted February 21, 2012 Share Posted February 21, 2012 Peut-on avoir l'explication au complet ? pour le newbies svp ? Link to comment Share on other sites More sharing options...
Recommended Posts