bevi Posted August 29, 2012 Share Posted August 29, 2012 Hi, I try to modify the Guest checkout form but I have some errors. I like to only require to the customers that don't want to register to make an order, in other words the anonymous customers, the fields of First Name, Last Name, Phone and E-mail and don't ask for Address fields or even more show this fields on the Guest checkout option. After I made some changes on the .tpl files to hide those fields than I don't want to show on the Guest checkout option I tested founding this errors: Hay 5 error(es): ID del país es necesario apellido es necesario nombre es necesario dirección 1 es necesario ciudad es necesario I try to modify this through an option on the Backend without found nothing than works, so I looked on the code of classes/Address.php (line 99) and comment this messy fields: protected $fieldsRequired = array(/*'id_country', 'alias', 'lastname', 'firstname', 'address1', 'city'*/); Test again and when I go through Guest checkout to make an order shows this error: TECHNICAL ERROR: unable to save account Details: Error thrown: [object Object] Text status: parsererror Tried many other option, even was checked if with inputs type=hidden avoids the error but don't work at all. Please if you can give me some advice or orientation on what to go forward with this leave your thoughts. Any suggestion or comments are welcome! Here is some technical info about the Prestashop installation on topic: Información sobre su servidor Versión de PrestaShop: 1.4.4.1 Información sobre su servidor: Linux #3 SMP Wed Feb 22 18:08:08 ART 2012 x86_64 Versión del software servidor: Apache Versión de PHP: 5.3.6 Versión de MySQL: 5.5.24-log Información sobre la tienda URL de su tienda: http://www.lilis.com.ar/ Nombre del tema utilizado: lilis Información sobre el email Modo de envío de emails: Utiliza la función email() de PHP Saludos! Link to comment Share on other sites More sharing options...
bevi Posted September 2, 2012 Author Share Posted September 2, 2012 Someone can help me on this please? At least have the chance to know if this can be possible easily. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts