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

Jul 29, 2022 | WooCommerce Tips | 0 comments

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' );

0 Comments

Submit a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.