How can I allow customers to edit their VAT number on their account page?

Hi,

I’ve searched and I found three approaches for this question.

One is using one of the customer account fields (like the company name) and change the label of that field to VAT.

The other is to use a Shopify backoffice field called customer.note and we are able to expose this field for input using the liquid file of the customer registration page. The problem with that last approach is that the customer inserts the VAT number when he creates the account but will never be able if he wants to edit and change the value later.

I’m trying to understand if it is possible, with some code, to expose this field in the account page, with the possibility of input/edit the value.

The last one is to use customer.metafields for the VAT and with some code expose this field for input/edit in the account page.

Any suggestions ?

Thanks !!!

Regards,

Luís

Did you resolve this.