How to hide or remove product category and product tag from single product page

 How to hide or remove product category and product tag from single product page 


Method-1



Add this line to your theme function.php

/ /remove product category and tag from single product page


remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );






Method-2





Add these css to your style.css file

.single-product .product_meta {


display: none;


}

if css Don't work try add !important afte none;


.single-product .product_meta {


display: none !important;

}

Post a Comment

Previous Post Next Post