Hide the product weight and dimension on the WooCommerce single product page.

Jul 29, 2022 | WooCommerce Tips

This function hides the product weight and dimension on the WooCommerce single product pages.

/* Hides the product weight and dimension on the single product page. */
add_filter( 'wc_product_enable_dimensions_display', '__return_false' );

Need help with this?
Hire me for a consultation and I’ll walk you thru the process.