Hide Vat Field with JS
-
Hello,
I’m trying to hide the VAT field if a user does not want an Invoice.
Users decide if they want an invoice using a custom select field I added in the checkout.I’m using a simple jQuery function to read the value of the selected option of that field: if a user does not want an invoice, I would like to hide Company name and EU Vat field.
While i can hide/show the company name field, it seems that I can’t on #woocommerce_eu_vat_numbe div, it’s like there’s another js overwriting my .hide() function.
Is there a way to solve this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hide Vat Field with JS’ is closed to new replies.