Skip Navigation

[Resolved] Cart Count Not Clickable and Not Showing ‘0’ When Empty

This thread is resolved. Here is a description of the problem and solution.

Problem:
WooCommerce cart doesn't show zero when empty.

Solution:
We have added a request that it optionally display zero when the cart is empty. In the meantime a workaround is described here: https://toolset.com/forums/topic/cart-count-when-empty-needs-to-display-0/

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Susan Siow 5 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#1205247
1.png

The WooCommerce cart count generated from View's shortcode - [wpv-woo-cart-count] is not clickable and not showing '0' when the cart is emply.

site url: hidden link

Please assist, thanks.

#1205276

I've managed to solve the non clickable issue but still need your kind assistance on the zero cart display part.

Thanks.

#1205472

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Susan

It seems we don't document that shortcode, so I'm not sure what to expect. I'll create a ticket to document it, and any available options.

I notice that this has come up before, and Shane resorted to writing his own shortcode to use instead of the wpv-woo-cart-count shortcode, and you might want to do the same: https://toolset.com/forums/topic/cart-count-when-empty-needs-to-display-0/

In the meantime I will request of the developers that when there is nothing in the cart zero is output.

#1205487

Thanks Nigel, kindly sent a request of optional selections (display zero or not) to your technical team.