Fix - Hide if cart is empty option
This commit is contained in:
parent
c72ae36fbe
commit
b1e320f289
|
@ -159,6 +159,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
||||||
* Tweak - Swapped invoice and custom in paypal and added prefix (https://github.com/woothemes/woocommerce/issues/1149)
|
* Tweak - Swapped invoice and custom in paypal and added prefix (https://github.com/woothemes/woocommerce/issues/1149)
|
||||||
* Tweak - Order page styling
|
* Tweak - Order page styling
|
||||||
* Fix - has_file() handling for variations
|
* Fix - has_file() handling for variations
|
||||||
|
* Fix - Hide if cart is empty option
|
||||||
|
|
||||||
= 1.6.2 - 09/08/2012 =
|
= 1.6.2 - 09/08/2012 =
|
||||||
* Feature - Added google analytics event tracking for add to cart buttons (thanks to Max Rice)
|
* Feature - Added google analytics event tracking for add to cart buttons (thanks to Max Rice)
|
||||||
|
|
|
@ -48,7 +48,7 @@ class WooCommerce_Widget_Cart extends WP_Widget {
|
||||||
if ( $title )
|
if ( $title )
|
||||||
echo $before_title . $title . $after_title;
|
echo $before_title . $title . $after_title;
|
||||||
|
|
||||||
$woocommerce->mfunc_wrapper( 'woocommerce_mini_cart()', 'woocommerce_mini_cart', array( $hide_if_empty ? 'hide_cart_widget_if_empty' : '' ) );
|
$woocommerce->mfunc_wrapper( 'woocommerce_mini_cart()', 'woocommerce_mini_cart', array( 'list_class' => $hide_if_empty ? 'hide_cart_widget_if_empty' : '' ) );
|
||||||
|
|
||||||
echo $after_widget;
|
echo $after_widget;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue