VAT on registration

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

Is this now supported out of the box?
10 年 前
Soeren wrote:
Is this now supported out of the box?

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