From 877d96ee51e522200443ac769bed78ac5c843eb4 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Mon, 23 Dec 2024 15:33:07 +0600 Subject: [PATCH 1/5] Prepare release v2.0.6 --- wc-min-max-quantities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wc-min-max-quantities.php b/wc-min-max-quantities.php index 6ea7e17..09944f9 100644 --- a/wc-min-max-quantities.php +++ b/wc-min-max-quantities.php @@ -3,7 +3,7 @@ * Plugin Name: WC Min Max Quantities * Plugin URI: https://pluginever.com/woocommerce-min-max-quantities-pro/ * Description: The plugin allows you to Set minimum and maximum allowable product quantities and price per product and order. - * Version: 2.0.5 + * Version: 2.0.6 * Requires at least: 5.0 * Requires PHP: 7.4 * Author: PluginEver From d1dad80d00e0d90bd2294aa1aa23e70e96c6826b Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Mon, 23 Dec 2024 15:58:04 +0600 Subject: [PATCH 2/5] Add WC Compatibility version in header --- wc-min-max-quantities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wc-min-max-quantities.php b/wc-min-max-quantities.php index 09944f9..c3276f3 100644 --- a/wc-min-max-quantities.php +++ b/wc-min-max-quantities.php @@ -14,7 +14,7 @@ * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Tested up to: 6.7 * WC requires at least: 3.0.0 - * WC tested up to: 9.4 + * WC tested up to: 9.5 * Requires Plugins: woocommerce * * @package WooCommerceMinMaxQuantities @@ -32,7 +32,7 @@ * GNU General Public License for more details. */ -defined( 'ABSPATH' ) || exit; +defined( 'ABSPATH' ) || exit; // Exit if accessed directly. // Autoload classes. require_once __DIR__ . '/vendor/autoload.php'; From 5e549762302ba0cbc13934693f327b39abc4e2b4 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Mon, 23 Dec 2024 16:09:06 +0600 Subject: [PATCH 3/5] Update readme file --- readme.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 3627dad..994596e 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: limit quantity, limit cost, woocommerce limits, range to buy, min and max Requires at least: 5.0 Tested up to: 6.7 Requires PHP: 7.4 -Stable tag: 2.0.5 +Stable tag: 2.0.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -67,6 +67,7 @@ WC Min Max Quantities is a versatile and powerful plugin when it comes to use ca * **Disable Category Rule (PRO):** You can ignore the minimum/maximum rules for any specific category. * **Enable Multiple Vendor Support (PRO):** Your vendors can implement their own rules if you’re using WCFM, Multivendor X, Dokan, etc. multivendor plugins for your WooCommerce store. * **Set Limits for Each Product Variation (PRO):** Minimum/maximum quantity, minimum/maximum amount, and quantity steps for product variations and categories are all supported. +* **Set Limits for Grouped Products:** Set minimum/maximum quantity, minimum/maximum amount, and quantity steps for grouped products. * **Allow Combination for Variable Products (PRO):** Instead of using each variation rule, you can use combined rules. * **Translations (PRO):** Set customizable text/message for any restriction error that will appear if It doesn’t meet the Min Max requirements/conditions. @@ -156,6 +157,15 @@ From the product page, go to general settings and select ignore min/max rules, a = Can I set the min-max rule for the variable products? = Yes, you can set the min/max quantity rule for the parent product. You can choose any number of variations within the given condition in the parent product. += Can I set the min-max rule for the variable product variations? = +Yes, you can set the min/max quantity rule for the variable product variations. You can choose any number of variations within the given condition in the parent product. + += Can I set the min-max rule for the grouped products? = +Yes, you can set the min/max quantity rule for the grouped products. You can choose any number of products within the given condition in the grouped product. + += Can I set the min-max rule for the product category? = +Yes, you can set the min/max quantity rule for the product category. You can choose any number of products within the given condition in the product category. + = Does the cart have a separate min/max rule? = Yes, you need to set a separate cart rule from the settings. Whatever min/max rule you set, whether global or per product, the cart rule will eventually get priority. = What if I do not set the cart rule? = From 299c5b82b5421362cfae1f4def4c11215a42f50a Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Mon, 23 Dec 2024 16:09:42 +0600 Subject: [PATCH 4/5] Update package --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0eae0dc..6799e74 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wc-min-max-quantities", "title": "Min Max Quantities for WooCommerce", - "version": "2.0.5", + "version": "2.0.6", "description": "The plugin allows you to Set minimum and maximum allowable product quantities and price per product and order.", "homepage": "https://pluginever.com/", "license": "GPL v2 or laterr", From 65eaa78442891800e1623f5bb404f590b665dd00 Mon Sep 17 00:00:00 2001 From: kawsarahmedr Date: Mon, 23 Dec 2024 16:10:15 +0600 Subject: [PATCH 5/5] Update pot file --- languages/wc-min-max-quantities.pot | 4 ++-- package-lock.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/languages/wc-min-max-quantities.pot b/languages/wc-min-max-quantities.pot index 78a0ff7..4e1063f 100644 --- a/languages/wc-min-max-quantities.pot +++ b/languages/wc-min-max-quantities.pot @@ -2,9 +2,9 @@ # This file is distributed under the GPL v2 or later. msgid "" msgstr "" -"Project-Id-Version: WC Min Max Quantities 2.0.5\n" +"Project-Id-Version: WC Min Max Quantities 2.0.6\n" "Report-Msgid-Bugs-To: https://pluginever.com/support/\n" -"POT-Creation-Date: 2024-12-03 04:54:34+00:00\n" +"POT-Creation-Date: 2024-12-23 10:10:06+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/package-lock.json b/package-lock.json index 9ccb6ad..67e8b90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "wc-min-max-quantities", - "version": "2.0.5", + "version": "2.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "wc-min-max-quantities", - "version": "2.0.5", + "version": "2.0.6", "license": "GPL v2 or laterr", "devDependencies": { "@lodder/time-grunt": "^4.0.0",