Hide the product's weight and dimensions
Hide the product's weight and dimensions in WooCommerce with one line of code in your functions.php file. Learn how in this tutorial.
If you are not selling digital products, you are probably using the weight and dimensions for your products because you need to ship them. At least the weight will be required for all the shipping services.
The “problem” is that when you add those data in the product, they appear in the single product page. How can you hide them?
There’s a very quick way to hide those data since they are not useful to the customers in most cases.
Open your functions.php file located in wp-content/themes/your-theme-name/ and add this code at the end of it:
Pubblicato il: 18 May 2023Articoli