Version Description
- (28 Sep 2014) Bugfix - settings tab was not working in WooCommerce 2.0.x
Download this release
Release Info
Developer | Rene Puchinger |
Plugin | WooCommerce Bulk Discount |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.3.1
- lang/wc_bulk_discount-es_ES.mo +0 -0
- lang/wc_bulk_discount-es_ES.po +169 -0
- readme.txt +7 -8
- woocommerce-bulk-discount.php +19 -3
lang/wc_bulk_discount-es_ES.mo
ADDED
Binary file
|
lang/wc_bulk_discount-es_ES.po
ADDED
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 2014-09-05 14:44-0430\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.6.5\n"
|
12 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"Language: es_ES\n"
|
15 |
+
"X-Poedit-SearchPath-0: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-"
|
16 |
+
"discount\n"
|
17 |
+
|
18 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:48
|
19 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:387
|
20 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
|
21 |
+
msgid "Bulk Discount"
|
22 |
+
msgstr "Descuento Masivo"
|
23 |
+
|
24 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:98
|
25 |
+
msgid "Settings"
|
26 |
+
msgstr "Opciones"
|
27 |
+
|
28 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:163
|
29 |
+
#, php-format
|
30 |
+
msgid "%s%% bulk discount applied!"
|
31 |
+
msgstr "%s%% descuento masivo aplicado!"
|
32 |
+
|
33 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:194
|
34 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:260
|
35 |
+
#, php-format
|
36 |
+
msgid "Incl. %s discount"
|
37 |
+
msgstr "Incluye %s de descuento"
|
38 |
+
|
39 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
|
40 |
+
msgid "Bulk discount info in product description"
|
41 |
+
msgstr "Descuento masivo en la descripción del producto"
|
42 |
+
|
43 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:433
|
44 |
+
msgid ""
|
45 |
+
"Optionally enter bulk discount information that will be visible on the "
|
46 |
+
"product page."
|
47 |
+
msgstr ""
|
48 |
+
"De manera opcional, ingresa información de los descuentos para ser mostrada "
|
49 |
+
"en la pagina de productos."
|
50 |
+
|
51 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
|
52 |
+
msgid "Quantity (min.)"
|
53 |
+
msgstr "Cantidad (min.)"
|
54 |
+
|
55 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:447
|
56 |
+
msgid "Enter the minimal quantity for which the discount applies."
|
57 |
+
msgstr "Ingrese la cantidad minima con la cual aplicaria el descuento."
|
58 |
+
|
59 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
|
60 |
+
#, php-format
|
61 |
+
msgid "Discount (%s)"
|
62 |
+
msgstr "Descuento (%s)"
|
63 |
+
|
64 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:449
|
65 |
+
#, php-format
|
66 |
+
msgid "Enter the flat discount in %s."
|
67 |
+
msgstr "Ingrese el descuento fijo en %s."
|
68 |
+
|
69 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
|
70 |
+
msgid "Discount (%)"
|
71 |
+
msgstr "Descuento (%)"
|
72 |
+
|
73 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:451
|
74 |
+
msgid "Enter the discount in percents (Allowed values: 0 to 100)."
|
75 |
+
msgstr "Ingrese el descuento en porcentajes (Valores: 0 a 100)."
|
76 |
+
|
77 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
|
78 |
+
msgid "The following options are specific to product bulk discount."
|
79 |
+
msgstr ""
|
80 |
+
"Las opciones mostradas a continuación son para especificar el descuento "
|
81 |
+
"masivo del producto actual."
|
82 |
+
|
83 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:586
|
84 |
+
msgid ""
|
85 |
+
"After changing the settings, it is recommended to clear all sessions in "
|
86 |
+
"WooCommerce > System Status > Tools."
|
87 |
+
msgstr ""
|
88 |
+
"Después de cambiar las opciones, se recomienda limpiar todas las sesiones en "
|
89 |
+
"WooCommerce > Estado del sistema > Herramientas."
|
90 |
+
|
91 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:589
|
92 |
+
msgid "Bulk Discount enabled"
|
93 |
+
msgstr "Descuento masivo activo"
|
94 |
+
|
95 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:598
|
96 |
+
msgid "Discount Type"
|
97 |
+
msgstr "Tipo de descuento"
|
98 |
+
|
99 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:600
|
100 |
+
#, php-format
|
101 |
+
msgid ""
|
102 |
+
"Select the type of discount. Percentage Discount deducts amount of %% from "
|
103 |
+
"price while Flat Discount deducts fixed amount in %s"
|
104 |
+
msgstr ""
|
105 |
+
"Selecciona el tipo de descuento. Descuentos por porcentajes reducen montos "
|
106 |
+
"de %% del precio, mientras que el Descuento Fijo reduce montos fijos en %s"
|
107 |
+
|
108 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:607
|
109 |
+
msgid "Percentage Discount"
|
110 |
+
msgstr "Descuento por porcentaje"
|
111 |
+
|
112 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:608
|
113 |
+
msgid "Flat Discount"
|
114 |
+
msgstr "Descuento Fijo"
|
115 |
+
|
116 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:613
|
117 |
+
msgid "Treat product variations separately"
|
118 |
+
msgstr "Tratar las variaciones de productos por separado"
|
119 |
+
|
120 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:615
|
121 |
+
msgid ""
|
122 |
+
"You need to have this option unchecked to handle discounts on product "
|
123 |
+
"variations as a whole."
|
124 |
+
msgstr ""
|
125 |
+
"Necesitas tener esta opción desmarcada para administrar los descuentos en "
|
126 |
+
"las variaciones de productos como un todo."
|
127 |
+
|
128 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:622
|
129 |
+
msgid "Show discount information next to cart item price"
|
130 |
+
msgstr ""
|
131 |
+
"Mostrar la información del descuento justo al lado del precio del item del "
|
132 |
+
"carro de compra"
|
133 |
+
|
134 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:624
|
135 |
+
msgid "Applies only to percentage discount."
|
136 |
+
msgstr "Aplica solo al descuento por porcentaje"
|
137 |
+
|
138 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:631
|
139 |
+
msgid "Show discount information next to item subtotal price"
|
140 |
+
msgstr ""
|
141 |
+
"Muestra la información del descuento al lado del subtotal (monto) del item"
|
142 |
+
|
143 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:639
|
144 |
+
msgid "Show discount information next to item subtotal price in order history"
|
145 |
+
msgstr ""
|
146 |
+
"Muestra la información del descuento al lado del subtotal del item en el "
|
147 |
+
"historial de pedidos"
|
148 |
+
|
149 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:641
|
150 |
+
msgid "Includes showing discount in order e-mails and invoices."
|
151 |
+
msgstr "Incluye el mostrar el descuento en el correo del pedido y en facturas"
|
152 |
+
|
153 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:648
|
154 |
+
msgid "Optionally enter information about discounts visible on cart page."
|
155 |
+
msgstr ""
|
156 |
+
"De manera opcional, ingresa información acerca de los descuentos para ser "
|
157 |
+
"visible en la pagina de carro"
|
158 |
+
|
159 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:655
|
160 |
+
msgid "Optionally change the CSS for old price on cart before discounting."
|
161 |
+
msgstr ""
|
162 |
+
"De manera opcional, cambia el CSS para el precio viejo en el carro antes del "
|
163 |
+
"descuento"
|
164 |
+
|
165 |
+
#: c:/DEVELOP/www/wp-content/plugins/woocommerce-bulk-discount/woocommerce-bulk-discount.php:663
|
166 |
+
msgid "Optionally change the CSS for new price on cart after discounting."
|
167 |
+
msgstr ""
|
168 |
+
"De manera opcional, cambia el CSS para el precio viejo en el carro después "
|
169 |
+
"del descuento"
|
readme.txt
CHANGED
@@ -1,22 +1,21 @@
|
|
1 |
-
=== WooCommerce Bulk Discount ===
|
2 |
Contributors: Rene Puchinger
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6VEQ8XXK6B3UE
|
4 |
Tags: woocommerce, bulk, discount
|
5 |
-
Requires at least: 3.
|
6 |
-
Tested up to: 4.
|
7 |
Stable tag: 2.3.1
|
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
|
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 Bulk Discount is compatible with WooCommerce 2.0.x to 2.
|
19 |
-
**Warning: This extension doesn't currently support WooCommerce 2.3.x.**
|
20 |
|
21 |
Let us examine some examples of usage.
|
22 |
|
@@ -49,7 +48,7 @@ Here is the list of the main features:
|
|
49 |
* Bulk discount can or cannot be applied if a coupon code is used, depending on configuration.
|
50 |
* HTML markup is allowed in information about the bulk discount offer in Product Description.
|
51 |
* Bulk Discount can be disabled more easily in the Product Options page.
|
52 |
-
* Compatibility with WooCommerce 2.0.x
|
53 |
|
54 |
WooCommerce Bulk Discount has been localised to these languages:
|
55 |
|
@@ -61,7 +60,7 @@ WooCommerce Bulk Discount has been localised to these languages:
|
|
61 |
* Polish (translated by Michał)
|
62 |
* Czech
|
63 |
|
64 |
-
**If you like WooCommerce Bulk Discount, please also check out these plugins:**
|
65 |
|
66 |
* <a href="http://codecanyon.net/item/woocommerce-free-gift/6144902?ref=renp">WooCommerce Free Gift</a>
|
67 |
* <a href="http://codecanyon.net/item/woocommerce-gift-coupons/6207561?ref=renp">WooCommerce Gift Coupons</a>
|
1 |
+
=== WooCommerce Bulk Discount ===
|
2 |
Contributors: Rene Puchinger
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6VEQ8XXK6B3UE
|
4 |
Tags: woocommerce, bulk, discount
|
5 |
+
Requires at least: 3.6
|
6 |
+
Tested up to: 4.4.1
|
7 |
Stable tag: 2.3.1
|
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.
|
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 Bulk Discount is compatible with WooCommerce 2.0.x to 2.5.x.**
|
|
|
19 |
|
20 |
Let us examine some examples of usage.
|
21 |
|
48 |
* Bulk discount can or cannot be applied if a coupon code is used, depending on configuration.
|
49 |
* HTML markup is allowed in information about the bulk discount offer in Product Description.
|
50 |
* Bulk Discount can be disabled more easily in the Product Options page.
|
51 |
+
* Compatibility with WooCommerce 2.0.x to 2.3.x.
|
52 |
|
53 |
WooCommerce Bulk Discount has been localised to these languages:
|
54 |
|
60 |
* Polish (translated by Michał)
|
61 |
* Czech
|
62 |
|
63 |
+
**If you like WooCommerce Bulk Discount, please also check out these premium plugins:**
|
64 |
|
65 |
* <a href="http://codecanyon.net/item/woocommerce-free-gift/6144902?ref=renp">WooCommerce Free Gift</a>
|
66 |
* <a href="http://codecanyon.net/item/woocommerce-gift-coupons/6207561?ref=renp">WooCommerce Gift Coupons</a>
|
woocommerce-bulk-discount.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WooCommerce Bulk Discount
|
|
4 |
Plugin URI: http://wordpress.org/plugins/woocommerce-bulk-discount/
|
5 |
Description: Apply fine-grained bulk discounts to items in the shopping cart.
|
6 |
Author: Rene Puchinger
|
7 |
-
Version: 2.
|
8 |
Author URI: https://profiles.wordpress.org/rene-puchinger/
|
9 |
License: GPL3
|
10 |
|
@@ -104,9 +104,17 @@ if ( !class_exists( 'Woo_Bulk_Discount_Plugin_t4m' ) ) {
|
|
104 |
* @return array
|
105 |
*/
|
106 |
public function action_links( $links ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
$plugin_links = array(
|
109 |
-
'<a href="' . admin_url( 'admin.php?page=
|
110 |
);
|
111 |
|
112 |
return array_merge( $plugin_links, $links );
|
@@ -723,12 +731,20 @@ if ( !class_exists( 'Woo_Bulk_Discount_Plugin_t4m' ) ) {
|
|
723 |
* @return void
|
724 |
*/
|
725 |
public function add_tab() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
726 |
|
727 |
foreach ( $this->settings_tabs as $name => $label ) {
|
728 |
$class = 'nav-tab';
|
729 |
if ( $this->current_tab == $name )
|
730 |
$class .= ' nav-tab-active';
|
731 |
-
echo '<a href="' . admin_url( 'admin.php?page=
|
732 |
}
|
733 |
|
734 |
}
|
4 |
Plugin URI: http://wordpress.org/plugins/woocommerce-bulk-discount/
|
5 |
Description: Apply fine-grained bulk discounts to items in the shopping cart.
|
6 |
Author: Rene Puchinger
|
7 |
+
Version: 2.3.1
|
8 |
Author URI: https://profiles.wordpress.org/rene-puchinger/
|
9 |
License: GPL3
|
10 |
|
104 |
* @return array
|
105 |
*/
|
106 |
public function action_links( $links ) {
|
107 |
+
|
108 |
+
$settings_slug = 'woocommerce';
|
109 |
+
|
110 |
+
if ( version_compare( WOOCOMMERCE_VERSION, "2.1.0" ) >= 0 ) {
|
111 |
+
|
112 |
+
$settings_slug = 'wc-settings';
|
113 |
+
|
114 |
+
}
|
115 |
|
116 |
$plugin_links = array(
|
117 |
+
'<a href="' . admin_url( 'admin.php?page=' . $settings_slug . '&tab=bulk_discount' ) . '">' . __( 'Settings', 'woocommerce' ) . '</a>',
|
118 |
);
|
119 |
|
120 |
return array_merge( $plugin_links, $links );
|
731 |
* @return void
|
732 |
*/
|
733 |
public function add_tab() {
|
734 |
+
|
735 |
+
$settings_slug = 'woocommerce';
|
736 |
+
|
737 |
+
if ( version_compare( WOOCOMMERCE_VERSION, "2.1.0" ) >= 0 ) {
|
738 |
+
|
739 |
+
$settings_slug = 'wc-settings';
|
740 |
+
|
741 |
+
}
|
742 |
|
743 |
foreach ( $this->settings_tabs as $name => $label ) {
|
744 |
$class = 'nav-tab';
|
745 |
if ( $this->current_tab == $name )
|
746 |
$class .= ' nav-tab-active';
|
747 |
+
echo '<a href="' . admin_url( 'admin.php?page=' . $settings_slug . '&tab=' . $name ) . '" class="' . $class . '">' . $label . '</a>';
|
748 |
}
|
749 |
|
750 |
}
|