-
Notifications
You must be signed in to change notification settings - Fork 18
/
readme.txt
executable file
·126 lines (96 loc) · 5.25 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
=== Quantities and Units for WooCommerce ===
Contributors: greatwitenorth
Tags: woocommerce, product quantities, product minimum values, product maximum values, product step values, incremental product quantities, min, max, decimal
Donate link: https://www.nickv.codes/donate
Requires at least: 3.5
Tested up to: 4.3
Stable tag: 1.0.13
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Easily require your customers to buy a minimum / maximum / incremental amount of products. Supports decimal quantities.
== Description ==
NOTE: This plugin has been forked from the "Advanced Product Quantities" plugin. It adds decimal quantities support and
units to products. Please don't attempt to run both plugins simultaneously. It not needed and the universe will
probably implode.
With Quantities and Units for WooCommerce you can easily create rules that restrict the amount of products a user can
buy at once. Set Minimum, Maximum and Step values for any product type and must be valid before a customer can proceed
to checkout. Quantities and Units also bring decimal quantity support to WooCommerce.
This plugin works great with [Rapid Order](http://rapidorderplugin.com/), a fast ordering system for WooCommerce.
New Features
* Allow decimal quantities (configure this in Quantity Rule -> Advanced Rule -> Site Wide Step Value)
* Specify a unit of measurement for the quantity (ie lbs, kg, bag etc)
Features:
* Added Custom Quantity Message Option
* Added Out of Stock Min/Max
* Added Role Support, create rules based on user roles.
* Improved performance / caching
* Improved admin interface
* Allows rules to have a minimum of 0
* Set a Minimum product quantity requirement
* Set a Maximum product quantity requirement
* Sell products by a desired increment ie. by two's or the dozen
* Create product category based rules
* WooCommerce Validation rules tells users what rules they've broken directly on the cart or product page
* Set rule priority to layer multiple rules on top of each other
* Add your rule based input boxes to products thumbnails using [WooCommerce Thumbnail Input Quantities](http://wordpress.org/plugins/woocommerce-thumbnail-input-quantities/installation/)
* Easily override rules on a per-product basis
* Integrates with [WooCommerce's Product CSV Import Suite](http://www.woothemes.com/products/product-csv-import-suite/)
* See which rule is being applied to an individual product on your edit product page
* Now fully supports ALL PRODUCT TYPES, simple, variable, grouped and affiliate
* Create Site Wide rules that apply to every product unless overwritten on a per-product basis
* Create rules by Product Tags (opposed to just categories)
* Woocommerce +2.0 compatible
== Installation ==
Automatic WordPress Installation
1. Log-in to your WordPress Site
2. Under the plugin sidebar tab, click ‘Add New’
3. Search for 'Quantities and Units for WooCommerce'
4. Install and Activate the Plugin
5. Set Rules for categories by clicking the new ‘Quantity Rules’ sidebar option or assign per-product rules by using the new metabox on your product page.
NOTE: to enable decimal quantities you need to define the 'Step' value on a per product basis, or globally for the site under Quantity Rule -> Advanced Rule -> Site Wide Step Value.
Manual Installation
1. Download the latest version of the plugin from Quantities and Units for WooCommerce WordPress page.
3. Uncompress the file
4. Upload the uncompressed directory to ‘/wp-content/plugins/’ via FTP
5. Active the plugin from your WordPress backend ‘Plugins -> Installed Plugins’
6. Set Rules for categories by clicking the new ‘Quantity Rules’ sidebar option or assign per-product rules by using the new metabox on your product page.
== Changelog ==
= 1.0.13 =
* Fixed input issue introduced in 10.0.12 release
= 1.0.12 =
* Fixed an issue where sometimes the correct value would not display when using decimal quantities.
= 1.0.11 =
* Fixed issue with max value causing amount not to increment correctly in some circumstances.
= 1.0.10 =
* fixed an issue with role based quantities not working
* fixed bug with sitewide rules
= 1.0.9 =
* fixed compatibility with Thumbnail Quantities
= 1.0.8 =
* allow decimals on Advanced Rules page
= 1.0.7 =
* fixed min step value based min value.
= 1.0.6 =
* Min and step rules now work with ajax add to cart functionality in WooCommerce 2.5+
* Added min width css rule on quantity input box
= 1.0.5 =
* Fixed issue when trying to save advanced rules.
= 1.0.4 =
* Fixed floating point precision errors
= 1.0.3 =
* Fixed Call to undefined method WooCommerce::add_error() bug
= 1.0.2 =
* Removed admin notice
= 1.0.1 =
* Bug fixes
= 1.0.0 =
* Forked from "Advanced Product Quantities"
* Allow decimal quantities
* Specify a unit of measurement for the quantity (ie lbs, kg, bag etc)
== Screenshots ==
1. Single product page, page loads with it's minimum quantity and notifies the user below.
1. Create rule page.
1. Single product 'Product Quantity Rules' meta box. Deactivate or override rules. Even set out of stock min/max values.
1. Single product 'Product Quantity Rules' meta box. Display of values by user role.
1. 'Advanced Rules' page, set sitewide rules and configure quantity notifications (screenshot 1)
1. Required configuration for Out of Stock quantities to be displayed.