This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Count of Products in One Category


This plugin provides a shortcode that displays the count of products in a product category. You can use the shortcode on every page or post. IMPORTANT! This is clearly NOT an official plugin from Woocommerce.

انسٹال کرݨ

Upload the plugin files to the /wp-content/plugins/count-of-products-in-category-for-wp-woocommerce directory, or install the plugin through the WordPress plugins screen directly.
Activate the plugin through the ‘Plugins’ screen in WordPress.
Use the shortcode [so_cp_count] in your page or post content.

ہرہک دے سوال

How do I use the shortcode?

Use the [so_cp_count] shortcode in your page or post content.
You must specify a product category name (slug) in the ‘title’ parameter.
This establishes the connection to the category.
ou can also additionally use the optional attribute ‘show_category_name’ to customize the output.
For example, [so_cp_count title=”clothing” show_category_name=”true”] shows the number of products in the clothing category along with the category name.
If you set the parameter ‘show_category_name’ to “false” then the category name will not be displayed, only the number of products in the product category.


There are no reviews for this plugin.

Contributors & Developers

“Count of Products in One Category” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

تبدیلی لاگ


Added use only publish products.


Added feature to exclude products in the trash from product count in the [category_product_count] shortcode.


Added: Ability to swap out the CSS styles for the plugin to a separate file.


Removed: get_results fo count


fix stock


update “how to use”


tested up 6.2


update images in assets


add images to assets


Fixed issue with incorrect category name display.


Added support for optional title and show_category_name shortcode attributes.


Fixed issue with shortcode not displaying on some pages.


Fixed issue with incorrect product count display.


Initial release.