Hi Genuis,
Good Morning!
Could you please show me how can remove Company Name Field and remove “Star” at Phone field?
Thanks for your help!!
Keith
This topic has 4 replies, 3 voices, and was last updated 9 years ago ago by Stan Russell
Hello,
To hide the Company name please use this code in Global Custom CSS.
#billing_company_field{
display:none;
}
To remove a star you need edit wp-content\plugins\woocommerce\includes\class-wc-countries.php file.
Please find the following code
$address_fields['billing_phone'] = array(
'label' => __( 'Phone', 'woocommerce' ),
'required' => true,
'type' => 'tel',
'class' => array( 'form-row-last' ),
'clear' => true,
'validate' => array( 'phone' ),
);
on line 952-959 and change 'required' => true,
to 'required' => false,
Regards,
Robert Hall.
Thank you so much my friend!!
Have a nice day!!
Thanks
Keith
Hello kkszeto8,
you are welcome!
Regards,
Stan Russell.
The issue related to '‘Woocommerce Check out page’' has been successfully resolved, and the topic is now closed for further responses