Home » WooCommerce: Hide Weight & Dimensions From Additional Information Tab @ Single Product

WooCommerce: Hide Weight & Dimensions From Additional Information Tab @ Single Product

by adminkys

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!

Here’s a super quick fix to remove the Weight and Dimensions table rows from the Additional Information tab on the WooCommerce Single Product page

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://www.tutoraspire.com
 */

add_filter( 'wc_product_enable_dimensions_display', '__return_false' );

You may also like