Okay
  Public Ticket #4518756
VAT Number field not displaying on the checkout page
Open

Comments

  •  2
    [email protected] started the conversation

    Hello,

    I have an issue with the VAT Number field not displaying on the checkout page.

    The VAT field does appear correctly on the registration form,
    but it does NOT appear at all on the checkout page, even when I select an EU country other than France.

    Here is what I have already checked:

    1. In B2BKing → Custom Fields → VAT Number:
      • “Visible at checkout” is enabled ✔
    2. In B2BKing → Settings → VAT:
      • VAT validation is enabled ✔
      • Remove VAT for valid EU VAT numbers is enabled ✔
      • All VAT-related options are activated ✔
    3. In WooCommerce:
      • Taxes are enabled ✔
      • The store country is set to France ✔
      • Allowed countries include EU countries ✔
    4. I tested in an incognito window, logged out, with different EU billing countries (Belgium, Spain, Italy), and the VAT field still does not appear at checkout.

    Despite all of this, the VAT field never shows up on the checkout page.

    Could you please help me understand why the VAT field is not displaying on checkout, and how to fix this?

    Thank you!

  •   WebWizards replied privately
  •  2
    [email protected] replied

    Thank you for your reply, the code snippet works.

  •  2,615
    WebWizards replied

    Hi there,

    Thank you for purchasing B2BKing and sorry to hear about that issue.

    From what you've described, the settings look correct. The most common reason the VAT field doesn't show at checkout is related to one of these:

    1. User type: The VAT field at checkout typically only shows for logged-in B2B users (users in a B2B group). Can you confirm you're testing while logged in as a B2B customer account?

    2. Checkout page type: Are you using the standard WooCommerce checkout, or a custom checkout page builder (like Elementor, Divi, custom theme checkout, or WooCommerce block-based checkout)? Custom checkout templates sometimes don't include the hooks B2BKing uses to display fields.

    3. Field configuration: In B2BKing → Custom Fields → VAT Number, can you check if there are any "Conditional Rules" set that might be hiding the field?

    Could you let me know about these points? If you're using a custom checkout or page builder, that's likely the issue and I can provide guidance on how to resolve it.

    If you'd like, we can also troubleshoot this directly on the site. For that, we would need a backend login to the site or a staging clone site.

    Kind regards,
    Stefan