• Plugin Author Diego

    (@daigo75)


    The “optional” label is displayed by WooCommerce for fields that are not strictly required. In this context, “required” means “always required by WooCommerce’s basic logic“, not “required under specific circumstances”.

    To remove that label, you can hide the “optional” label element using CSS. Here’s an example of how to do so:

    
    #vat_number-description .optional {
      display: none;
    }
    
    #customer_location_self_certified-description .optional {
      display: none;
    }
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to remove the “optional” label from the checkout fields’ is closed to new replies.