WooCommerce: Reorder EU VAT field on checkout page

The EU VAT Number extension allows store owners to offer tax-free orders from EU businesses with a valid VAT number. By default, the EU VAT field is placed at the bottom of the billing fields. But what if you want to move that field to another potision?

The plugin adds the VAT number (optional) field below the billing fields as seen in

As a store owner, you might want to reposition the VAT number (optional) field and place it below the company name as seen in

This can be achieved by adding the following code to your site, e.g. using using the Code Snippets plugin:

To move the VAT number field to another position, simply adjust the priority of this field. As the company field has as priority of 30 and the country has a priority of 40, the VAT number field will be positioned between these two fields as its priority is set to 35.

6 Comments

Antero October 20, 2020 Reply

The snippet doesn’t seem to work properly anymore.

Using the snippet with functions.php it show an input field under the company name field, but without the label text. On top of that it shows the VAT field at the bottom of the checkout with the label field.

Niels Lange October 24, 2020 Reply

Hello Antero, the snippet still works as expected on my end. You might be facing a plugin conflict. Can you deactivate all other plugins except the WooCommerce and the WooCommerce EU VAT Number plugin to test if the snippet works then?

You are using the official WooCommerce EU VAT Number plugin as seen on https://woocommerce.com/products/eu-vat-number/, right?

Dixie Pacheco November 6, 2020 Reply

Same issue here, not working

Niels Lange November 6, 2020

Hello Dixie šŸ‘‹ As mentioned before, the snippets still works without any problems on my end. I suggest that you’re executing a plugin and theme conflict test as described on https://docs.woocommerce.com/document/how-to-test-for-conflicts/ to check if your theme or any of your other plugins are causing the problem that you are facing.

Alexander September 28, 2020 Reply

Just what I was looking for! Thanks!

Niels Lange September 28, 2020 Reply

Iā€™m glad to hear that, Alexander. šŸ™Œ

Leave a Reply