{"id":130393,"date":"2020-10-20T22:32:04","date_gmt":"2020-10-20T22:32:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/download-count-for-woocommerce\/"},"modified":"2026-03-29T22:07:48","modified_gmt":"2026-03-29T22:07:48","slug":"download-count-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/km.wordpress.org\/plugins\/download-count-for-woocommerce\/","author":12387480,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.21","stable_tag":"1.21","tested":"7.0","requires":"4.6","requires_php":"8.0","requires_plugins":null,"header_name":"Download Count for WooCommerce","header_author":"Katsushi Kawamori","header_description":"Displays the number of products downloaded by customers.","assets_banners_color":"","last_updated":"2026-03-29 22:07:48","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/shop.riverforest-wp.info\/donate\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/download-count-for-woocommerce\/","header_author_uri":"https:\/\/riverforest-wp.info\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":3924,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.00":{"tag":"1.00","author":"Katsushi Kawamori","date":"2020-10-20 22:32:31"},"1.01":{"tag":"1.01","author":"Katsushi Kawamori","date":"2020-10-21 01:24:55"},"1.02":{"tag":"1.02","author":"Katsushi Kawamori","date":"2020-10-21 01:34:17"},"1.03":{"tag":"1.03","author":"Katsushi Kawamori","date":"2020-10-23 00:19:24"},"1.04":{"tag":"1.04","author":"Katsushi Kawamori","date":"2020-10-25 15:00:48"},"1.05":{"tag":"1.05","author":"Katsushi Kawamori","date":"2020-10-26 01:40:41"},"1.06":{"tag":"1.06","author":"Katsushi Kawamori","date":"2020-10-28 01:08:11"},"1.07":{"tag":"1.07","author":"Katsushi Kawamori","date":"2020-10-28 11:36:37"},"1.08":{"tag":"1.08","author":"Katsushi Kawamori","date":"2020-12-06 23:21:33"},"1.09":{"tag":"1.09","author":"Katsushi Kawamori","date":"2021-03-04 09:13:54"},"1.10":{"tag":"1.10","author":"Katsushi Kawamori","date":"2021-03-04 11:11:06"},"1.11":{"tag":"1.11","author":"Katsushi Kawamori","date":"2022-06-20 23:41:13"},"1.12":{"tag":"1.12","author":"Katsushi Kawamori","date":"2022-10-22 00:54:57"},"1.13":{"tag":"1.13","author":"Katsushi Kawamori","date":"2023-01-31 00:15:37"},"1.14":{"tag":"1.14","author":"Katsushi Kawamori","date":"2023-03-09 22:38:08"},"1.15":{"tag":"1.15","author":"Katsushi Kawamori","date":"2023-07-18 23:18:40"},"1.16":{"tag":"1.16","author":"Katsushi Kawamori","date":"2023-08-06 11:56:03"},"1.17":{"tag":"1.17","author":"Katsushi Kawamori","date":"2023-10-11 23:51:37"},"1.18":{"tag":"1.18","author":"Katsushi Kawamori","date":"2023-10-28 00:03:33"},"1.19":{"tag":"1.19","author":"Katsushi Kawamori","date":"2024-03-03 14:16:59"},"1.20":{"tag":"1.20","author":"Katsushi Kawamori","date":"2024-11-05 23:25:34"},"1.21":{"tag":"1.21","author":"Katsushi Kawamori","date":"2026-03-29 22:07:48"}},"upgrade_notice":{"1.00":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2403598,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.00","1.01","1.02","1.03","1.04","1.05","1.06","1.07","1.08","1.09","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.19","1.20","1.21"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2403598,"resolution":"1","location":"assets","locale":"","width":774,"height":578},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2406266,"resolution":"2","location":"assets","locale":"","width":1214,"height":542},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2403598,"resolution":"3","location":"assets","locale":"","width":1297,"height":645},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2404968,"resolution":"4","location":"assets","locale":"","width":969,"height":674}},"screenshots":{"1":"Products","2":"Admin panel for products","3":"Admin panel for orders","4":"Management screen"}},"plugin_section":[],"plugin_tags":[442,568,746,286],"plugin_category":[45],"plugin_contributors":[79586],"plugin_business_model":[],"class_list":["post-130393","plugin","type-plugin","status-publish","hentry","plugin_tags-count","plugin_tags-download","plugin_tags-product","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-katsushi-kawamori","plugin_committers-katsushi-kawamori"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/download-count-for-woocommerce\/assets\/icon-256x256.png?rev=2403598","icon_2x":"https:\/\/ps.w.org\/download-count-for-woocommerce\/assets\/icon-256x256.png?rev=2403598","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/download-count-for-woocommerce\/assets\/screenshot-1.png?rev=2403598","caption":"Products"},{"src":"https:\/\/ps.w.org\/download-count-for-woocommerce\/assets\/screenshot-2.png?rev=2406266","caption":"Admin panel for products"},{"src":"https:\/\/ps.w.org\/download-count-for-woocommerce\/assets\/screenshot-3.png?rev=2403598","caption":"Admin panel for orders"},{"src":"https:\/\/ps.w.org\/download-count-for-woocommerce\/assets\/screenshot-4.png?rev=2404968","caption":"Management screen"}],"raw_content":"<!--section=description-->\n<p>Displays the number of products downloaded by customers.<\/p>\n\n<h4>Products<\/h4>\n\n<ul>\n<li>The download count is displayed below the price of the product.<\/li>\n<li>The count is the total number of products downloaded.<\/li>\n<\/ul>\n\n<h4>Admin panel for products<\/h4>\n\n<ul>\n<li>The download count is displayed in the \"Downloads\" column of the \"All products\" page in the admin page.<\/li>\n<li>The count is the total number of products downloaded.<\/li>\n<\/ul>\n\n<h4>Admin panel for orders<\/h4>\n\n<ul>\n<li>The download count is displayed in the \"Products : Downloads\" column of the \"Orders\" page in the admin page.<\/li>\n<li>The count will be narrowed down by the product id and order id.<\/li>\n<\/ul>\n\n<h4>Option<\/h4>\n\n<ul>\n<li>There is an option to \"Displayed on the administration screen only\", which can be set from the management screen.<\/li>\n<\/ul>\n\n<h4>Filter<\/h4>\n\n<ul>\n<li>Provide a filter to download count html for product.<\/li>\n<\/ul>\n\n<h4>Filter sample<\/h4>\n\n<ul>\n<li>Modifies the HTML for All Products.<\/li>\n<\/ul>\n\n<pre><code>\/** ==================================================\n * Download Count for WooCommerce\n *\n * download_count_woo\n * @param string $html  html.\n * @param int    $count  count.\n *\/\nfunction download_countproduct( $html, $count ) {\n\n    $html = '&lt;br \/&gt;&lt;span style=\"color: green;\"&gt;' . $count . ' ' . __( 'Downloads', 'woocommerce' ) . '&lt;\/span&gt;';\n\n    return $html;\n\n}\nadd_filter( 'download_count_woo', 'download_countproduct', 10, 2 );\n<\/code><\/pre>\n\n<ul>\n<li>Modifies the HTML for Product ID 331.<\/li>\n<\/ul>\n\n<pre><code>\/** ==================================================\n * Download Count for WooCommerce\n *\n * download_count_woo_\n * @param string $html  html.\n * @param int    $count  count.\n *\/\nfunction download_countproduct_331( $html, $count ) {\n\n    $html = '&lt;br \/&gt;&lt;span style=\"color: red;\"&gt;' . $count . ' ' . __( 'Downloads', 'woocommerce' ) . '&lt;\/span&gt;';\n\n    return $html;\n\n}\nadd_filter( 'download_count_woo_331', 'download_countproduct_331', 10, 2 );\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>download-count-for-woocommerce<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<h4>[1.21] 2025\/04\/15<\/h4>\n\n<ul>\n<li>Fix - Loading the management screen.<\/li>\n<\/ul>\n\n<h4>[1.20] 2024\/05\/28<\/h4>\n\n<ul>\n<li>Remove - customers download count list to management screen.<\/li>\n<\/ul>\n\n<h4>[1.19] 2024\/03\/03<\/h4>\n\n<ul>\n<li>Fix - Added nonce when sorting.<\/li>\n<li>Fix - Order Downloadable Item Checking Issues.<\/li>\n<\/ul>\n\n<h4>1.18<\/h4>\n\n<p>Supported WordPress 6.4.\nPHP 8.0 is now required.<\/p>\n\n<h4>1.17<\/h4>\n\n<p>Fixed a problem of 'woocommerce_get_price_html' filter.<\/p>\n\n<h4>1.16<\/h4>\n\n<p>Supported High Performance Order Storage(COT).<\/p>\n\n<h4>1.15<\/h4>\n\n<p>Fixed a problem of 'woocommerce_get_price_html' filter.<\/p>\n\n<h4>1.14<\/h4>\n\n<p>Fixed a problem that caused an error when there was no count.<\/p>\n\n<h4>1.13<\/h4>\n\n<p>Fixed a problem that caused an error when there was no count.<\/p>\n\n<h4>1.12<\/h4>\n\n<p>Fixed a problem in displaying the number of downloads in the administration screen for multiple products.<\/p>\n\n<h4>1.11<\/h4>\n\n<p>Supported woocommerce 6.5.<\/p>\n\n<h4>1.10<\/h4>\n\n<p>Fixed a problem with customer data load.<\/p>\n\n<h4>1.09<\/h4>\n\n<p>Supported WordPress 5.7.<\/p>\n\n<h4>1.08<\/h4>\n\n<p>Improved the list table in the admin page.<\/p>\n\n<h4>1.07<\/h4>\n\n<p>Fixed display problem in the admin panel.<\/p>\n\n<h4>1.06<\/h4>\n\n<p>Fixed problem of download count for orders page.\nChanged text of dropdown list for sort by product page.\nAdded customers download count list to management screen.<\/p>\n\n<h4>1.05<\/h4>\n\n<p>Added support for sorting by the number of downloads.<\/p>\n\n<h4>1.04<\/h4>\n\n<p>Added downloads column for admin product page.<\/p>\n\n<h4>1.03<\/h4>\n\n<p>Added management screen.<\/p>\n\n<h4>1.02<\/h4>\n\n<p>Change readme.txt.<\/p>\n\n<h4>1.01<\/h4>\n\n<p>Added filter for all products.<\/p>\n\n<h4>1.00<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Displays the number of products downloaded by customers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/130393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=130393"}],"author":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/katsushi-kawamori"}],"wp:attachment":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=130393"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=130393"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=130393"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=130393"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=130393"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=130393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}