Cart Item Count Indicator

Hello,

No site in particular but I have a lot of Pro sites that run WooCommerce and all use Pro’s cart elements in the header.

Obviously key thing missing here is an item count indicator which you used to have out of the box with X back in the day - The description for the option is still there but obviously doesn’t work as there is no selector available although it didn’t work with Pro anyway:

There have been a few feature requests for this with the only solution using a third part plugin as shown here: https://theme.co/apex/forum/t/header-cart-widget-item-count-indicator/49306

Your cart elements have come along way since X - it’s a shame that it’s missing the final touch in making it perfect.

Is there anything that you recommend or have available to activate this feature?
Back when it was only X in the old forum which I’m unable to find my old topics there was a fix to install this manually when we custom added widgets into the header.

Hope you can help here

J

Hi J,

Thank you for reaching out to us. Displaying an item count in the Cart element can be easily achieved by using Dynamic Content. All you need to do is to enable the Text Setup in the Toggle and use Dynamic Content to show the count (see screenshots)

Or you can simply paste the following code in the Primary Text field:

{{dc:woocommerce:cart_items}}

To learn more about Dynamic Content please see https://theme.co/changelog/#theme-pro-2-5-0-theme-x-6-5-0-cornerstone-3-5-0

Hope this helps!

Thanks so much! I didn’t realise we could do that!

You should post a link to all of those unresolved threads :slight_smile:

Thanks again!

You’re always welcome @j300bac.

Glad @Nabeel was able to help you here. Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.