Àpèjúwe
Displays the number of products downloaded by customers.
Products
- The download count is displayed below the price of the product.
- The count is the total number of products downloaded.
Admin panel for products
- The download count is displayed in the “Downloads” column of the “All products” page in the admin page.
- The count is the total number of products downloaded.
Admin panel for orders
- The download count is displayed in the “Products : Downloads” column of the “Orders” page in the admin page.
- The count will be narrowed down by the product id and order id.
Option
- There is an option to “Displayed on the administration screen only”, which can be set from the management screen.
Filter
- Provide a filter to download count html for product.
Filter sample
- Modifies the HTML for All Products.
/** ==================================================
* Download Count for WooCommerce
*
* download_count_woo
* @param string $html html.
* @param int $count count.
*/
function download_countproduct( $html, $count ) {
$html = '<br /><span style="color: green;">' . $count . ' ' . __( 'Downloads', 'woocommerce' ) . '</span>';
return $html;
}
add_filter( 'download_count_woo', 'download_countproduct', 10, 2 );
- Modifies the HTML for Product ID 331.
/** ==================================================
* Download Count for WooCommerce
*
* download_count_woo_
* @param string $html html.
* @param int $count count.
*/
function download_countproduct_331( $html, $count ) {
$html = '<br /><span style="color: red;">' . $count . ' ' . __( 'Downloads', 'woocommerce' ) . '</span>';
return $html;
}
add_filter( 'download_count_woo_331', 'download_countproduct_331', 10, 2 );
Ìgbéwọlẹ̀
- Upload
download-count-for-woocommercedirectory to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
FAQ
none
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“Download Count for WooCommerce” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaA ti túmọ̀ “Download Count for WooCommerce” sí àwọn èdè agbègbè 6. Ọpẹ́lọpẹ́ fún àwọn atúmọ̀ èdè fún àwọn ìkópa wọn.
Túmọ̀ “Download Count for WooCommerce” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
[1.21] 2025/04/15
- Fix – Loading the management screen.
[1.20] 2024/05/28
- Remove – customers download count list to management screen.
[1.19] 2024/03/03
- Fix – Added nonce when sorting.
- Fix – Order Downloadable Item Checking Issues.
1.18
Supported WordPress 6.4.
PHP 8.0 is now required.
1.17
Fixed a problem of ‘woocommerce_get_price_html’ filter.
1.16
Supported High Performance Order Storage(COT).
1.15
Fixed a problem of ‘woocommerce_get_price_html’ filter.
1.14
Fixed a problem that caused an error when there was no count.
1.13
Fixed a problem that caused an error when there was no count.
1.12
Fixed a problem in displaying the number of downloads in the administration screen for multiple products.
1.11
Supported woocommerce 6.5.
1.10
Fixed a problem with customer data load.
1.09
Supported WordPress 5.7.
1.08
Improved the list table in the admin page.
1.07
Fixed display problem in the admin panel.
1.06
Fixed problem of download count for orders page.
Changed text of dropdown list for sort by product page.
Added customers download count list to management screen.
1.05
Added support for sorting by the number of downloads.
1.04
Added downloads column for admin product page.
1.03
Added management screen.
1.02
Change readme.txt.
1.01
Added filter for all products.
1.00
Initial release.



