UPDATE: If you are using WooCommerce 2.0+ then you need to read this blog post I wrote instead which explains the ‘new’ system for you.
Another quickie from me today. I have been using WooCommerce a lot recently but there are just some options that could do with making into options or filters I think. As I understand it’s a JigoShop rebadge with a bit of Woo goodness in there for luck and it seems to be paying off. I never want to use WP Ecommerce again at this rate.
Each WooCommerce installation will have the reviews tabs added to individual product pages. As I understand it it uses the WordPress comment system to hold review information (so says one forum, i’ve not bothered to check it out). I noted that people are wanting to know how to turn this functionality off as reviews don’t really apply to all products in all shops. Adding this code to your theme functions.php file will remove the reviews tab. If you want it back then just remove the lines.. simples.
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30); remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_reviews_panel', 30);
People have asked how to remove the product attributes tab and the additional description tab also. You can do so using the following code:
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10); remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_description_panel', 10);
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 20); remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_attributes_panel', 20);
Also see my new tutorial in how to add a new tab to the WooCommerce product pages