Search the Community
Showing results for tags 'Required fields'.
-
Hi there. I'm having some difficulty adding/removing the states field from the checkout. I'd also like to know how I can make a field required or optional. Specifically, I want to add or remove the states field from the United Kingdom. If I can manage to add it, I need to make it optional. I have tried adding "State:name" but hasn't had any affect on the checkout. See screenshot attached for my current config.
-
I'm using PS 1.7.2.4 and I decided to set phone as a required field in the future. When my customers who hasn't got the phone field filled trying to checkout, they received an internal server error 500. This is in the exception log: *ERROR* v1.7.2.4 2018/01/10 - 13:32:22: Property Address->phone is empty. at line 944 in file classes/ObjectModel.php I think the normal procedure shoud drop an error message about the missing parts of the address. What solutions is there are?
- 9 replies
-
- error
- 500 server error
-
(and 2 more)
Tagged with:
-
Hello, I'm using PrestaShop 1.6.1.11 and have enabled b2b-mode in backoffice. I need the field "company" as a required field in customer registration process. with some changes in authentication.tpl it shows me company-field now as required (with * after company-label).. But if i register me and don't fill company-field, it accepts my registration and doesn't show any warning-message that company-field is required to fill out. Could anybody help me please what i have to do that company-field is realy required and registration not accepted if company-field is empty? Thanks a lot for your help and greetings.
- 3 replies
-
- prestashop 1.6
- b2b-mode
-
(and 2 more)
Tagged with:
-
Hi everyone, I've been trying to make the field company NOT mandatory when a user is creating his account. I checked several solutions such as go to my admin panel and then Clients>Address and then setting the mandatory fields. That's not working since if I check company field it does appear in my form as mandatory field and if I don't check it, it does not appear at all. The other thing that I've tried was go to Customer.php classes and checked that company wasn't stablished as required (required' => true) and it didn't. What can I do? Thanks!
- 12 replies
-
- registration user
- forms
-
(and 1 more)
Tagged with:
-
I'm running into a issue with customer registration. Customers fill out the first registration page which creates their account which works fine. Then the second page asks for their address and contact information. When they submit the form it kicks back an error saying "lastname" & "firstname" are required even though they are not on the form that this page shows. Any help anyone has would be greatly appreciated as I am totally stumped on this.
-
I'd like to import a CSV file to update actual quantities in product combinations. The problem is that in this case I've to provide also required fields that are not necessary (attibute, values). For quantity updates is only necessary Product ID, Reference and Quantity. Do you know a workaround or a solution for it?
-
Hello, I would like my customers to be able to insert their VAT number at the Address Fields but i dont want that to be a required field. Can you help? I go to Localization > Countries > Edit, and there i try to edit the Address format by adding new fields but nothing seems to happen. If i add the "Address:vat_number" but dont check the option "Do you need a tax identification number?" it doesnt show up at the front office. Moreover not a single new field appears when i add it to the list but from the default fields if i remove one like "address2" it dissapears from the address registration form. The only additional field i managed to add is states if i edit the states country(Alabamas country is Greece). So it kind of works but not as is supposed to? Also when i go to Customers > Addresses my new added fields dont appear at "Set required fields for this section." Moreover whεn i add there the vat as a required field when a client inputs his address the vat number field doesnt appear but there a message that says vat number is required (but there is no field!!!!!) It would be so awesome if i could really add any of the fields that appear at Localization > Countries > Edit to the front office. Really really awesome and helpfull. Thank you
-
hi, i am currently using PS1.4.9 and i am using the one page check out, what i am trying to do is use no accounts ie no passwords, no login, no registration etc just guest checkout. now the problem i am finding is that if i a customer buys something then comes back to buy again he cant use the email he first used. now what i want to do is to get rid of it being required or prestashop not checking that there is a duplicate email address, if this is possible. Thanks in advanced, Paul
-
- Remove Email required field
- remove
-
(and 4 more)
Tagged with:
-
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!
- 1 reply
-
- guest checkout
- custom
-
(and 1 more)
Tagged with:
-
Hello, I must start this post with an apology. You see, about 8 months to a year ago I was getting numerous orders from the Caribbean. They have a different address setup, and my credit card verification for authorize.net kept rejecting the orders. I eventually figured out a way so that they only needed to enter their name, card number, expiration date, and cvn. It was brought to my attention by another customer within the states that this makes them feel unsafe. I would like to change my system so that it provides a location for all the typical information, but only requires certain elements. My problem is, I can't remember how I made the change originally. I'm sure I found something on this site that helped me through it, because I am not a good enough coder to figure that out on my own, but I can't find anything now to help me go back. Can anybody out there help me? Thanks, dapottster
-
- required fields
- credit card
-
(and 2 more)
Tagged with:
-
Hello PrestaShop experts, I would like to remove all fields from registration form which are included in "Your address" but i would like these fields to be displayed when a new order is taken place. I have tried to edit the authentication.tpl file but several errors are opened when i try to register that say i need to write all required fields. Should i edit the AuthController.php and in which way? Thank you!
-
- required fields
- remove
- (and 6 more)