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

TIPS

Jul 29, 2022 | WooCommerce Tips | 0 comments

This function hides the product weight and dimension on the WooCommerce single product pages.
[php]
/* Hides the product weight and dimension on the single product page. */
add_filter( 'wc_product_enable_dimensions_display', '__return_false' );
[/php]

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

More Tips

Ad - Web Hosting from SiteGround - Crafted for easy site management. Click to learn more.

Cloudways Hosting

WPEngine Hosting

Pressable Hosting

AccuWeb Hosting

Ask the Divi Guy a Question

"*" indicates required fields