42
If a WooCommerce product comes with weight and/or height / length / width values, these will be displayed by default in the Single Product page, under the “Additional Information” tab.
Should you need to hide them completely from the frontend while keeping the list of attributes below them, thankfully there’s a PHP one-liner you can use. Enjoy!
PHP Snippet: Remove Weight and Dimensions From the Additional Information Tab @ WooCommerce Single Product Page
/**
* @snippet Hide Weight, Dimensions @ WooCommerce Single Product
* @how-to Get tutoraspire.com FREE
* @author Tutor Aspire
* @compatible WooCommerce 6
* @donate $9 https://tutoraspire.com
*/
add_filter( 'wc_product_enable_dimensions_display', '__return_false' );