Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями 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.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Count of Products in One Category” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Count of Products in One Category” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0.15

Added use only publish products.

1.0.14

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

1.0.13

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

1.0.12

Removed: get_results fo count

1.0.11

fix stock

1.0.10

update “how to use”

1.0.9

tested up 6.2

1.0.8

update images in assets

1.0.7

add images to assets

1.0.5

Fixed issue with incorrect category name display.

1.0.4

Added support for optional title and show_category_name shortcode attributes.

1.0.3

Fixed issue with shortcode not displaying on some pages.

1.0.2

Fixed issue with incorrect product count display.

1.0.1

Initial release.