Remove the Product Meta on the Single Product Page
In the Woocommerce Single Product Pages, the categories to which the product belongs are displayed by default under the “Add to cart” button. This can be removed using the woocommerce_template_single_meta hook.
Steps to Remove the Product Meta
- Go to Appearance –> Theme File Editor and open the functions.php file.
- Add the code below to the fila and save it.
- Refresh the Single Product Page and view the result.
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
We hope this Remove the Product Meta on the Single Product Page was helpful and you can remove the product meta also on your own website now! You can find more articles here:
Read another Woocommerce post : ‘Woocommerce PHP – Product Categories by Product ID‘
Arrow Design, based in Dublin, Ireland, provides quality website design services in Dublin and beyond at affordable prices. If you would like help with implementing the above code, or any wordpress website development project, contact us. We love website design and it shows! We provide custom wordpress plugin development, website design training and lots more.
We do it all, so you don’t have to!
Woocommerce Account Page Hook Guide
In this article you will find a visual hook guide for the Woocommerce Account Pages, like the Login/Register page, the Downloads page or the Orders page.
Woocommerce Single Product Page Hook Guide
In this article you will find a visual hook guide for the Woocommerce Single Product Page. This should help you to quickly and easily find the hook positions on the page.
Woocommerce PHP – Product Categories by Product ID
In this tutorial you will learn how to check if a product is assigned to a tag, a category or a custom taxonomy. You can check if a product is is on the shop page, in the cart, in an order & more.
…We do more, so you can do less 🙂