How to remove Pages Archives and Categories from WooCommerce pages
How to remove Pages Archives and Categories from WooCommerce pages ? yea from product and shop page of WooCommerce is now showing the side bar widget at the bottom on the page as Pages Archives and Categories. there is already a sidebar widget that is set it from widget manager.
Yea, I’m also faced such a situation after the update WooCommerce latest version. and it look like my template break the layout 🙁 .
The I do a little search on the web and found that we can remove the sidebar widget in WooCommerce pages using following actions.
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);
The above code can be added in your template theme functions.php at the end of page. so it should remove the additional side bard widget on woocommerce shop and product pages.
Hope you Guys able to find this post regarding How to remove Pages Archives and Categories from WooCommerce pages .
thanks for reading 🙂
4 thoughts on “How to remove Pages Archives and Categories from WooCommerce pages”
Thank you, this was a head scratcher. Helped me fix my problem. Owe you a beer;)
You’re welcome 🙂
Finally! Thank you, very useful.
Thank you, it worked.