{"id":86551,"date":"2018-06-07T20:28:28","date_gmt":"2018-06-07T20:28:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/global-shop-discount-for-woocommerce\/"},"modified":"2025-09-12T16:45:19","modified_gmt":"2025-09-12T16:45:19","slug":"global-shop-discount-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/am.wordpress.org\/plugins\/global-shop-discount-for-woocommerce\/","author":18216844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2.4","stable_tag":"2.2.4","tested":"6.8.5","requires":"4.4","requires_php":"","requires_plugins":null,"header_name":"Sitewide Discount for WooCommerce: Apply Discount to All Products","header_author":"WPFactory","header_description":"Add global shop discount to all WooCommerce products. Beautifully.","assets_banners_color":"bdeef2","last_updated":"2025-09-12 16:45:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpfactory.com\/item\/global-shop-discount-for-woocommerce\/","header_author_uri":"https:\/\/wpfactory.com","rating":5,"author_block_rating":0,"active_installs":700,"downloads":18713,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"algoritmika","date":"2018-06-07 20:28:55"},"1.1.0":{"tag":"1.1.0","author":"algoritmika","date":"2019-11-11 04:43:27"},"1.2.0":{"tag":"1.2.0","author":"algoritmika","date":"2021-01-26 20:50:06"},"1.2.1":{"tag":"1.2.1","author":"algoritmika","date":"2021-01-27 20:10:16"},"1.3.0":{"tag":"1.3.0","author":"algoritmika","date":"2021-02-25 21:24:24"},"1.4.0":{"tag":"1.4.0","author":"algoritmika","date":"2021-09-21 18:41:06"},"1.4.1":{"tag":"1.4.1","author":"algoritmika","date":"2021-09-28 17:45:45"},"1.5.0":{"tag":"1.5.0","author":"algoritmika","date":"2022-04-07 07:38:01"},"1.5.1":{"tag":"1.5.1","author":"algoritmika","date":"2022-07-27 02:29:48"},"1.5.2":{"tag":"1.5.2","author":"wpcodefactory","date":"2022-10-27 23:14:50"},"1.6.0":{"tag":"1.6.0","author":"wpcodefactory","date":"2023-05-18 09:20:23"},"1.6.1":{"tag":"1.6.1","author":"wpcodefactory","date":"2023-06-18 16:59:18"},"1.7.0":{"tag":"1.7.0","author":"wpcodefactory","date":"2023-07-02 16:55:01"},"1.8.0":{"tag":"1.8.0","author":"wpcodefactory","date":"2023-07-23 13:29:49"},"1.9.0":{"tag":"1.9.0","author":"wpcodefactory","date":"2023-07-31 12:33:47"},"1.9.1":{"tag":"1.9.1","author":"wpcodefactory","date":"2023-08-18 09:03:05"},"1.9.2":{"tag":"1.9.2","author":"wpcodefactory","date":"2023-08-30 18:43:03"},"1.9.3":{"tag":"1.9.3","author":"wpcodefactory","date":"2023-09-25 19:18:10"},"1.9.4":{"tag":"1.9.4","author":"wpcodefactory","date":"2023-10-23 19:47:17"},"1.9.5":{"tag":"1.9.5","author":"wpcodefactory","date":"2023-11-10 07:07:56"},"1.9.6":{"tag":"1.9.6","author":"wpcodefactory","date":"2024-01-17 20:35:53"},"1.9.7":{"tag":"1.9.7","author":"wpcodefactory","date":"2024-05-12 11:44:29"},"2.0.0":{"tag":"2.0.0","author":"wpcodefactory","date":"2024-05-23 08:44:45"},"2.0.1":{"tag":"2.0.1","author":"wpcodefactory","date":"2024-07-30 15:36:57"},"2.1.0":{"tag":"2.1.0","author":"wpcodefactory","date":"2024-09-27 08:38:02"},"2.1.1":{"tag":"2.1.1","author":"wpcodefactory","date":"2024-09-28 11:48:08"},"2.2.0":{"tag":"2.2.0","author":"wpcodefactory","date":"2024-10-15 15:40:23"},"2.2.1":{"tag":"2.2.1","author":"wpcodefactory","date":"2024-12-09 10:26:11"},"2.2.2":{"tag":"2.2.2","author":"wpcodefactory","date":"2025-05-08 10:54:01"},"2.2.3":{"tag":"2.2.3","author":"wpcodefactory","date":"2025-07-11 09:29:56"},"2.2.4":{"tag":"2.2.4","author":"wpcodefactory","date":"2025-09-12 16:45:19"}},"upgrade_notice":{"1.0.0":"<p>This is the first release of the plugin.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2971516,"resolution":"128x128","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2971516,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2971516,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2971516,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.7.0","1.8.0","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Discount settings."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[331,282,157729,286],"plugin_category":[45],"plugin_contributors":[78783,80665,178791,189606],"plugin_business_model":[216238],"class_list":["post-86551","plugin","type-plugin","status-publish","hentry","plugin_tags-discount","plugin_tags-ecommerce","plugin_tags-global-shop-discount","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-anbinder","plugin_contributors-karzin","plugin_contributors-omardabbas","plugin_contributors-wpcodefactory","plugin_business_model-commercial","plugin_committers-algoritmika","plugin_committers-wpcodefactory","plugin_support_reps-anbinder","plugin_support_reps-karzin","plugin_support_reps-tahaamin"],"banners":{"banner":"https:\/\/ps.w.org\/global-shop-discount-for-woocommerce\/assets\/banner-772x250.png?rev=2971516","banner_2x":"https:\/\/ps.w.org\/global-shop-discount-for-woocommerce\/assets\/banner-1544x500.png?rev=2971516","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/global-shop-discount-for-woocommerce\/assets\/icon.svg?rev=2971516","icon":"https:\/\/ps.w.org\/global-shop-discount-for-woocommerce\/assets\/icon.svg?rev=2971516","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Sitewide Discount for WooCommerce: Apply Discount to All Products<\/strong> plugin lets you add global shop discount to all or a group of WooCommerce products.<\/p>\n\n<h3>&#9989; Main Features<\/h3>\n\n<ul>\n<li>Set discounts as <strong>percent<\/strong> or as <strong>fixed<\/strong> values.<\/li>\n<li>Set <strong>active date(s)<\/strong> for the discount.<\/li>\n<li>Choose <strong>products scope<\/strong> (sale or non-sale products).<\/li>\n<li>Include\/exclude <strong>product categories<\/strong>.<\/li>\n<li>Include\/exclude <strong>product tags<\/strong>.<\/li>\n<li>Include\/exclude <strong>individual products<\/strong>.<\/li>\n<li>Include\/exclude <strong>custom product taxonomies<\/strong>, e.g., <strong>product brands<\/strong>.<\/li>\n<li>Include\/exclude <strong>users<\/strong>.<\/li>\n<li>Include\/exclude <strong>user roles<\/strong>.<\/li>\n<li>And more...<\/li>\n<\/ul>\n\n<h3>&#8505; More<\/h3>\n\n<ul>\n<li>The plugin is <strong>\"High-Performance Order Storage (HPOS)\"<\/strong> compatible.<\/li>\n<\/ul>\n\n<h3>&#128472; Feedback<\/h3>\n\n<ul>\n<li>We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!<\/li>\n<li><a href=\"https:\/\/wpfactory.com\/item\/global-shop-discount-for-woocommerce\/\">Visit plugin site<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Start by visiting plugin settings at \"WPFactory &gt; Global Shop Discount\".<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.2.4 - 12\/09\/2025<\/h4>\n\n<ul>\n<li>WC tested up to: 10.1.<\/li>\n<\/ul>\n\n<h4>2.2.3 - 11\/07\/2025<\/h4>\n\n<ul>\n<li>Dev - WPFactory Admin Menu - Library updated.<\/li>\n<li>Dev - WPFactory Admin Menu - Icon added.<\/li>\n<li>WC tested up to: 9.9.<\/li>\n<\/ul>\n\n<h4>2.2.2 - 08\/05\/2025<\/h4>\n\n<ul>\n<li>Fix - Translation loading fixed.<\/li>\n<li>Dev - Security - Escape output.<\/li>\n<li>Dev - Key Manager - Library updated.<\/li>\n<li>Dev - Coding standards improved.<\/li>\n<li>WC tested up to: 9.8.<\/li>\n<li>Tested up to: 6.8.<\/li>\n<\/ul>\n\n<h4>2.2.1 - 09\/12\/2024<\/h4>\n\n<ul>\n<li>Dev - Recommendations - Library updated.<\/li>\n<li>Dev - Key Manager - Library updated.<\/li>\n<li>WC tested up to: 9.4.<\/li>\n<li>Tested up to: 6.7.<\/li>\n<li>Plugin name updated.<\/li>\n<\/ul>\n\n<h4>2.2.0 - 15\/10\/2024<\/h4>\n\n<ul>\n<li>Dev - Plugin settings moved to the \"WPFactory\" menu.<\/li>\n<li>Dev - \"Recommendations\" added.<\/li>\n<li>Dev - Key Manager - Library updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<\/ul>\n\n<h4>2.1.1 - 28\/09\/2024<\/h4>\n\n<ul>\n<li>Dev - Key Manager - Library updated.<\/li>\n<\/ul>\n\n<h4>2.1.0 - 27\/09\/2024<\/h4>\n\n<ul>\n<li>Dev - \"Key Manager\" added.<\/li>\n<li>WC tested up to: 9.3.<\/li>\n<\/ul>\n\n<h4>2.0.1 - 30\/07\/2024<\/h4>\n\n<ul>\n<li>WC tested up to: 9.1.<\/li>\n<li>Tested up to: 6.6.<\/li>\n<\/ul>\n\n<h4>2.0.0 - 23\/05\/2024<\/h4>\n\n<ul>\n<li>Dev - PHP 8.2 compatibility - \"Creation of dynamic property is deprecated\" notice fixed.<\/li>\n<li>Dev - Tools - \"Delete transients\" tool added.<\/li>\n<li>Dev - Developers - <code>[alg_wc_gsd_products]<\/code> shortcode - <code>alg_wc_global_shop_discount_shortcode_product_ids<\/code> filter added.<\/li>\n<li>WC tested up to: 8.9.<\/li>\n<li><code>woocommerce<\/code> added to the \"Requires Plugins\" (plugin header).<\/li>\n<\/ul>\n\n<h4>1.9.7 - 12\/05\/2024<\/h4>\n\n<ul>\n<li>Dev - <code>[alg_wc_gsd_products]<\/code> shortcode - Minor code refactoring.<\/li>\n<li>WC tested up to: 8.8.<\/li>\n<li>Tested up to: 6.5.<\/li>\n<\/ul>\n\n<h4>1.9.6 - 17\/01\/2024<\/h4>\n\n<ul>\n<li>Fix - Discount Groups - Products\/Taxonomies - Checking variation ID now (vs. parent (variable) product ID only).<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 8.5.<\/li>\n<\/ul>\n\n<h4>1.9.5 - 10\/11\/2023<\/h4>\n\n<ul>\n<li>Dev - General - Advanced - \"Cache product prices\" option added (defaults to <code>no<\/code>).<\/li>\n<li>Tested up to: 6.4.<\/li>\n<\/ul>\n\n<h4>1.9.4 - 23\/10\/2023<\/h4>\n\n<ul>\n<li>Dev - Discount Groups - Date(s) - Admin settings link removed. Description and examples added.<\/li>\n<li>WC tested up to: 8.2.<\/li>\n<\/ul>\n\n<h4>1.9.3 - 26\/09\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 8.1.<\/li>\n<li>Plugin icon, banner updated.<\/li>\n<\/ul>\n\n<h4>1.9.2 - 30\/08\/2023<\/h4>\n\n<ul>\n<li>Dev - Developers - <code>alg_wc_gsd_get_product_discount_groups()<\/code> function added.<\/li>\n<li>Dev - Developers - <code>alg_wc_gsd_is_discount_product()<\/code> function added.<\/li>\n<\/ul>\n\n<h4>1.9.1 - 18\/08\/2023<\/h4>\n\n<ul>\n<li>Dev \u2013 \"High-Performance Order Storage (HPOS)\" compatibility declared.<\/li>\n<li>WC tested up to: 8.0.<\/li>\n<li>Tested up to: 6.3.<\/li>\n<\/ul>\n\n<h4>1.9.0 - 31\/07\/2023<\/h4>\n\n<ul>\n<li>Dev - Discount Groups - \"User roles\" options added.<\/li>\n<li>Dev - Tools - \"Save prices in DB for all products\" tool added.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<\/ul>\n\n<h4>1.8.0 - 23\/07\/2023<\/h4>\n\n<ul>\n<li>Dev - Discount Groups - \"Rounding\" options added (\"No rounding\" (default), \"Round\", \"Round up\", \"Round down\").<\/li>\n<li>WC tested up to: 7.9.<\/li>\n<\/ul>\n\n<h4>1.7.0 - 02\/07\/2023<\/h4>\n\n<ul>\n<li>Dev - General - \"Apply discounts in backend\" option added (defaults to <code>no<\/code>).<\/li>\n<li>Dev - <code>[alg_wc_gsd_products]<\/code> shortcode - <code>on_empty<\/code> attribute added (defaults to an empty string).<\/li>\n<li>Dev - Code refactoring.<\/li>\n<\/ul>\n\n<h4>1.6.1 - 18\/06\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 7.8.<\/li>\n<\/ul>\n\n<h4>1.6.0 - 18\/05\/2023<\/h4>\n\n<ul>\n<li>Fix - <code>[alg_wc_gsd_products]<\/code> shortcode - <code>use_transient<\/code> attribute bug fixed.<\/li>\n<li>Dev - Developers - <code>alg_wc_gsd_get_product_ids()<\/code> function added.<\/li>\n<li>Dev - Minor code refactoring.<\/li>\n<li>WC tested up to: 7.7.<\/li>\n<li>Tested up to: 6.2.<\/li>\n<\/ul>\n\n<h4>1.5.2 - 27\/10\/2022<\/h4>\n\n<ul>\n<li>WC tested up to: 7.0.<\/li>\n<li>Readme.txt updated.<\/li>\n<li>Deploy script added.<\/li>\n<\/ul>\n\n<h4>1.5.1 - 27\/07\/2022<\/h4>\n\n<ul>\n<li>Dev - <code>[alg_wc_gsd_products]<\/code> shortcode added.<\/li>\n<li>WC tested up to: 6.7.<\/li>\n<li>Tested up to: 6.0.<\/li>\n<\/ul>\n\n<h4>1.5.0 - 07\/04\/2022<\/h4>\n\n<ul>\n<li>Dev - General - \"Use list instead of comma separated text in settings\" option removed (now always <code>yes<\/code>).<\/li>\n<li>Dev - General - Taxonomies - \"Taxonomies sorting in admin settings\" option added.<\/li>\n<li>Dev - Discount Groups - \"Users\" options added.<\/li>\n<li>Dev - Discount Groups - Products - Using <code>wc-product-search<\/code> in admin settings now.<\/li>\n<li>Dev - Discount Groups - Taxonomies - Adding term parents list in admin settings now.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 6.3.<\/li>\n<li>Tested up to: 5.9.<\/li>\n<\/ul>\n\n<h4>1.4.1 - 28\/09\/2021<\/h4>\n\n<ul>\n<li>Dev - PHP v8.0.0 compatibility added.<\/li>\n<li>WC tested up to: 5.7.<\/li>\n<\/ul>\n\n<h4>1.4.0 - 21\/09\/2021<\/h4>\n\n<ul>\n<li>Dev - General - \"Taxonomies\" option added (defaults to \"Product categories\" and \"Product tags\"). It's now possible to include\/exclude various custom taxonomies in the discount groups, e.g., brands, product attributes, etc.<\/li>\n<li>Dev - Discount Groups - Admin settings restyled.<\/li>\n<li>Dev - Plugin is initialized on the <code>plugins_loaded<\/code> action now.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Tested up to: 5.8.<\/li>\n<li>WC tested up to: 5.6.<\/li>\n<\/ul>\n\n<h4>1.3.0 - 25\/02\/2021<\/h4>\n\n<ul>\n<li>Dev - Discount Groups - \"Date(s)\" options added.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 5.0.<\/li>\n<\/ul>\n\n<h4>1.2.1 - 27\/01\/2021<\/h4>\n\n<ul>\n<li>Dev - Settings - Include\/Exclude products\/product categories\/tags - Making sure current values are added to the list. This will ensure that selected values do not disappear when changing site language in backend (e.g., with WPML), or when product\/term is deleted.<\/li>\n<\/ul>\n\n<h4>1.2.0 - 26\/01\/2021<\/h4>\n\n<ul>\n<li>Dev - Use list instead of comma separated text for products in settings - Now applied to \"Include\/Exclude product categories\/tags\" options as well.<\/li>\n<li>Dev - Discount Groups - \"Admin title\" options added.<\/li>\n<li>Dev - Localization - <code>load_plugin_textdomain()<\/code> moved to the <code>init<\/code> action.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Tested up to: 5.6.<\/li>\n<li>WC tested up to: 4.9.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 11\/11\/2019<\/h4>\n\n<ul>\n<li>Dev - Admin settings restyled.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Plugin URI updated.<\/li>\n<li>WC tested up to: 3.8.<\/li>\n<li>Tested up to: 5.2.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 30\/05\/2018<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Add global shop discount to all WooCommerce products. Beautifully.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86551"}],"author":[{"embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcodefactory"}],"wp:attachment":[{"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86551"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86551"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86551"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86551"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86551"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/am.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}