I am working on a website that does not need the shipping weight and dimensions in WooCommerce. On the admin area - when adding a new product, there is the shipping tab which has this option. Is there a way to hide it? I tried using the following CSS but it did not work. I have been looking for a way to use my functions.php file to remove it but cannot figure out how. Here is what I tried:
p.form-field._weight_field {display:none;}
p.form-field .dimensions_field {display:none;}
.woocommerce_options_panel .options_group:first-child{display:none
!important;}
I tried that in multiple variations with no luck. Does anyone know of a way to use the functions.php file and hide just the weight and dimensions input area?