Hello,
I have added this code to my theme child functions.php file, in order to hide weight and dimensions from the product detail Info tab.
add_filter( ‘woocommerce_product_enable_dimensions_display’, ‘__return_false’ );
It didn’t work. Could you tell me how to do it?
Regards,
Javi.