This topic has 5 replies, 3 voices, and was last updated 7 years, 3 months ago ago by Rose Tyler
Hello, I would like to know how to hide the weight and dimension of tab additional information, I am using add_filter (‘woocommerce_product_get_weight’, ‘__return_false’); but it does not work.
Thank you in advance for your attention.
Hello,
You can simply don’t set values for weight and dimension or use this code in Theme Option > Custom css:
.single-product .shop_attributes tr:first-child, .single-product .shop_attributes tr:nth-child(2) {
display: none;
}
Regards
Hi,
Use this Custom CSS in Theme Options -> Styling -> Custom CSS
.shop_attributes tr:nth-child(-n+2) { display: none; }
Let us know,
Thanks,
laranz.
Thank you very much, the css code hid the information.
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up