Skip Navigation

[Resolved] Woocommerce product count

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

Problem:

The issue here is that the user wanted to know if there was a specific shortcode for the woocommerce product count.

Solution:

Unfortunately no there isn't, if you are using views to list out all your products then you can use the shortcode below to get the product count.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-items-count

This support ticket is created 5 years, 4 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by jelle-jacobd 5 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#1308103

Tell us what you are trying to do?
Is there a shortcode available for showing WooCommerce product total (based on a selection) same as on standard WooCommerce product/shop archive page?

Thanks.

#1308243

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jelle,

Thank you for contacting our support forum.

I'm assuming that you've create a custom view for displaying your products.

In this case you can use the shortcode in the link below.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-items-count

Thanks,
Shane

#1308543

Hi Shane,

Thanks. Oke, so I have to use a view in order to use this shortcode. It is not available for use on theme template page?

#1309627

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jelle,

Yes that is correct, its because we have to have a list of items in order to know the count.

Thanks,
Shane

#1311727

Hi Shane,

Thanks for clearing this one up as well.

My issue is resolved now. Thank you!