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' );
Browse by industry
By platform
Shops, subscriptions and B2B
Custom builds and rebuilds
The projects I'm proudest of
Websites for small businesses, stores and service pros
Custom Divi & WordPress builds
Brand marks that fit the web
Fast, secure, managed hosting
Upgrade from Divi 4, safely
Updates, backups and fixes
Your PageSpeed scores by email
Theme setup done right
One-on-one Divi help
Orlando, FL
Divi Guy blog
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 a hand?
Book a Divi consultation and we can fix it together over Zoom, or ask for an estimate for bigger jobs.
0 Comments