VAT on registration

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

Is this now supported out of the box?
10 anos atrás
Soeren wrote:
Is this now supported out of the box?

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