Skip to content
Fluid Checkout
  • Demo
  • Features
  • Add-ons
    • Complete Bundle Save 42%
    • Fluid Checkout PRO
    • Google Address Autocomplete
    • Address Book
    • EU-VAT Assistant
  • Pricing PRO
  • Docs
  • Support
  • My account
0,00 € 0 items
Home / Docs / fc_vat_number_field_args

How can we help?

Getting started

  • Do I need to uninstall the free version when upgrading to PRO, or is Fluid Checkout Lite required?
  • Getting Started with Fluid Checkout
  • Getting started with Google Address Autocomplete
  • Translate Fluid Checkout plugins into your language

Features

  • Proof of address for sales of digital goods
  • Progress Bar Styles – checkout steps progress indicator
  • WooCommerce edit cart on checkout — change quantity or remove items from the cart directly at the checkout page
  • Trust symbols — add security badges, trust seals and other trust symbols to strategic places on the checkout, cart and order received pages
  • Order pay – optimized and intuitive design for your WooCommerce Order Pay page
  • Privacy compliance – Personal data erasers and exporters
  • Local Pickup — WooCommerce Local Pickup hide shipping address when local pickup is selected
  • International phone numbers — WooCommerce checkout phone number validation and formatting based on country rules
  • Express checkout — quick payment buttons for Google Pay, Apple Pay and other payment methods
  • Design templates — match your brand styles on the WooCommerce Checkout template
  • Billing address positions — choose to display billing address before shipping, inside the shipping step or force shipping and billing address to a single section
  • Account matching / user matching — associate purchases with and existing customer account without logging in

Customizations

  • Fix order summary and progress bar being cut off by the site’s header
  • Change the icon or icon color for the cart button on mobile
  • Move the “Phone” field to the contact step
  • Using Google Address Autocomplete on custom address fields and sections
  • Configure cart quantity fields for decimal quantities
  • Change fields copied from shipping address to billing address
  • Move first and last name fields to the contact step
  • Enable address autocomplete by zip code or post code
  • Customize Local Pickup location address and use multiple pickup locations
  • Customize button colors and other button styles
  • Customize colors of elements on Fluid Checkout
  • Customize template files for WooCommerce and Fluid Checkout
  • Customize checkout steps
  • Add custom house number field and make it required
  • Customize checkout fields and adding custom checkout fields
  • Safely add code snippets to your WooCommerce website

Compatibility

  • Compatibility with plugin YITH WooCommerce Cart Messages Premium
  • Compatibility with plugin Shipping Zones by Drawing
  • Compatibility with plugin Elementor
  • Compatibility with plugin MyParcel
  • Compatibility with theme The Gem
  • Compatibility with plugin WooCommerce Delivery Slots by Iconic
  • Compatibility with plugin Mailchimp for WooCommerce
  • Compatibility with plugin WooCommerce Checkout Manager By QuadLayers
  • Compatibility with plugin Breakdance
  • Compatibility with theme Pressmart
  • Compatibility with theme Divi and the Divi Builder
  • Compatibility with WooCommerce Block-based checkout and cart forms
  • Compatibility with theme Goya
  • Compatibility with theme Botiga
  • Compatibility with theme Atomion
  • Compatibility with theme OceanWP
  • Compatibility with plugin Digits
  • Compatibility with plugin Storefront Powerpack
  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Compatibility with theme ZK Nito
  • Compatibility with Checkout Field Editor PRO by ThemeHigh
  • Compatibility with theme Woodmart
  • Compatibility with plugin “Plugin Organizer”

Troubleshooting

  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Troubleshooting – Local pickup prevents customer from proving a shipping address, blocking other shipping methods
  • Troubleshooting – Redirected to error 404 (page not found) when trying to delete an address from the Address Book
  • Troubleshooting – Google Addresses Autocomplete not working despite following installation guide
  • Troubleshooting – Trust symbols widgets randomly moving to other areas when switching themes

Account & Purchases

  • Can I get a refund for my purchase?
  • Finding my invoice, adding billing details and VAT number
  • New versions updates are not appearing on my website

Development

  • Filter and action hooks – EU-VAT Assistant
  • Changelog – Fluid Checkout EU-VAT Assistant
  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Changelog – Fluid Checkout Address Book
  • Checking data returned from Google Address Autocomplete address search
  • Changelog – Google Address Autocomplete
  • Changelog format and semantic version numbers
  • Changelog – Fluid Checkout PRO & Lite
View Categories

fc_vat_number_field_args

Back to list of all filter and action hooks for EU-VAT Assistant.

Description #

Customize the appearance, behavior, and validation arguments of the default VAT number field in the checkout and address forms.

Parameters #

  • $args (array) The field arguments array that defines the VAT number field properties.

The array of field arguments used to define the VAT number field, any argument accepted by WooCommerce checkout fields can be used, most commonly:

  • label (string) The field label, usually displayed above the input field.
  • description (string|null) The description of the field, usually used to display help text below the input field. Set to null to remove it.
  • required (boolean) Whether the field is mandatory.
  • class (array) Additional CSS classes applied to the field container.
  • priority (integer) Field display order priority in the form (lower = earlier).
  • optional_expand_link_lowercase (boolean) Controls whether the links to expand/collapse this field are displayed in lowercase or normal letter case. Only applies if the field is optional. Defaults to `false`, normal letter case.

Examples #

/**
 * Customize VAT number field
 */
function fc_vat_customize_number_field_args_callback( $args ) {
    // Change field label
    $args['label'] = __( 'Tax ID Number', 'your-text-domain' );

    // Change field description
    $args['description'] = 'Enter your business tax identification number';

    // Change field priority (display order in form)
    $args['priority'] = 100;

    // Add custom CSS classes
    $args['class'][] = 'custom-vat-field';

    // Make field required
    $args['required'] = true;

    return $args;
}
add_filter( 'fc_vat_number_field_args', 'fc_vat_customize_number_field_args_callback', 10 );
Still stuck? How can we help?

How can we help?

Updated on August 30, 2025
Table of Contents
  • Description
  • Parameters
  • Examples
Fluid Checkout

Frictionless Multi-step Checkout for WooCommerce

© 2021-2025 Fluid Checkout OÜ

Terms | Refunds | Privacy Policy | Cookies

Products
  • All products
  • Fluid Checkout PRO
  • Fluid Checkout Lite
  • Google Address Autocomplete add-on
  • Address Book add-on
  • EU-VAT Assistant add-on
Company
  • Support
  • Careers Hiring
  • My account
  • About
  • Homepage
  • Homepage
  • Features
  • Pricing PRO
  • Demo
  • Docs
  • Support
  • My account