Hide checkout fields for variable product
-
I found code to insert into my functions.php to hide fields if the cart only has virtual products. This works fine for single products, but for variable it does not. How do I hide checkout fields like address that are not required for a variable, virtual/downloadable product?
The code I used is here: https://www.remicorson.com/woocommerce-hide-checkout-fields-for-virtual-products/
Please note, the product has definitely been checked off as a virtual and downloadable product. I thought WooCommerce would hide these fields automatically based on that product type.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hide checkout fields for variable product’ is closed to new replies.