I have added the VAT and address fields to my magento website for the create a new customer page.
I have a problem that the auto VAT validation and therefore the auto group assignment is not working ( actually not initiated ) because it seems the VAT field is updating the wrong variable OR the VAT validation is looking in the wrong variable.
When i create a customer and add the VAT number in the field during registration, the customer gets created with:
When i create a customer without filling in the VAT number during registration, go to edit the address and fill in the VAT number here:
So it seems the VAT field during registration is using the Taxvat variable while the VAT validation is using the VatId variable.
Is this a known problem? I have a virtual stock demo site that has this same behaviour so it's not due to any 3rd party modules.
Why is there a difference between the account VAT and address VAT value?
I added the address fields using this module:
https://github.com/karliuka/m2.ShowAddressFields
Any help would be appreciated! Thank you.
No, not really. I posted this on stackexchange a few weeks ago, without reply.