VAT on registration

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 12 ans
VAT can be made required in the process of user registration?
Il y a 12 ans
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
Il y a 12 ans
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.
Il y a 10 ans
Hi Andrei

Is this now supported out of the box?
Il y a 10 ans
Soeren wrote:
Is this now supported out of the box?

No
Il y a 10 ans
About vat number: where is it possible to enable showing vat number field during registration?
I couldn't find this.
Il y a 10 ans
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
Il y a 6 ans
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.