Comments 14mariateresa started the conversationDecember 4, 2023 at 4:29pmHello, When I check vies per vat, when i put correct iva i have an error.Why? 2,218WebWizards repliedDecember 5, 2023 at 1:40pmHello Mariateresa,Which code are you trying? Please share it with us so we can check it.Also, please note you should enter it with the first 2 letters, so it should have the form "IT123456789...".Kind regards,Stefan 14mariateresa repliedDecember 5, 2023 at 2:25pmThanks it is possibile not use IT before? 14mariateresa repliedDecember 5, 2023 at 3:01pmMMM thare is a problemI don't know why, but now I don't see P.iva in registration form:But now tou see Registrati - Gvar Forniture Thare is strange 14mariateresa repliedDecember 5, 2023 at 3:21pmI understand whywhen I connect to campo di fatturazione vatit not appear in registratio.why? 2,218WebWizards repliedDecember 6, 2023 at 5:03pmHi again,it is possibile not use IT before?Yes, you can set IT as a default prefix. To do this, add this PHP code snippet to your site: add_filter('b2bking_set_default_prefix_vat', function($prefix){ return 'IT'; }, 10, 2); Then the plugin will use IT automatically if the customer did not add another prefix.Regarding the VAT field, this should also work:But please note the field is hidden until you choose the country.So you need to first choose "Italia" from the dropdown, and only after that the field will show.Kind regards,Stefan Sign in to reply ...
Hello,
When I check vies per vat, when i put correct iva i have an error.
Why?
Hello Mariateresa,
Which code are you trying? Please share it with us so we can check it.
Also, please note you should enter it with the first 2 letters, so it should have the form "IT123456789...".
Kind regards,
Stefan
Thanks
it is possibile not use IT before?
MMM
thare is a problem
I don't know why, but now I don't see P.iva in registration form:
But now tou see Registrati - Gvar Forniture
Thare is strange
I understand why
when I connect to campo di fatturazione vat
it not appear in registratio.
why?
Hi again,
it is possibile not use IT before?
Yes, you can set IT as a default prefix. To do this, add this PHP code snippet to your site:
Then the plugin will use IT automatically if the customer did not add another prefix.
Regarding the VAT field, this should also work:
But please note the field is hidden until you choose the country.
So you need to first choose "Italia" from the dropdown, and only after that the field will show.
Kind regards,
Stefan