Ask SkyVerge

Hide WooCommerce "Free" Price Label

A common WooCommerce question lately has been how to hide the “Free” price label in the product/category/shop pages. Thanks to WooCommerce’s judicious use of filters/actions, this is very easy request, yet if you’re new to WordPress/WooCommerce you might not necessarily know exactly where to look. Well look no further, because here’s an easy way to suppress that “Free” notice for regular/variable products: add_filter( ‘woocommerce_variable_free_price_html’, ‘hide_free_price_notice’ ); add_filter( ‘woocommerce_free_price_html’, ‘hide_free_price_notice’ ); add_filter( ‘woocommerce_variation_free_price_html’, ‘hide_free_price_notice’ ); /**…

Read More

Hide Certain WooCommerce Sub-Categories in Catalog

WooCommerce provides some coarse control over displaying sub categories in your shop/category pages with the “Show subcategories on category pages” and “Show subcategories on the shop page” options on the WooCommerce > Settings > Catalog > Catalog Options section. These controls are all-or-nothing though: show all subcategories on the category pages, or show all subcategories on the shop page. If you want finer-grained control, for instance displaying only certain subcategories on the shop or particular…

Read More

WooCommerce reviews + tutorials

Create an Overrideable WooCommerce Template File

Sometimes when developing a WooCommerce plugin you want to output a snippet of HTML, and do so in such a way that the content can be easily overridden by a theme. It’s part of the process of crafting a well-engineered, customizable plugin. The best way to achieve this is by using WooCommerce’s own templating mechanism, and what once took some effort and some filters is now a snap thanks to one of the recent WooCommerce…

Read More

WooCommerce reviews + tutorials

WooCommerce 1.4 SSL Admin Mixed Content Bug

2/10/2012 Update – The good people of WooCommerce have fixed this issue as of the 1.4.2 release, so the modification described in this article is no longer needed. I have left the rest of the article untouched for historical curiosity. As I described in my most recent news posting, WooCommerce 1.4 while a great update to the excellent E-Commerce offering from WooCommerce, did include at least one very minor bug. This issue would apply only…

Read More

WooCommerce reviews + tutorials

WooCommerce 1.4 Released and Reviewed

As announced yesterday on The WooCommerce Blog, WooCommerce 1.4 (and in fact, the same day 1.4.1) has been released. I’ll do my best not to just rehash what’s found in that post, but as they said, for developers this is a big release, and big in a great way from my experience so far. It took only a few minutes to upgrade foxrunsoftware.net to 1.4, and the corresponding new release of the Wootique theme and…

Read More