View Categories

VAT Field Not Showing in Block-Based Checkout

Table of Contents

Problem Description #

On stores using block-based checkout or modern cart/checkout block themes, the VAT field may not display at all, or validation may not trigger, leading to checkout without VAT validation or errors.

Common symptoms

  • VAT field missing from checkout or cart block.
  • JS errors in browser console (e.g. alg_wc_eu_vat_ajax_object is not defined). Support changelog lists fixes for such JS issues. WordPress.org+1
  • VAT validation not triggered; orders processed without VAT number or exemption.

Cause

  • The plugin’s JS or script dependencies may not load correctly in block-based checkout/cart templates, especially if “Add script dependency” option is misconfigured or not compatible with the theme/page builder. Changelog indicates JS error fixes related to block cart for this reason. WordPress.org+1
  • Caching or minification plugins might break script loading or reorder dependencies, causing the VAT field or validation script to fail.

Solution (step‑by‑step)

  1. Ensure plugin is updated to latest version, recent updates fixed many block‑checkout / JS issues. WordPress.org+1
  2. In plugin settings, check “Add script dependency” option: WP Admin → WPFactory → EU VAT → Advanced / Block options → make sure script dependency setting is correct for your theme. Developers added this option to avoid infinite loading or JS conflicts in block carts. WordPress.org Euskara+1
  3. Clear cache and disable JS minification/concatenation temporarily — this helps rule out caching/optimization conflicts.
  4. Test with default theme and no other plugins (except WooCommerce & VAT plugin): If VAT field appears, issue is conflict with other plugin or theme.
  5. If missing only in some blocks (e.g. cart widget): try moving VAT field into a classic checkout template or add a fallback field via a custom checkout hook.
  6. If still not working: Check browser console for errors; collect error messages; reach out to plugin support with theme name, WP/WC version, and console errors.

Prerequisites

  • WP, WooCommerce, and plugin up-to-date.
  • Admin access to plugin settings, ability to clear cache or disable optimization plugins.

Additional Notes

  • Many stores now use block-based checkout, recommend documenting block‑compatibility instructions in plugin setup docs.
  • For complex setups (custom checkout templates, page builders), test thoroughly after plugin updates.

 

 

EU VAT Manager for WooCommerce