VAT on registration

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 12 años
VAT can be made required in the process of user registration?
Hace 12 años
Sure. Follow the next steps:
1. Open \Presentation\Nop.Web\Validators\Customer\RegisterValidator.cs file
2. Add the following line of code to constructor of RegisterValidator class
RuleFor(x => x.VatNumber).NotEmpty().WithMessage("VAT number is required");

3. Recompile the solution
P.S. Source code is required in order to apply the changes
Hace 12 años
Hello, Andrei

I have the same problem, I need to have the vat nr required on registration but I have version 1.90 installed
How can i change the registration form to make it required?

Thanks for your replay
Pedro Gomes.
Hace 10 años
Hi Andrei

Is this now supported out of the box?
Hace 10 años
Soeren wrote:
Is this now supported out of the box?

No
Hace 10 años
About vat number: where is it possible to enable showing vat number field during registration?
I couldn't find this.
Hace 10 años
strategie79 wrote:
About vat number: where is it possible to enable showing vat number field during registration?
I couldn't find this.

Admin area > configuration > tax settings > EU VAT enabled
Hace 6 años
Hi. For a B2B site we need to make mandatry VAT on registration: is there the possibility to set mandatory via admin area?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.