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 not work try add !important afte none;
.single-product .product_meta {
display: none !important;
}

2 Comments

  1. does hiding the product-meta impact SEO negatively?

    ReplyDelete
  2. yes may be its depends on how you do seo.

    ReplyDelete

Post a Comment

Previous Post Next Post