Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix hide cart if empty #2664

merged 1 commit into from Mar 11, 2013


None yet
4 participants

krbvroc1 commented Mar 10, 2013

jQuery should use classname of '.widget_shopping_cart', not '.widget'.

TwentyTen theme does not label widgets using the generic .widget class. TwentyEleven/TwentyTwelve does. That is why this worked for @coenjacobs but not me.

See #2642

@mikejolley mikejolley added a commit that referenced this pull request Mar 11, 2013

@mikejolley mikejolley Merge pull request #2664 from krbvroc1/fix_cart_widget_hiding
Fix hide cart if empty

@mikejolley mikejolley merged commit e2da14e into woocommerce:master Mar 11, 2013

@krbvroc1 krbvroc1 deleted the krbvroc1:fix_cart_widget_hiding branch Mar 11, 2013

I am having the same issue. It was working fine, but stopped working after an update. Not sure which one, unfortuantely. Tried everything I know to fix and cannot figure it out.

I am having the same issue with WooCommerce v 2.0.12.
It was working fine. Now the Shopping Cart is visible, even if it is empty.

Any resolution on this?

There's been no resolution as far as I can tell. Unable to find any solid information I just gave up.

Thanks for reporting back. I wonder if Mike is aware and it is patched on next release?
This one is pretty visible to users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment