There
are different types of products such as digital, which do not require the
fields width and height
It makes us upset to have those fields once you are creating a product.
How to remove them?!
Simple, you just have to add the following lines of code in the file functions.php of your theme.
*/
add_filter( ‘wc_product_weight_enabled’, ‘__return_false’ );
add_filter( ‘wc_product_dimensions_enabled’, ‘__return_false’ );
Comments are closed.