This topic has 4 replies, 3 voices, and was last updated 8 months, 1 weeks ago ago by Luca Rossi
Hello.
I need to hide the weight and dimension information in the additional information section of single product, since it is not relevant information for my client, only for internal shipping use.
Thanks!
Hello, LVRB Love’s Rebel,
Thank you for reaching out to us with your request.
We kindly ask that you refer to the following article for guidance on editing product data tabs: https://woocommerce.com/document/editing-product-data-tabs/
Please note that the Additional Information tab is a feature provided by WooCommerce and is not specific to our theme. For further assistance with this matter, we recommend reaching out directly to WooCommerce Support – https://wordpress.org/support/plugin/woocommerce/
Best Regards,
8Theme’s Team
Hello.
Thanks for the previous answer, but I tried the codes and it didn’t work for me.
Could you help me by indicating the exact code to use to hide the weight and dimension attributes on my site so that they are not visible to the client?
Please, I need that help.
Hi @LVRB Love’s Rebel,
Please try adding the following code under functions.php file locates in your child theme:
/**
* @snippet Hide Weight, Dimensions @ WooCommerce Single Product
* @compatible WooCommerce 8
*/
add_filter( 'wc_product_enable_dimensions_display', '__return_false' );
Hope it helps!
You must be logged in to reply to this topic.Log in/Sign up