VAT on registration

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

Is this now supported out of the box?
10 years ago
Soeren wrote:
Is this now supported out of the box?

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