If the VAT field from EU/UK VAT Manager for WooCommerce does not appear in the WooCommerce checkout block, turn on Checkout block field at WPFactory > EU VAT (also reachable at WooCommerce > Settings > EU VAT) > Advanced. It is off by default, needs WooCommerce 8.9.1 or later, and is ignored while Hide EU VAT field from checkout is on.
Symptoms #
- The VAT field is missing from the block checkout.
- A browser console error such as
alg_wc_eu_vat_ajax_object is not defined. - Orders complete without a VAT number or exemption.
Cause #
The block checkout uses a separate field registration from the classic checkout, and it must be enabled. Script dependency or caching or minification plugins can also stop the validation script from loading.
Requirements for the block field #
| Requirement | Where | Default |
|---|---|---|
Checkout block field enabled (alg_wc_eu_vat_enable_checkout_block_field) |
Advanced | Off |
| WooCommerce 8.9.1 or later | Plugins | – |
Hide EU VAT field from checkout off (alg_wc_eu_vat_hide_eu_vat) |
General | Off |
Add script dependency (alg_wc_eu_vat_checkout_block_field_dependencies), only if you see the console error |
Advanced | Off |
Fix #
- Update WooCommerce and the plugin to the latest versions.
- Enable the block field. Go to WPFactory > EU VAT (also reachable at WooCommerce > Settings > EU VAT), Advanced sub-tab, and turn on Checkout block field.
- Check the General sub-tab and make sure Hide EU VAT field from checkout is off.
- Add the script dependency if you see the
alg_wc_eu_vat_ajax_object is not definederror: enable Add script dependency on the Advanced sub-tab. - Clear caches and disable JS minification or concatenation temporarily to rule out an optimization conflict.
- Test with a default theme and only WooCommerce plus the VAT plugin active. If the field appears, re-enable your other plugins one at a time to find the conflict.
What the customer sees #
In the block checkout the VAT field appears in the Contact information section, not next to the billing address as in the classic checkout. If you enabled Let customer decide or Valid VAT but still paying?, their checkboxes appear in the same section.
If it still does not show #
- Field shows but never validates: check the console for script errors and try Add script dependency.
- Field hidden for some customers: Show field for selected countries only or Show field for selected user roles only (Pro), or Show/hide by billing company, may be limiting it.
- Need it working today: switch the checkout page back to the classic
[woocommerce_checkout]shortcode, where the field is always supported. - Collect the console errors and contact support with your theme name and WordPress and WooCommerce versions.
FAQ #
Is block checkout support free? #
Yes. Checkout block field and Add script dependency are in the free version.
Why is the field in Contact information? #
The plugin registers it as a block checkout field in the contact location.
Does validation work the same in the block checkout? #
Yes, the same Validation sub-tab settings apply once the block field is enabled.
Setup guide: Enable the VAT Field in Block-Based Checkout. Also see EU VAT Validation Always Fails.
Need a hand? Our team answers every ticket on the EU/UK VAT Manager support forum.
