WooCommerce Bulk Discount - Version 2.0.12

Version Description

  • (23 Oct 2013) Added Swedish translation.
Download this release

Release Info

Developer Rene Puchinger
Plugin Icon 128x128 WooCommerce Bulk Discount
Version 2.0.12
Comparing to
See all releases

Code changes from version 2.0.11 to 2.0.12

lang/wc_bulk_discount-sv_SE.mo ADDED
Binary file
lang/wc_bulk_discount-sv_SE.po ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WooCommerce Bulk Discount\n"
4
+ "POT-Creation-Date: 2013-10-06 20:36+0100\n"
5
+ "PO-Revision-Date: 2013-10-15 14:40+0100\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: Rene Puchinger <info@renepuchinger.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-"
15
+ "discount\n"
16
+
17
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:48
18
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:387
19
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
20
+ msgid "Bulk Discount"
21
+ msgstr "Mängdrabatt"
22
+
23
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:98
24
+ msgid "Settings"
25
+ msgstr "Inställningar"
26
+
27
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:163
28
+ #, php-format
29
+ msgid "%s%% bulk discount applied!"
30
+ msgstr "%s%% mängdrabatt tillämpas!"
31
+
32
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:194
33
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:260
34
+ #, php-format
35
+ msgid "Incl. %s discount"
36
+ msgstr "efter %s rabatt"
37
+
38
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
39
+ msgid "Bulk discount info in product description"
40
+ msgstr "Mängdrabatt info i produktbeskrivningen"
41
+
42
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
43
+ msgid ""
44
+ "Optionally enter bulk discount information that will be visible on the "
45
+ "product page."
46
+ msgstr ""
47
+ "Frivilligt! Ange information om mängdrabatten som kommer att vara synligt på "
48
+ "produktsidan."
49
+
50
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
51
+ msgid "Quantity (min.)"
52
+ msgstr "Antal (min.)"
53
+
54
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
55
+ msgid "Enter the minimal quantity for which the discount applies."
56
+ msgstr "Ange minsta antalet som mängdrabatten gäller."
57
+
58
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
59
+ #, php-format
60
+ msgid "Discount (%s)"
61
+ msgstr "Rabatt (%s)"
62
+
63
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
64
+ #, php-format
65
+ msgid "Enter the flat discount in %s."
66
+ msgstr "Ange en fast rabatt i %s."
67
+
68
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
69
+ msgid "Discount (%)"
70
+ msgstr "Rabatt (%)"
71
+
72
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
73
+ msgid "Enter the discount in percents (Allowed values: 0 to 100)."
74
+ msgstr "Ange rabatten i procent (Tillåtna värden: 0 to 100)."
75
+
76
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
77
+ msgid "The following options are specific to product bulk discount."
78
+ msgstr "Följande val är specifika för produktens mängdrabatt."
79
+
80
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
81
+ msgid ""
82
+ "After changing the settings, it is recommended to clear all sessions in "
83
+ "WooCommerce &gt; System Status &gt; Tools."
84
+ msgstr ""
85
+ "Efter att du ändrat inställningarna är det rekommenderat att rensa alla "
86
+ "sessioner i WooCommerce &gt; System Status &gt; Tools."
87
+
88
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:589
89
+ msgid "Bulk Discount enabled"
90
+ msgstr "Mängdrabatt aktiverat"
91
+
92
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:598
93
+ msgid "Discount Type"
94
+ msgstr "Rabatt-typ"
95
+
96
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:600
97
+ #, php-format
98
+ msgid ""
99
+ "Select the type of discount. Percentage Discount deducts amount of %% from "
100
+ "price while Flat Discount deducts fixed amount in %s"
101
+ msgstr ""
102
+ "Välj typ av rabatt. Rabatt i procent drar av summan av %% från priset medan "
103
+ "fast rabatt drar av en fast summa i %s"
104
+
105
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:607
106
+ msgid "Percentage Discount"
107
+ msgstr "Rabatt i procent"
108
+
109
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:608
110
+ msgid "Flat Discount"
111
+ msgstr "Fast rabatt"
112
+
113
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:613
114
+ msgid "Treat product variations separately"
115
+ msgstr "Behandla produkters variation separat"
116
+
117
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:615
118
+ msgid ""
119
+ "You need to have this option unchecked to handle discounts on product "
120
+ "variations as a whole."
121
+ msgstr ""
122
+ "Du måste ha detta val \"unchecked\" för att hantera rabatter på variations "
123
+ "produkter som en helhet."
124
+
125
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:622
126
+ msgid "Show discount information next to cart item price"
127
+ msgstr "Visa rabattinformation bredvid priset i kassan"
128
+
129
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:624
130
+ msgid "Applies only to percentage discount."
131
+ msgstr "Används endast för rabatt i procent"
132
+
133
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:631
134
+ msgid "Show discount information next to item subtotal price"
135
+ msgstr "Visa rabattinformationen bredvid subtotala priset"
136
+
137
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:639
138
+ msgid "Show discount information next to item subtotal price in order history"
139
+ msgstr "Visa rabattinformationen bredvid subtotala priset i orderhistoriken"
140
+
141
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:641
142
+ msgid "Includes showing discount in order e-mails and invoices."
143
+ msgstr "Inkluderar att visa rabatten i ordermailet samt på kvittot"
144
+
145
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:648
146
+ msgid "Optionally enter information about discounts visible on cart page."
147
+ msgstr "Frivilligt! Ange information om rabatten som visas på sidan för kassa."
148
+
149
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:655
150
+ msgid "Optionally change the CSS for old price on cart before discounting."
151
+ msgstr "Frivilligt ändra CSS för gamla priset i kassan innan avdragen rabatt"
152
+
153
+ #: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:663
154
+ msgid "Optionally change the CSS for new price on cart after discounting."
155
+ msgstr "Frivilligt ändra CSS för nya priset i kassan efter avdragen rabatt"
readme.txt CHANGED
@@ -3,55 +3,56 @@ Contributors: Rene Puchinger
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=6VEQ8XXK6B3UE
4
  Tags: woocommerce, bulk, discount
5
  Requires at least: 3.5
6
- Tested up to: 3.6
7
- Stable tag: 2.0.11
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Apply fine-grained bulk discounts to items in the shopping cart. Enjoy version 2.0 with many new features!
12
 
13
  == Description ==
14
 
15
- WooCommerce Bulk Discount Plugin makes possible to apply fine-grained bulk discounts
16
- to items in the shopping cart, dependently on ordered quantity and on concrete
17
- product.
18
 
19
- WooCommerce version 2.0+ required.
20
 
21
  Let us examine some examples of usage.
22
 
23
- * You may want to feature such discount policy in your store that if customer
24
- orders more than 5 items of some product, he/she would pay the price of this order
25
- line lowered by 10%.
26
 
27
- * Or you may want different policy, for example offering 5% discount if customer
28
- orders more than 10 items of a product and 10% discount if he/she orders more than
29
  20 items.
30
 
31
- * Bulk Discounts supports flat discount in currency units as well,
32
- enabling you to handle scenarios like deducting fixed value of, say $10 from item subtotal.
33
- For example, when customer orders more than 10 items (say, 15, 20, etc.), a discount of $10
34
  will be applied only on the subtotal price.
35
 
36
  The settings for discounts are simple yet extensive, allowing wide range of discount
37
  policies to be adopted in your store.
38
 
39
- Here is the list of main features:
40
 
41
  * Possibility of setting percentage bulk discount or flat (fixed) bulk discount in currency units.
42
- * Bulk discount for product variations supported to treat them as a whole when discounting.
43
- * Discount is better visible and is present on several locations (see below).
44
- * Discount is visible on Checkout page
45
- * Discount is visible on Order Details page
46
- * Discount is visible in WooCommerce order e-mails and invoice as well.
47
- * Showing the applied discount on hovering the item price in the cart.
48
- * Possibility of easily changing the styling of price before and after discount.
49
 
50
  WooCommerce Bulk Discount has been localised to these languages:
51
 
52
  * English
53
- * Czech
54
  * Portuguese (translated by João)
 
 
55
 
56
  == Installation ==
57
 
@@ -62,17 +63,17 @@ Once the plugin is activated, you can use it as follows:
62
 
63
  1. First navigate to WooCommerce settings. Under the Bulk Discount tab, find the global
64
  configuration for bulk discounts. Make sure "Bulk Discount enabled" is checked and optionally
65
- fill information about discounts which will be visible on cart page. You can include HTML
66
- markup in the text - you can, for instance, include a link to your page with discount
67
  policy. In case you need the plugin to work well with product variations, make sure that the
68
  "Treat product variations separately" option is unchecked. Since version 2.0 you
69
- may choose to use flat discount applied to cart item subtotal. Optionally you may also
70
- modify the CSS styles for old value and new value which is displayed in the cart.
71
  Save the settings.
72
 
73
- 2. Navigate to Products and choose a product for which you want to create discount policy.
74
- In Product Data panel, click Bulk Dicounts and optionally fill information about discount
75
- which will be visible in product description.
76
 
77
  3. Click "Add discount line" button to create a policy. Quantity (min.) means minimal
78
  number of ordered items so that the (second textbox) Discount applies. It is possible to
@@ -82,59 +83,61 @@ add up to five discount lines to fine-tune the discount setting.
82
 
83
  = Are multiple discounts supported? How many levels of discounting may be applied? =
84
 
85
- Yes, multiple discounts (related to single product) are supported. Currently one may set up
86
- to 5 discount lines. That should be enough for reasonable fine-tuning of the discount.
87
 
88
- = Is only percentage discount implemented? =
89
- Since version 2.0 another type fo discount is added, allowing to set fixed discount in currency units
90
- for cart item subtotal.
91
 
92
  = Will the discount be visible on WooCommerce e-mails and Order status as well? =
93
  Yes. Since version 2.0, this feature has been implemented.
94
 
95
  = Is it possible to handle discount for product variations as a whole? =
96
- Yes, in case you have several product variations in your store and you need to apply discount
97
  to all the purchased variations, please upgrade to the latest version of Bulk Discount.
98
- This behaviour can be disabled in Bulk Discount settings.
99
 
100
  = Is the plugin i18n ready? =
101
- Yes, the plugin supports localization files. Currently English and Czech locales are
102
- implemented. You can add support for your language as well.
103
 
104
- = Can you provide an example of setting percentage bulk discount? =
105
- Sure. Below is an example of setting a bulk discount for some product with three discount lines.
106
 
107
  1. Quantity (min.) = 3, Discount (%) = 5
108
  2. Quantity (min.) = 8, Discount (%) = 10
109
  3. Quantity (min.) = 15, Discount (%) = 15
110
 
111
- If customer orders, say, 12 items of the product which costs $15 per item, the second
112
- discount line will apply. The customer than pays 12 * 15 = 225 dollars in total minus
113
- 10%, which yields $202.5. Note that this discount policy only applies to a concrete product -- other
114
  products may have their own (possibly different) discount policies.
115
 
116
- = Can you provide an example of setting flat bulk discount? =
117
  Example for flat discount follows:
118
 
119
  1. Quantity (min.) = 10, Discount ($) = 10
120
  2. Quantity (min.) = 30, Discount ($) = 20
121
 
122
- If customer orders, say, 15 items of the product which costs $10 per item, the first discount
123
  line will apply and the customer will pay (15 * 10) - 10 dollars. If the customers orders
124
- 50 items, the second dicount line will apply and the final price will be (50 * 10) - 20 dollars.
125
  Setting bulk discounts couldn't have been easier.
126
 
127
  == Screenshots ==
128
 
129
  1. Bulk Discount Settings page.
130
  2. Setting the discount lines (see FAQ for further explanation). Often only one discount line is sufficient.
131
- 3. Showing example of flat bulk discount visibility on cart page.
132
- 4. Bulk discount is visible on Checkout Page as well.
133
  5. Bulk Discount is visible in WooCommerce e-mails.
134
- 6. Example of percentage bulk discount visibility on cart page.
135
 
136
  == Changelog ==
137
 
 
 
 
138
  = 2.0.11 =
139
  * (16 Oct 2013) Redesigning input of discounts on Bulk Discount tab to be more user friendly.
140
  * Minor code formatting changes.
@@ -151,22 +154,22 @@ Setting bulk discounts couldn't have been easier.
151
  * Translations updated.
152
 
153
  = 2.0.7 =
154
- * (29 Sep 2013) Added configuration on which locations should the discount information be visible.
155
 
156
  = 2.0.6 =
157
  * (18 Sep 2013) Added Portuguese translation.
158
 
159
  = 2.0.5 =
160
- * (12 Sep 2013) Fixed displaying bug (for different scenario) which has no impact on discount computations.
161
 
162
  = 2.0.4 =
163
- * (11 Sep 2013) Fixed displaying bug (for different scenario) which has no impact on discount computations.
164
 
165
  = 2.0.3 =
166
- * (11 Sep 2013) Fixed displaying bug which has no impact on discount computations.
167
 
168
  = 2.0.2 =
169
- * (5 Sep 2013) Important maintenance release. Now the bulk discount metadata are stored to orders as well, making it possible to correctly display discounts for past orders. One can also change the plugin settings any time.
170
  * Added quick link to settings on Wordpress > Plugins page.
171
 
172
  = 2.0.1 =
@@ -174,11 +177,11 @@ Setting bulk discounts couldn't have been easier.
174
 
175
  = 2.0 =
176
  * (3 Sep 2013) Possibility of setting a flat (fixed) discount in currency units.
177
- * Discount is better visible and is present on more places (see below).
178
- * Discount is visible on Checkout page
179
- * Discount is visible on Order Details page
180
- * Discount is visible in WooCommerce order e-mails and invoice as well.
181
- * Possibility of easily changing the styling of price before and adter discount.
182
 
183
  = 1.2.2 =
184
  * (2 Sep 2013) Changing default state of product variation setting checkbox for default behaviour of previous versions.
@@ -189,7 +192,7 @@ Setting bulk discounts couldn't have been easier.
189
  = 1.2 =
190
  * (24 Aug 2013) Possibility to treat product variations as a whole when discounting.
191
  * CSS changes.
192
- * Show the applied discount in percents on hovering the item price in the cart.
193
 
194
  = 1.1.1 =
195
  * (21 Aug 2013) Plugin settings moved to separate tab under WooCommerce > Settings.
@@ -198,18 +201,21 @@ Setting bulk discounts couldn't have been easier.
198
  * more code comments added.
199
 
200
  = 1.1 =
201
- * (7 Jul 2013) resolved major issue of incorrect discount application in some cases.
202
  * code optimization.
203
  * cleaned up some code.
204
 
205
  = 1.0.1 =
206
- * (5 Jul 2013) cleaned up some code.
207
 
208
  = 1.0 =
209
- * Stable version.
210
 
211
  == Upgrade Notice ==
212
 
 
 
 
213
  = 2.0.11 =
214
  More friendly UI.
215
 
@@ -232,10 +238,10 @@ Minor maintenance release.
232
  Bugfix release. Please update immediately.
233
 
234
  = 2.0.4 =
235
- Bugfix release. Please update immediately.
236
 
237
  = 2.0.3 =
238
- Bugfix release. Please update immediately.
239
 
240
  = 2.0.2 =
241
  Important maintenance release. Please update immediately.
@@ -262,7 +268,7 @@ Maintenance release.
262
  Important bugfix release. Upgrading recommended as soon as possible.
263
 
264
  = 1.0.1 =
265
- This version has minor change in code without any noticeable impact.
266
 
267
  = 1.0 =
268
- N/A.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=6VEQ8XXK6B3UE
4
  Tags: woocommerce, bulk, discount
5
  Requires at least: 3.5
6
+ Tested up to: 3.6.1
7
+ Stable tag: 2.0.12
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Apply fine-grained bulk discounts to items in the shopping cart with this WooCommerce extension. Enjoy version 2.0 with many new features!
12
 
13
  == Description ==
14
 
15
+ WooCommerce Bulk Discount makes it possible to apply fine-grained bulk discounts to items in the shopping cart,
16
+ depending on the ordered quantity and on the specific product.
 
17
 
18
+ WooCommerce 2.0.x is required.
19
 
20
  Let us examine some examples of usage.
21
 
22
+ * You may want to feature the following discount policy in your store: if the customer
23
+ orders more than 5 items of a given product, he/she will pay the price of this order
24
+ line lowered by 10%.
25
 
26
+ * Or you may want a different policy, for example offering a 5% discount if the customer
27
+ orders more than 10 items of a product and a 10% discount if he/she orders more than
28
  20 items.
29
 
30
+ * Bulk Discounts supports flat discounts in currency units as well,
31
+ enabling you to handle scenarios like deducting fixed value of, say $10 from the item subtotal.
32
+ For example, when the customer orders more than 10 items (say, 15, 20, etc.), a discount of $10
33
  will be applied only on the subtotal price.
34
 
35
  The settings for discounts are simple yet extensive, allowing wide range of discount
36
  policies to be adopted in your store.
37
 
38
+ Here is the list of the main features:
39
 
40
  * Possibility of setting percentage bulk discount or flat (fixed) bulk discount in currency units.
41
+ * Bulk discounts for product variations is supported to treat them separately or as a whole when discounting.
42
+ * Discount is better visible and is available on several locations (see below).
43
+ * Discount is visible on the Checkout page
44
+ * Discount is visible on the Order Details page
45
+ * Discount is visible in WooCommerce order e-mails and invoices as well.
46
+ * Showing the applied discount when hovering over the item price in the cart.
47
+ * Possibility of easily changing the CSS of the price before and after discount.
48
 
49
  WooCommerce Bulk Discount has been localised to these languages:
50
 
51
  * English
52
+ * Swedish (translated by Mr3K)
53
  * Portuguese (translated by João)
54
+ * Czech
55
+
56
 
57
  == Installation ==
58
 
63
 
64
  1. First navigate to WooCommerce settings. Under the Bulk Discount tab, find the global
65
  configuration for bulk discounts. Make sure "Bulk Discount enabled" is checked and optionally
66
+ fill information about discounts which will be visible on the cart page. You can include HTML
67
+ markup in the text - you can, for instance, include a link to your page with your discount
68
  policy. In case you need the plugin to work well with product variations, make sure that the
69
  "Treat product variations separately" option is unchecked. Since version 2.0 you
70
+ may choose to use a flat discount applied to the cart item subtotal. Optionally you may also
71
+ modify the CSS styles for the old value and the new value which is displayed in the cart.
72
  Save the settings.
73
 
74
+ 2. Navigate to Products and choose a product for which you want to create a discount policy.
75
+ In the Product Data panel, click Bulk Dicounts and optionally fill information about the discount
76
+ which will be visible in the product description.
77
 
78
  3. Click "Add discount line" button to create a policy. Quantity (min.) means minimal
79
  number of ordered items so that the (second textbox) Discount applies. It is possible to
83
 
84
  = Are multiple discounts supported? How many levels of discounting may be applied? =
85
 
86
+ Yes, multiple discounts (related to a single product) are supported. Currently it is possible to
87
+ set up to 5 discount lines. That should be enough for reasonable fine-tuning of the discount.
88
 
89
+ = Is only a percentage discount implemented? =
90
+ Since version 2.0 another type of discount is added, allowing you to set a fixed discount in currency units
91
+ for the cart item subtotal.
92
 
93
  = Will the discount be visible on WooCommerce e-mails and Order status as well? =
94
  Yes. Since version 2.0, this feature has been implemented.
95
 
96
  = Is it possible to handle discount for product variations as a whole? =
97
+ Yes, in case you have several product variations in your store and you need to apply the discount
98
  to all the purchased variations, please upgrade to the latest version of Bulk Discount.
99
+ This functionality can be disabled in Bulk Discount settings.
100
 
101
  = Is the plugin i18n ready? =
102
+ Yes, the plugin supports localization files. You can add support for your language as well by the standard process.
 
103
 
104
+ = Can you provide an example of setting a percentage bulk discount? =
105
+ Sure. Below is an example of setting a bulk discount for a product with three discount lines.
106
 
107
  1. Quantity (min.) = 3, Discount (%) = 5
108
  2. Quantity (min.) = 8, Discount (%) = 10
109
  3. Quantity (min.) = 15, Discount (%) = 15
110
 
111
+ If the customer orders, say, 12 items of the product which costs $15 per item, the second
112
+ discount line will apply. The customer then pays 12 * 15 = 225 dollars in total minus
113
+ 10%, which yields $202.5. Note that this discount policy only applies to the concrete product -- other
114
  products may have their own (possibly different) discount policies.
115
 
116
+ = Can you provide an example of setting a flat bulk discount? =
117
  Example for flat discount follows:
118
 
119
  1. Quantity (min.) = 10, Discount ($) = 10
120
  2. Quantity (min.) = 30, Discount ($) = 20
121
 
122
+ If the customer orders, say, 15 items of the product which costs $10 per item, the first discount
123
  line will apply and the customer will pay (15 * 10) - 10 dollars. If the customers orders
124
+ 50 items, the second discount line will apply and the final price will be (50 * 10) - 20 dollars.
125
  Setting bulk discounts couldn't have been easier.
126
 
127
  == Screenshots ==
128
 
129
  1. Bulk Discount Settings page.
130
  2. Setting the discount lines (see FAQ for further explanation). Often only one discount line is sufficient.
131
+ 3. Showing an example of flat bulk discount visibility on the cart page.
132
+ 4. Bulk discount is visible on the Checkout Page as well.
133
  5. Bulk Discount is visible in WooCommerce e-mails.
134
+ 6. Example of percentage bulk discount visibility on the cart page.
135
 
136
  == Changelog ==
137
 
138
+ = 2.0.12 =
139
+ * (23 Oct 2013) Added Swedish translation.
140
+
141
  = 2.0.11 =
142
  * (16 Oct 2013) Redesigning input of discounts on Bulk Discount tab to be more user friendly.
143
  * Minor code formatting changes.
154
  * Translations updated.
155
 
156
  = 2.0.7 =
157
+ * (29 Sep 2013) Added configuration of the locations on which the discount information should be visible.
158
 
159
  = 2.0.6 =
160
  * (18 Sep 2013) Added Portuguese translation.
161
 
162
  = 2.0.5 =
163
+ * (12 Sep 2013) Fixed a bug of incorrect discount displayed (no impact on discount computations).
164
 
165
  = 2.0.4 =
166
+ * (11 Sep 2013) *unstable*
167
 
168
  = 2.0.3 =
169
+ * (11 Sep 2013) *unstable*
170
 
171
  = 2.0.2 =
172
+ * (5 Sep 2013) Important maintenance release. Now the bulk discount metadata are stored to orders as well, making it possible to correctly display discounts for past orders. You can also change the plugin settings any time.
173
  * Added quick link to settings on Wordpress > Plugins page.
174
 
175
  = 2.0.1 =
177
 
178
  = 2.0 =
179
  * (3 Sep 2013) Possibility of setting a flat (fixed) discount in currency units.
180
+ * Discount is better visible and is available on more lcoations (see below).
181
+ * Discount is visible on the Checkout page
182
+ * Discount is visible on the Order Details page
183
+ * Discount is visible in WooCommerce order e-mails and invoices as well.
184
+ * Possibility of easily changing the CSS of the price before and after discount.
185
 
186
  = 1.2.2 =
187
  * (2 Sep 2013) Changing default state of product variation setting checkbox for default behaviour of previous versions.
192
  = 1.2 =
193
  * (24 Aug 2013) Possibility to treat product variations as a whole when discounting.
194
  * CSS changes.
195
+ * Showing the applied discount in percentages when hovering over the item price in the cart.
196
 
197
  = 1.1.1 =
198
  * (21 Aug 2013) Plugin settings moved to separate tab under WooCommerce > Settings.
201
  * more code comments added.
202
 
203
  = 1.1 =
204
+ * (7 Jul 2013) resolved major issues of incorrect discount application in some cases.
205
  * code optimization.
206
  * cleaned up some code.
207
 
208
  = 1.0.1 =
209
+ * (5 Jul 2013) *unstable*
210
 
211
  = 1.0 =
212
+ * Initial version.
213
 
214
  == Upgrade Notice ==
215
 
216
+ = 2.0.12 =
217
+ Language translation release.
218
+
219
  = 2.0.11 =
220
  More friendly UI.
221
 
238
  Bugfix release. Please update immediately.
239
 
240
  = 2.0.4 =
241
+ *unstable*
242
 
243
  = 2.0.3 =
244
+ *unstable*
245
 
246
  = 2.0.2 =
247
  Important maintenance release. Please update immediately.
268
  Important bugfix release. Upgrading recommended as soon as possible.
269
 
270
  = 1.0.1 =
271
+ *unstable*
272
 
273
  = 1.0 =
274
+ Initial version.
woocommerce-bulk-discount.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  /*
3
  Plugin Name: WooCommerce Bulk Discount
4
- Plugin URI: http://www.tools4me.net/wordpress/woocommerce-bulk-discount-plugin
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
- Version: 2.0.11
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10
 
1
  <?php
2
  /*
3
  Plugin Name: WooCommerce Bulk Discount
4
+ Plugin URI: http://www.renepuchinger.com
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
+ Version: 2.0.12
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10