icecore Posted January 17, 2013 Share Posted January 17, 2013 Hi how can i add and make mandatoery a vat number filed in the registration form of prestashop 1.5.3? Hi found there is a field, but can't find how to make it mandatory the filed i'm working on is in authentication.tpl thanks Link to comment Share on other sites More sharing options...
El Patron Posted January 17, 2013 Share Posted January 17, 2013 try this back office-->customers-->addresses expand 'set required fields for this section' select vat_number save 1 Link to comment Share on other sites More sharing options...
silberstern Posted September 17, 2013 Share Posted September 17, 2013 This works fine. But VAT number input popups up in form only if company name has been given. Making this field required as suggested, system will ask for it even though company name is not specified. Any solutions for making it required only if company name is filled in? Link to comment Share on other sites More sharing options...
dkjo Posted October 1, 2013 Share Posted October 1, 2013 This works fine. But VAT number input popups up in form only if company name has been given. Making this field required as suggested, system will ask for it even though company name is not specified. Any solutions for making it required only if company name is filled in? exactly, the same issue here (1.5.4.1). It's really 'annoying' and prevents the shop from going online Link to comment Share on other sites More sharing options...
tuk66 Posted October 1, 2013 Share Posted October 1, 2013 Mandatory VAT number? Why? What about customers without a valid VAT number. They would not register. Link to comment Share on other sites More sharing options...
dkjo Posted October 1, 2013 Share Posted October 1, 2013 Mandatory when 'Company name field' in registration form is filled in. When you run a company you have assigned (let's call it) a VAT number to it; it apprears on invoices etc. In presta there's a behavior on registration page: when (company field not empty) -> show vat_number (in authentication.tpl / address.tpl / order-opc-new-account.tpl ...) So, if one of my visitiors/guests/customers runs a company and during shopping/registrations he/she fills in the Company name, I need it to get the vat_number as well, mandatory. Hope it helps. Link to comment Share on other sites More sharing options...
dkjo Posted October 3, 2013 Share Posted October 3, 2013 maybe a bit off topic, but: when I disable/turn off 'required' option for vat_number in back office-->customers-->addresses it doesn't get saved in databsae at all. I can fill in the very input in the form, pass the registration process, and when I finally open my account details (addresses) as logged in user, the vat_number filed (in my addresses) is blank - I can type in another number, save it and it is still blank (?) superb weird, guys or just a bug? Link to comment Share on other sites More sharing options...
dkjo Posted October 12, 2013 Share Posted October 12, 2013 anyone? or I'm missing sth? Link to comment Share on other sites More sharing options...
tomes Posted January 31, 2015 Share Posted January 31, 2015 I have installed 1.5.6.2 version, and I have an issue with authentication. When customer filled up a company name field the VAT field not pop up, but if a mystake is made during registration and the site shows error during registration and the site reload, than the VAT field is pop up. It´s frustrating still send to customers an e-mail, for fill out VAT number. Could somebody help with it? Link to comment Share on other sites More sharing options...
Valsirob Posted March 4, 2015 Share Posted March 4, 2015 Hello, I have the following problem: When a customer is entering his VAT number, since a company Prestashop generate a message that the VAT number is not correct. I have not checked under the VAT module the VAT number to be checked. Further, if I ever in the customer details via the back office and enter myself the VAT number, still rejected...looks like I cannot accept VAT numbers on the field named VAT number (SIRET). I just open a B2B folder and started a campaign...but looks not nice, since the potential Companies cannot register on our site... Thanks for your feedback. rgds, Boris Link to comment Share on other sites More sharing options...
tuk66 Posted March 4, 2015 Share Posted March 4, 2015 SIRET. Is this customer.siret field, varchar(14)? SIRET numbers are validated by Validation::isSiret method and the format is numeric only. VAT numbers are normally stored in address.vat_number, varchar(32), and validated against the EU webservice. Link to comment Share on other sites More sharing options...
Valsirob Posted March 4, 2015 Share Posted March 4, 2015 Hello, That looks strange, since the VAT numbers in Europe, always starting with 2 letters from the country, BE, DE, FR etc...so why the format is only numeric. Anyway how and where I can change this in order to accept first 2letters and then numbers? thnks Link to comment Share on other sites More sharing options...
tuk66 Posted March 4, 2015 Share Posted March 4, 2015 I don't know. It doesn't make sense. SIRET is not VAT number. I just answered to your text "the field named VAT number (SIRET)". Link to comment Share on other sites More sharing options...
Valsirob Posted March 4, 2015 Share Posted March 4, 2015 Hello, I know that the SIRET in France is a national number, which became the VAT by adding FRxxSIRET. Now I'm thinking maybe the SIRET field should not be translated VAT number or BTW number but other filed...Have to check... Any way if you have something about this issue it will be most than welcome. rgds Link to comment Share on other sites More sharing options...
Recommended Posts