From 8046832287b32dd1779acccc13821e6a8b46de24 Mon Sep 17 00:00:00 2001 From: Isabel Date: Thu, 5 Oct 2017 16:51:25 -0400 Subject: [PATCH] update changelog and version for 1.5 --- readme.txt | 38 +++++++++++------------------------- woocommerce-max-quantity.php | 2 +- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/readme.txt b/readme.txt index 077b78c..73f60da 100755 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: isabel104 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R7BHLMCQ437SS Tags: woocommerce, max quantity, cart maximum, max purchase, cart max, order limit Requires at least: 3.8 -Tested up to: 4.8-alpha-40556 -Stable tag: 1.4.3 +Tested up to: 4.9 +Stable tag: 1.5 License: GNU Version 2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -18,9 +18,9 @@ WooCommerce Max Quantity is a simple extension for WooCommerce that only does on It's like one of those signs at the grocery store that says, "LIMIT 2 PER CUSTOMER!" This plugin will not add a sign like that, but the quantity input field (pictured above) will hit a limit. -You can simply set a universal limit to affect all products in your WooCommerce store. If you prefer, you can set a different limit for each product, individually. Each product's own limit will always override the universal limit. (Support for setting different limits per product was added in WooCommerce Max Quantity version 1.4.) +You can simply set a universal limit to affect all products in your WooCommerce store. If you prefer, you can set a different limit for each product, individually. Each product's own limit will always override the universal limit. -This works for all products in your WooCommerce store: Simple and Variable products. (Support for products with variations was added in version 1.4.) +This works for all products in your WooCommerce store: Simple and Variable products. Customers do not have to be logged in for this to work. This works for guest buyers, as well as logged-in buyers. @@ -63,6 +63,11 @@ Yes, since version 1.4. == Changelog == += 1.5 = +* New - Added filters to the error message strings. +* Fixed - The max was not being enforced the input field for Variable products. +* Fixed - The max now works even when backorders are enabled. + = 1.4.3 = * Fixed - The max limit also works on Variable Products, as long as backorders are not enabled. @@ -146,26 +151,5 @@ Yes, since version 1.4. == Upgrade Notice == -= 1.4 = -NEW- set different limits for individual products. NEW- now works with Variable products (products with variations). - -= 1.3 = -Added compatibility with the WooCommerce Direct Checkout plugin - -= 1.2.4 = -The setting had disappeared on last WC update. - -= 1.2.3 = -Added Dutch translation, thanks Martijn Heesters. - -= 1.2.2 = -Added German translation, thanks @tofuSCHNITZEL. - -= 1.2.1 = -Fix - Did not calculate quantity properly if you UPDATE Quantity on Cart page. - -= 1.1.9 = -Fix: added _update_cart_validation to avoid manual override on cart update at checkout. - -= 1.1.8 = -Fix: they can no longer override limit by manually typing quantity. Other bug also fixed. += 1.5 = +Fixed variations max. New filters for error message. Now works with backorders. diff --git a/woocommerce-max-quantity.php b/woocommerce-max-quantity.php index a045407..1b57f6f 100755 --- a/woocommerce-max-quantity.php +++ b/woocommerce-max-quantity.php @@ -3,7 +3,7 @@ Plugin Name: WooCommerce Max Quantity Plugin URI: https://isabelcastillo.com/free-plugins/woocommerce-max-quantity Description: Set a limit for the max quantity of products that can be added to cart, per product. Now with individual product limits. -Version: 1.5-alpha-4 +Version: 1.5 Author: Isabel Castillo Author URI: https://isabelcastillo.com License: GPL2