Home/Freeware/WordPress/Product Count
WordPress pluginWooCommerceShortcodeFree

WooCommerce Product Count Shortcode

Show your live WooCommerce product count anywhere with one shortcode — filter by category or status if you like.

Version 1.0WP 6.0+PHP 7.4+Updated Jul 2026Downloads 0

What it does 01

Adds a single, no-configuration shortcode — [wc_product_count] — that outputs the live number of products in your store. It updates as you add or remove products, so copy like “65+ designs and counting” never goes stale.

  • Works anywhere shortcodes do: the Shortcode block, classic editor, text widgets and most page builders (WPBakery, Elementor…).
  • Count one or more categories — [wc_product_count category="apparel,poster"] — without double-counting.
  • Count by status with status="draft" or status="any" (default is publish).
  • Outputs a plain number in your site's locale format (e.g. 1,250) that inherits the surrounding typography.
  • Variable products count once, however many variations they have.
  • No settings page, no database tables, no front-end scripts or styles — just one fast query.

Setup 02 · about 1 minute

  1. Install it. In WordPress go to Plugins → Add New → Upload Plugin, choose the .zip you downloaded and click Install Now.
  2. Activate it from the same screen (or later from Plugins). WooCommerce needs to be installed and active.
  3. Add the shortcode. Drop [wc_product_count] into any page, post, widget or page-builder text block — e.g. We have [wc_product_count] designs in the shop.
  4. Filter it if you need to: add category="your-slug" (slugs are under Products → Categories) or status="any".

FAQ 03

Where do I find a category slug?

Under Products → Categories in your WordPress admin. Separate several slugs with commas.

How do I style the number?

Style the text around it. The shortcode outputs a bare number, so placing it inside a heading turns it into a big stat counter.

Do variations count as separate products?

No. A variable product counts once, no matter how many sizes or colors it has.

What if WooCommerce is deactivated?

The shortcode quietly outputs nothing — no errors on your pages.

Is it really free?

Yes — GPL-2.0, free forever, no upsells inside the plugin.

Changelog 04

1.0Jul 18, 2026 · Latest
  • Initial release
Need it to do something else?

I customize plugins and build new ones from scratch — same care, made for your site.

Ask me

Comments

Every comment is reviewed before it appears.

No comments yet — questions, ideas and bug reports are all welcome.

Leave a comment

Replying to
Comments are moderated and appear once approved. Your email is only used to notify you of replies.
Thanks! Your comment is awaiting moderation and will appear once it's approved.
Freeware

More free plugins.

All freeware →
WordPress

WooCommerce Products Video Slider

Add video links to any WooCommerce product and show them on the product page — a slider when there's more than one.

FreeDownload ↓
WordPress

WooCommerce – Minimum Amount Checkout

Set a store-wide minimum order amount. Shoppers see a notice, and Place Order stays disabled until the cart reaches it.

FreeDownload ↓
WordPress

Media Upload Disabler

Choose exactly which file types can be uploaded to WordPress, with a simple ON/OFF toggle for each one.

FreeDownload ↓