Skip to content

wpcodefactory/global-shop-discount-for-woocommerce

Repository files navigation

=== Global Shop Discount for WooCommerce ===
Contributors: wpcodefactory, algoritmika, anbinder, karzin, omardabbas
Tags: woocommerce, discount, global shop discount, woo commerce
Requires at least: 4.4
Tested up to: 6.6
Stable tag: 2.2.0
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Add global shop discount to all WooCommerce products. Beautifully.

== Description ==

**Global Shop Discount for WooCommerce** plugin lets you add global shop discount to all or a group of WooCommerce products.

### ✅ Main Features ###

* Set discounts as **percent** or as **fixed** values.
* Set **active date(s)** for the discount.
* Choose **products scope** (sale or non-sale products).
* Include/exclude **product categories**.
* Include/exclude **product tags**.
* Include/exclude **individual products**.
* Include/exclude **custom product taxonomies**, e.g., **product brands**.
* Include/exclude **users**.
* Include/exclude **user roles**.
* And more...

### ℹ More ###

* The plugin is **"High-Performance Order Storage (HPOS)"** compatible.

### 🗘 Feedback ###

* We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!
* [Visit plugin site](https://wpfactory.com/item/global-shop-discount-for-woocommerce/).

== Installation ==

1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Start by visiting plugin settings at "WooCommerce > Settings > Global Shop Discount".

== Screenshots ==

1. Discount settings.

== Changelog ==

= 2.2.0 - 15/10/2024 =
* Dev - Plugin settings moved to the "WPFactory" menu.
* Dev - "Recommendations" added.
* Dev - Key Manager - Library updated.
* Dev - Code refactoring.

= 2.1.1 - 28/09/2024 =
* Dev - Key Manager - Library updated.

= 2.1.0 - 27/09/2024 =
* Dev - "Key Manager" added.
* WC tested up to: 9.3.

= 2.0.1 - 30/07/2024 =
* WC tested up to: 9.1.
* Tested up to: 6.6.

= 2.0.0 - 23/05/2024 =
* Dev - PHP 8.2 compatibility - "Creation of dynamic property is deprecated" notice fixed.
* Dev - Tools - "Delete transients" tool added.
* Dev - Developers - `[alg_wc_gsd_products]` shortcode - `alg_wc_global_shop_discount_shortcode_product_ids` filter added.
* WC tested up to: 8.9.
* `woocommerce` added to the "Requires Plugins" (plugin header).

= 1.9.7 - 12/05/2024 =
* Dev - `[alg_wc_gsd_products]` shortcode - Minor code refactoring.
* WC tested up to: 8.8.
* Tested up to: 6.5.

= 1.9.6 - 17/01/2024 =
* Fix - Discount Groups - Products/Taxonomies - Checking variation ID now (vs. parent (variable) product ID only).
* Dev - Code refactoring.
* WC tested up to: 8.5.

= 1.9.5 - 10/11/2023 =
* Dev - General - Advanced - "Cache product prices" option added (defaults to `no`).
* Tested up to: 6.4.

= 1.9.4 - 23/10/2023 =
* Dev - Discount Groups - Date(s) - Admin settings link removed. Description and examples added.
* WC tested up to: 8.2.

= 1.9.3 - 26/09/2023 =
* WC tested up to: 8.1.
* Plugin icon, banner updated.

= 1.9.2 - 30/08/2023 =
* Dev - Developers - `alg_wc_gsd_get_product_discount_groups()` function added.
* Dev - Developers - `alg_wc_gsd_is_discount_product()` function added.

= 1.9.1 - 18/08/2023 =
* Dev – "High-Performance Order Storage (HPOS)" compatibility declared.
* WC tested up to: 8.0.
* Tested up to: 6.3.

= 1.9.0 - 31/07/2023 =
* Dev - Discount Groups - "User roles" options added.
* Dev - Tools - "Save prices in DB for all products" tool added.
* Dev - Code refactoring.

= 1.8.0 - 23/07/2023 =
* Dev - Discount Groups - "Rounding" options added ("No rounding" (default), "Round", "Round up", "Round down").
* WC tested up to: 7.9.

= 1.7.0 - 02/07/2023 =
* Dev - General - "Apply discounts in backend" option added (defaults to `no`).
* Dev - `[alg_wc_gsd_products]` shortcode - `on_empty` attribute added (defaults to an empty string).
* Dev - Code refactoring.

= 1.6.1 - 18/06/2023 =
* WC tested up to: 7.8.

= 1.6.0 - 18/05/2023 =
* Fix - `[alg_wc_gsd_products]` shortcode - `use_transient` attribute bug fixed.
* Dev - Developers - `alg_wc_gsd_get_product_ids()` function added.
* Dev - Minor code refactoring.
* WC tested up to: 7.7.
* Tested up to: 6.2.

= 1.5.2 - 27/10/2022 =
* WC tested up to: 7.0.
* Readme.txt updated.
* Deploy script added.

= 1.5.1 - 27/07/2022 =
* Dev - `[alg_wc_gsd_products]` shortcode added.
* WC tested up to: 6.7.
* Tested up to: 6.0.

= 1.5.0 - 07/04/2022 =
* Dev - General - "Use list instead of comma separated text in settings" option removed (now always `yes`).
* Dev - General - Taxonomies - "Taxonomies sorting in admin settings" option added.
* Dev - Discount Groups - "Users" options added.
* Dev - Discount Groups - Products - Using `wc-product-search` in admin settings now.
* Dev - Discount Groups - Taxonomies - Adding term parents list in admin settings now.
* Dev - Code refactoring.
* WC tested up to: 6.3.
* Tested up to: 5.9.

= 1.4.1 - 28/09/2021 =
* Dev - PHP v8.0.0 compatibility added.
* WC tested up to: 5.7.

= 1.4.0 - 21/09/2021 =
* 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.
* Dev - Discount Groups - Admin settings restyled.
* Dev - Plugin is initialized on the `plugins_loaded` action now.
* Dev - Code refactoring.
* Tested up to: 5.8.
* WC tested up to: 5.6.

= 1.3.0 - 25/02/2021 =
* Dev - Discount Groups - "Date(s)" options added.
* Dev - Code refactoring.
* WC tested up to: 5.0.

= 1.2.1 - 27/01/2021 =
* 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.

= 1.2.0 - 26/01/2021 =
* Dev - Use list instead of comma separated text for products in settings - Now applied to "Include/Exclude product categories/tags" options as well.
* Dev - Discount Groups - "Admin title" options added.
* Dev - Localization - `load_plugin_textdomain()` moved to the `init` action.
* Dev - Admin settings descriptions updated.
* Dev - Code refactoring.
* Tested up to: 5.6.
* WC tested up to: 4.9.

= 1.1.0 - 11/11/2019 =
* Dev - Admin settings restyled.
* Dev - Code refactoring.
* Plugin URI updated.
* WC tested up to: 3.8.
* Tested up to: 5.2.

= 1.0.0 - 30/05/2018 =
* Initial Release.

== Upgrade Notice ==

= 1.0.0 =
This is the first release of the plugin.