=== Product Quantity, Minimum Maximum quantity & Minimum Order quantity WooCommerce ===
Contributors: rajeshsingh520
Donate link: piwebsolution.com
Tags: Minimum Order Amount, Minimum order, WooCommerce minimum order, WooCommerce order, Maximum Order Amount, minimum maximum quantity, min max quantity, minimum order size
Requires at least: 3.0.1
Tested up to: 5.4.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Set Product Quantity, Minimum Maximum Quantity, Minimum Order Amount, Minimum order size for WooCommerce

== Description ==

[Demo website](http://websitemaintenanceservice.in/mmq/shop/)

* Activate the plugin, go to setting page and and set <strong>global level min or max Product Quantity</strong>

* Set <strong>minimum product quantity</strong> for each product that should be purchased

* Set <strong>maximum product quantity</strong> for each product that can be purchased

* Set minimum cart total that is minimum total at the time of checkout

* If you don't want quantity restriction on certain product you can <strong>disable the limit</strong> on that particular product quantity

* Enable <strong>minimum amount restriction</strong> on the cart total

* Set <strong>different messages</strong> of the minimum amount restriction based on the cart total as percent of the minimum amount set in the plugin setting

* Show <strong>minimum amount progress</strong> in circular progress bar

* Show <strong>warning message of minimum amount</strong> on top of the pages 

== PRO Version ==

* All the features of Free version

* Set a <strong>different minimum quantity for each product</strong>, this will overwrite the global minimum quantity for that product 

* Set a <strong>different maximum quantity for each product</strong>, this will overwrite the global maximum quantity for that product 

* <strong>Customize messages</strong>

* Change the image that is shown inside the circular progress for the minimum order amount WooCommerce

* <strong>Set text and background color of the message box</strong> based on the different condition the quantity of product present in the cart

* Minimum order amount WooCommerce bar get <strong>updated by ajax</strong>

* Place minimum order amount needed info bar using short code **[pisol_mmq_notification]**

* Pro version update the <strong>min max notice message on the category / Shot page with ajax</strong>

* Control the page where you want to show the minimum order amount restriction notification bar

* You can write custom code to disable minimum order amount notification on custom pages using filter function

* Show/Hide Min Max quantity message on product archive page, product page, cart page or checkout page

* Set different position for Min Max quantity message on product archie page and single product page

* **Don't go inside each product to set Min/Max quantity**, instead  set it from the category, so all product withing this category will inherit this min/max quantity limit

* Set minimum quantity restriction on the category, so user has to purchase minimum that many unit from that particular category

* Checkout page will redirect to cart page when the Minimum quantity restriction is not fulfilled for any product

* Checkout page will redirect to cart page when the Minimum amount restriction is not fulfilled for any product

* You can set minimum amount restriction per category basis, so if a buyer purchase a $10 product from Category A, and you have set Min amount limit of $20 on that category then he wont be able to checkout until he purchase $10 more from the same category A

== Screenshots ==
1. Running the minimum required amount for checkout, and its notification is shown on top using short code [pisol_mmq_notification]
2. Message shown below the product in shop page, this info gets updated with ajax as user add product to cart
3. This shows the product status on the cart page like how much he can buy more or he need to buy more

== Frequently Asked Questions ==

= I only want to set Min quantity =
Yes you can set only minimum product quantity on global level

= I only want to set Maximum Quantity =
Yes you can set maximum product quantity on global level

= I want to set min max quantity, but exclude some product =
yes there is option to exclude product from global min amd max quantity

= Can i change the message that is shown =
Yes, you can set different messages 

= Where will it show the message =
It will show the message in top bar notification

= Will the message update on through Ajax =
Yes as the user buys the message on the top bar updates itself

= Can i set custom color for the message box =
yes in the pro version you can set the color for the message box based on different conditions

= Show linear progress towards minimum quantity required for product =
Pro version show a linear progress bar for the minimum quantity required

= Change color of the progress live =
Yes you can change color of the line in the pro version from the backend

= Change the progress message on the Archive pages =
Pro version does change the progress message on the archive page with ajax

= I don't want to show the minimum amount restriction on all the pages of the site =
Pro version does gives you the option to control the page where you want to show the minimum amount restriction

= I have some custom pages where i don't want to show the minimum amount restriction =
In Pro version there is a filter available, using that filter you can write your custom logic to disable the minimum amount notification bar
 You can use filter <strong>pi_mmq_control_filter</strong> to create your custom rule to disable the bar
            <br>e.g: add_filter("pi_mmq_control_filter", function($val) { return true; } ); <br>true will enable the amount bar
            <br>false will disable it

= I don't wan to show the min max quantity message on the show or category page, only want to show the message on single product page =
You can fo that in the pro version, you can disable it for product archive pages and only enable it for the single product page

= Can i set the Min/Max quantity limit from the category =
Yes, you can set it from the category, and all the product withing that category will inherit the min/max quantity limit from the parent category

= Can add product exception as i don't want all the product in category to has quantity limit =
Yes, you can select the product that you don't want to inherit the limit set in the category. or if you wan you can directly add a different min/max quantity limit for those product from the respective product

= I want customer to buy at-least 3 unit from a specific category =
You can set minimum quantity restriction on the category level in the pro version, so customer has to buy 3 unit, this 3 unit can be from one single product or it can be 1 unit each from 3 different product of the same category

= I don't want user to go to checkout page when Min quantity / Min Amount restriction are not fulfilled =
In the pro version checkout page will redirect the user to cart page when the min quantity restriction or min amount restriction is not fulfilled

= I want to put minimum purchase amount restriction on category level =
Yes you can add, that using the pro version 

= I want to put min purchase amount restriction on category level but exclude certain product from this restriction =
Yes you can do that in the pro version it allows you to exclude certain product from category level restriction

== Upgrade Notice ==
= 1.6.2 = 
Tested for WP 5.4.2