Version Description
Release Data - 2021-01-16 * (PRO) FIX: Don't display free product selection when there are no items to choose from * FEATURE: 'Table Rate Shipping' by WooCommerce compatibility
Download this release
Release Info
Developer | josk79 |
Plugin | WooCommerce Extended Coupon Features |
Version | 3.2.6 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.6
- documentation.html +7 -7
- includes/class-wjecf-controller.php +45 -3
- languages/woocommerce-jos-autocoupon-pt_BR.po +456 -456
- readme.txt +27 -3
- woocommerce-jos-autocoupon.php +3 -3
- wpm-config.json +8 -0
documentation.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
<html>
|
2 |
-
<head>
|
3 |
-
<meta http-equiv="refresh" content="0; url=docs/index.html" />
|
4 |
-
</head>
|
5 |
-
<body>
|
6 |
-
<p>Redirecting to the <a href="docs/index.html">documentation</a>...</p>
|
7 |
-
</body>
|
8 |
</html>
|
1 |
+
<html>
|
2 |
+
<head>
|
3 |
+
<meta http-equiv="refresh" content="0; url=docs/index.html" />
|
4 |
+
</head>
|
5 |
+
<body>
|
6 |
+
<p>Redirecting to the <a href="docs/index.html">documentation</a>...</p>
|
7 |
+
</body>
|
8 |
</html>
|
includes/class-wjecf-controller.php
CHANGED
@@ -21,6 +21,7 @@ class WJECF_Controller {
|
|
21 |
|
22 |
private $options = null;
|
23 |
private $_user_emails = null;
|
|
|
24 |
|
25 |
/**
|
26 |
* Singleton Instance
|
@@ -550,14 +551,55 @@ class WJECF_Controller {
|
|
550 |
}
|
551 |
|
552 |
private function matches_shipping_instance( $coupon_shipping_instance_ids ) {
|
553 |
-
$instances = WC()->session->get( 'chosen_shipping_methods' ); // e.g. [ 'local_pickup:1', 'flat_rate:2' ]
|
|
|
|
|
|
|
554 |
foreach( $instances as $instance ) {
|
555 |
-
|
556 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
557 |
if ( in_array( $instance_id, $coupon_shipping_instance_ids ) ) {
|
558 |
return true;
|
559 |
}
|
560 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
561 |
}
|
562 |
|
563 |
/**
|
21 |
|
22 |
private $options = null;
|
23 |
private $_user_emails = null;
|
24 |
+
private $flexible_shipping_rates = null;
|
25 |
|
26 |
/**
|
27 |
* Singleton Instance
|
551 |
}
|
552 |
|
553 |
private function matches_shipping_instance( $coupon_shipping_instance_ids ) {
|
554 |
+
$instances = WC()->session->get( 'chosen_shipping_methods', array() ); // e.g. [ 'local_pickup:1', 'flat_rate:2' ]
|
555 |
+
if ( ! is_array( $instances ) ) {
|
556 |
+
return false;
|
557 |
+
}
|
558 |
foreach( $instances as $instance ) {
|
559 |
+
//"Flexible Shipping" by WP Desk compatibility
|
560 |
+
if ( strpos( $instance, 'flexible_shipping_' ) === 0 ) {
|
561 |
+
$instance = $this->get_flexible_shipping_instance( $instance );
|
562 |
+
}
|
563 |
+
|
564 |
+
//Examples where 11 is the instance id:
|
565 |
+
// Core shipping methods use format 'shiping_method:11'
|
566 |
+
// "Table Rate Shipping for WooCommerce" by Border Elements uses format 'betrs_shipping:11-1'
|
567 |
+
// "Table Rate Shipping" by WooCommerce uses format 'table_rate:11:4'.
|
568 |
+
if ( ! preg_match( '/:(\\d+)/', $instance, $matches ) ) {
|
569 |
+
continue;
|
570 |
+
}
|
571 |
+
$instance_id = $matches[1];
|
572 |
if ( in_array( $instance_id, $coupon_shipping_instance_ids ) ) {
|
573 |
return true;
|
574 |
}
|
575 |
}
|
576 |
+
return false;
|
577 |
+
}
|
578 |
+
|
579 |
+
/**
|
580 |
+
* Flexible shipping plugin stores the shipping method as 'flexible_shipping_?_?'.
|
581 |
+
* By looking up the rates from ['flexible_shipping'] we can get the instance id.
|
582 |
+
*
|
583 |
+
* Returns 'flexible_shipping_?_?:?' if found (where the latter question mark is the instance id)
|
584 |
+
* Otherwise returns the original $instance_name
|
585 |
+
*
|
586 |
+
* @param string $instance_name
|
587 |
+
* @return string $instance_name with the instance id added
|
588 |
+
*/
|
589 |
+
private function get_flexible_shipping_instance( $instance_name ) {
|
590 |
+
if ( $this->flexible_shipping_rates === null ) {
|
591 |
+
$all_shipping_methods = WC()->shipping()->load_shipping_methods();
|
592 |
+
if ( isset( $all_shipping_methods['flexible_shipping'] ) ) {
|
593 |
+
$this->flexible_shipping_rates = $all_shipping_methods['flexible_shipping']->get_all_rates();
|
594 |
+
} else {
|
595 |
+
$this->flexible_shipping_rates = false;
|
596 |
+
}
|
597 |
+
}
|
598 |
+
|
599 |
+
if ( isset( $this->flexible_shipping_rates[ $instance_name ]['woocommerce_method_instance_id'] ) ) {
|
600 |
+
return $instance_name . ':' . $this->flexible_shipping_rates[ $instance_name ]['woocommerce_method_instance_id'];
|
601 |
+
}
|
602 |
+
return $instance_name;
|
603 |
}
|
604 |
|
605 |
/**
|
languages/woocommerce-jos-autocoupon-pt_BR.po
CHANGED
@@ -1,456 +1,456 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: WooCommerce Extended Coupon Features 2.00\n"
|
4 |
-
"POT-Creation-Date: 2016-03-28 21:32+0200\n"
|
5 |
-
"PO-Revision-Date: 2016-03-28 21:32+0200\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: Jos Koenis\n"
|
8 |
-
"Language: pt_BR\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.8.6\n"
|
13 |
-
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
-
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
17 |
-
"X-Poedit-SearchPath-0: .\n"
|
18 |
-
|
19 |
-
#: includes/admin/wjecf-admin.php:94
|
20 |
-
msgid "Do you find WooCommerce Extended Coupon Features useful?"
|
21 |
-
msgstr "Você achou o WooCommerce Extended Coupon Features útil?"
|
22 |
-
|
23 |
-
#: includes/admin/wjecf-admin.php:96
|
24 |
-
msgid "Express your gratitude"
|
25 |
-
msgstr "Expresse sua gratidão!"
|
26 |
-
|
27 |
-
#: includes/admin/wjecf-admin.php:100
|
28 |
-
msgid "Donate to the developer"
|
29 |
-
msgstr "Doe ao desenvolvedor"
|
30 |
-
|
31 |
-
#: includes/admin/wjecf-admin.php:107
|
32 |
-
msgid "Documentation"
|
33 |
-
msgstr "Documentação"
|
34 |
-
|
35 |
-
#: includes/admin/wjecf-admin.php:109
|
36 |
-
msgid "WooCommerce Extended Coupon Features Documentation"
|
37 |
-
msgstr "Documentação do WooCommerce Extended Coupon Features"
|
38 |
-
|
39 |
-
#: includes/admin/wjecf-admin.php:117
|
40 |
-
msgid "Products"
|
41 |
-
msgstr "Produtos"
|
42 |
-
|
43 |
-
#: includes/admin/wjecf-admin.php:123 includes/admin/wjecf-admin.php:230
|
44 |
-
msgid "Checkout"
|
45 |
-
msgstr "Checkout"
|
46 |
-
|
47 |
-
#: includes/admin/wjecf-admin.php:129 includes/admin/wjecf-admin.php:340
|
48 |
-
msgid "Miscellaneous"
|
49 |
-
msgstr "Miscelânia"
|
50 |
-
|
51 |
-
#: includes/admin/wjecf-admin.php:141
|
52 |
-
msgid "Matching products"
|
53 |
-
msgstr "Produtos que se enquadram na promoção"
|
54 |
-
|
55 |
-
#: includes/admin/wjecf-admin.php:146
|
56 |
-
msgid "AND Products (not OR)"
|
57 |
-
msgstr "E produtos (não ou)"
|
58 |
-
|
59 |
-
#: includes/admin/wjecf-admin.php:147
|
60 |
-
msgid ""
|
61 |
-
"Check this box if ALL of the products (see tab 'usage restriction') must be "
|
62 |
-
"in the cart to use this coupon (instead of only one of the products)."
|
63 |
-
msgstr ""
|
64 |
-
"Marque essa caixa se todos os produtos devem estar no carrinho para usar "
|
65 |
-
"este cupom ao invés de apenas um dos produtos (veja a aba de \"restrição de "
|
66 |
-
"uso\")"
|
67 |
-
|
68 |
-
#: includes/admin/wjecf-admin.php:154
|
69 |
-
msgid "AND Categories (not OR)"
|
70 |
-
msgstr "E categorias (não é ou)"
|
71 |
-
|
72 |
-
#: includes/admin/wjecf-admin.php:155
|
73 |
-
msgid ""
|
74 |
-
"Check this box if products from ALL of the categories (see tab 'usage "
|
75 |
-
"restriction') must be in the cart to use this coupon (instead of only one "
|
76 |
-
"from one of the categories)."
|
77 |
-
msgstr ""
|
78 |
-
"Marque essa caixa se produtos de todas as categorias devem estar no "
|
79 |
-
"carrinho para usar este cupom ao invés de apenas um dos produtos (veja a aba "
|
80 |
-
"de \"restrição de uso\")"
|
81 |
-
|
82 |
-
#: includes/admin/wjecf-admin.php:160
|
83 |
-
msgid "(AND)"
|
84 |
-
msgstr "(E)"
|
85 |
-
|
86 |
-
#: includes/admin/wjecf-admin.php:161
|
87 |
-
msgid "(OR)"
|
88 |
-
msgstr "(OU)"
|
89 |
-
|
90 |
-
#: includes/admin/wjecf-admin.php:190
|
91 |
-
msgid "Minimum quantity of matching products"
|
92 |
-
msgstr "Mínima quantidade de produtos dentro da produção"
|
93 |
-
|
94 |
-
#: includes/admin/wjecf-admin.php:191 includes/admin/wjecf-admin.php:211
|
95 |
-
msgid "No minimum"
|
96 |
-
msgstr "Sem mínimo"
|
97 |
-
|
98 |
-
#: includes/admin/wjecf-admin.php:192
|
99 |
-
msgid ""
|
100 |
-
"Minimum quantity of the products that match the given product or category "
|
101 |
-
"restrictions (see tab 'usage restriction'). If no product or category "
|
102 |
-
"restrictions are specified, the total number of products is used."
|
103 |
-
msgstr "Quantidade mínima de produtos que devem estar na "
|
104 |
-
|
105 |
-
#: includes/admin/wjecf-admin.php:200
|
106 |
-
msgid "Maximum quantity of matching products"
|
107 |
-
msgstr "Quantidade máxima de produtos em promoção"
|
108 |
-
|
109 |
-
#: includes/admin/wjecf-admin.php:201 includes/admin/wjecf-admin.php:221
|
110 |
-
msgid "No maximum"
|
111 |
-
msgstr "Sem máximo"
|
112 |
-
|
113 |
-
#: includes/admin/wjecf-admin.php:202
|
114 |
-
msgid ""
|
115 |
-
"Maximum quantity of the products that match the given product or category "
|
116 |
-
"restrictions (see tab 'usage restriction'). If no product or category "
|
117 |
-
"restrictions are specified, the total number of products is used."
|
118 |
-
msgstr ""
|
119 |
-
"Quantidade máxima dos produtos que correspondem às restrições de produtos ou "
|
120 |
-
"categoria referidos (ver a aba \"restrição de uso\"). Se não há restrições "
|
121 |
-
"ou categoria de produtos são especificados, o número total de produtos é "
|
122 |
-
"usado."
|
123 |
-
|
124 |
-
#: includes/admin/wjecf-admin.php:210
|
125 |
-
msgid "Minimum subtotal of matching products"
|
126 |
-
msgstr "Subtotal mínimo de produtos que correspondam à promoção"
|
127 |
-
|
128 |
-
#: includes/admin/wjecf-admin.php:212
|
129 |
-
msgid ""
|
130 |
-
"Minimum price subtotal of the products that match the given product or "
|
131 |
-
"category restrictions (see tab 'usage restriction')."
|
132 |
-
msgstr ""
|
133 |
-
"Subtotal mínimo dos produtos que correspondem às restrições de produtos ou "
|
134 |
-
"categoria referidos (ver a aba \"restrição de uso\")."
|
135 |
-
|
136 |
-
#: includes/admin/wjecf-admin.php:220
|
137 |
-
msgid "Maximum subtotal of matching products"
|
138 |
-
msgstr "Subtotal máximo de produtos que correspondam a promoção"
|
139 |
-
|
140 |
-
#: includes/admin/wjecf-admin.php:222
|
141 |
-
msgid ""
|
142 |
-
"Maximum price subtotal of the products that match the given product or "
|
143 |
-
"category restrictions (see tab 'usage restriction')."
|
144 |
-
msgstr ""
|
145 |
-
"Subtotal máximo dos produtos que correspondem às restrições de produtos ou "
|
146 |
-
"categoria referidos (ver a aba \"restrição de uso\")."
|
147 |
-
|
148 |
-
#: includes/admin/wjecf-admin.php:235
|
149 |
-
msgid "Shipping methods"
|
150 |
-
msgstr "Métodos de envio"
|
151 |
-
|
152 |
-
#: includes/admin/wjecf-admin.php:236
|
153 |
-
msgid "Any shipping method"
|
154 |
-
msgstr "Qualquer método de envio"
|
155 |
-
|
156 |
-
#: includes/admin/wjecf-admin.php:245
|
157 |
-
msgid ""
|
158 |
-
"One of these shipping methods must be selected in order for this coupon to "
|
159 |
-
"be valid."
|
160 |
-
msgstr ""
|
161 |
-
"Um destes métodos de envio devem ser selecionados para tornar este cupom "
|
162 |
-
"válido"
|
163 |
-
|
164 |
-
#: includes/admin/wjecf-admin.php:251
|
165 |
-
msgid "Payment methods"
|
166 |
-
msgstr "Métodos de pagamento"
|
167 |
-
|
168 |
-
#: includes/admin/wjecf-admin.php:252
|
169 |
-
msgid "Any payment method"
|
170 |
-
msgstr "Qualquer método de pagamento"
|
171 |
-
|
172 |
-
#: includes/admin/wjecf-admin.php:263
|
173 |
-
msgid ""
|
174 |
-
"One of these payment methods must be selected in order for this coupon to be "
|
175 |
-
"valid."
|
176 |
-
msgstr ""
|
177 |
-
"Um desses métodos de pagamento deve ser selecionado para que este cupom seja "
|
178 |
-
"válido."
|
179 |
-
|
180 |
-
#: includes/admin/wjecf-admin.php:271
|
181 |
-
msgid "Customer restrictions"
|
182 |
-
msgstr "Restrições a clientes"
|
183 |
-
|
184 |
-
#: includes/admin/wjecf-admin.php:272
|
185 |
-
msgid ""
|
186 |
-
"If both a customer and a role restriction are supplied, matching either one "
|
187 |
-
"of them will suffice."
|
188 |
-
msgstr ""
|
189 |
-
"Se ambos, o cliente a restrição de tipo de cliente são apresentados, "
|
190 |
-
"corresponder um ou outro será suficiente"
|
191 |
-
|
192 |
-
#: includes/admin/wjecf-admin.php:277
|
193 |
-
msgid "Allowed Customers"
|
194 |
-
msgstr "Clientes permitidos"
|
195 |
-
|
196 |
-
#: includes/admin/wjecf-admin.php:278
|
197 |
-
msgid "Any customer"
|
198 |
-
msgstr "Qualquer cliente"
|
199 |
-
|
200 |
-
#: includes/admin/wjecf-admin.php:291
|
201 |
-
msgid "Only these customers may use this coupon."
|
202 |
-
msgstr "Apenas estes clientes podem usar este cupom"
|
203 |
-
|
204 |
-
#: includes/admin/wjecf-admin.php:298
|
205 |
-
msgid "Allowed User Roles"
|
206 |
-
msgstr "Tipos de usuário permitidos"
|
207 |
-
|
208 |
-
#: includes/admin/wjecf-admin.php:299 includes/admin/wjecf-admin.php:321
|
209 |
-
msgid "Any role"
|
210 |
-
msgstr "Qualquer tipo de usuário"
|
211 |
-
|
212 |
-
#: includes/admin/wjecf-admin.php:313
|
213 |
-
msgid "Only these User Roles may use this coupon."
|
214 |
-
msgstr "Apenas estes tipos de usuário podem usar este cupom"
|
215 |
-
|
216 |
-
#: includes/admin/wjecf-admin.php:320
|
217 |
-
msgid "Disallowed User Roles"
|
218 |
-
msgstr "Tipos de usuário não permitidos"
|
219 |
-
|
220 |
-
#: includes/admin/wjecf-admin.php:334
|
221 |
-
msgid "These User Roles will be specifically excluded from using this coupon."
|
222 |
-
msgstr ""
|
223 |
-
"Estes tipos de usuário serão especificamente excluídos de utilizar este "
|
224 |
-
"cupom."
|
225 |
-
|
226 |
-
#: includes/admin/wjecf-admin.php:345
|
227 |
-
msgid "Allow when minimum spend not reached"
|
228 |
-
msgstr "Permitir uso quando a compra mínima não for alcançada"
|
229 |
-
|
230 |
-
#: includes/admin/wjecf-admin.php:346 includes/wjecf-pro-controller.php:74
|
231 |
-
#: includes/wjecf-pro-free-products.php:474
|
232 |
-
#: includes/wjecf-pro-free-products.php:482
|
233 |
-
msgid "EXPERIMENTAL: "
|
234 |
-
msgstr "Experimental:"
|
235 |
-
|
236 |
-
#: includes/admin/wjecf-admin.php:346
|
237 |
-
msgid ""
|
238 |
-
"Check this box to allow the coupon to be in the cart even when minimum spend "
|
239 |
-
"(see tab 'usage restriction') is not reached. Value of the discount will be "
|
240 |
-
"0 until minimum spend is reached."
|
241 |
-
msgstr ""
|
242 |
-
"Marque esta caixa para permitir que o cupom esteja no carrinho, mesmo quando "
|
243 |
-
"gasto mínimo (veja a aba \"Restrição de Uso ') não é alcançado. Valor do "
|
244 |
-
"desconto será de 0 até o gasto mínimo é alcançado."
|
245 |
-
|
246 |
-
#: includes/wjecf-autocoupon.php:58 includes/wjecf-autocoupon.php:130
|
247 |
-
#: includes/wjecf-autocoupon.php:137
|
248 |
-
msgid "Auto coupon"
|
249 |
-
msgstr "Cupom automático"
|
250 |
-
|
251 |
-
#: includes/wjecf-autocoupon.php:63
|
252 |
-
msgid "Individual use"
|
253 |
-
msgstr "Uso individual"
|
254 |
-
|
255 |
-
#: includes/wjecf-autocoupon.php:83 includes/wjecf-autocoupon.php:91
|
256 |
-
msgid "Yes"
|
257 |
-
msgstr "Sim"
|
258 |
-
|
259 |
-
#: includes/wjecf-autocoupon.php:83 includes/wjecf-autocoupon.php:91
|
260 |
-
msgid "No"
|
261 |
-
msgstr "Não"
|
262 |
-
|
263 |
-
#: includes/wjecf-autocoupon.php:102
|
264 |
-
msgid "Auto coupons"
|
265 |
-
msgstr "Cupon Automáticos"
|
266 |
-
|
267 |
-
#: includes/wjecf-autocoupon.php:138
|
268 |
-
msgid ""
|
269 |
-
"Automatically add the coupon to the cart if the restrictions are met. Please "
|
270 |
-
"enter a description when you check this box, the description will be shown "
|
271 |
-
"in the customer's cart if the coupon is applied."
|
272 |
-
msgstr ""
|
273 |
-
"Automaticamente adiciona o cupom ao carrinho se as condições forem "
|
274 |
-
"atingidas. Por favor entre com uma descrição quando você marca esta caixa, a "
|
275 |
-
"descrição será vista pelos consumidores na página do carrinho quando o cupom "
|
276 |
-
"for aplicado. Por isso seja preciso e faça uma bela descrição. Seu cliente a "
|
277 |
-
"lerá!!"
|
278 |
-
|
279 |
-
#: includes/wjecf-autocoupon.php:146
|
280 |
-
msgid "Priority"
|
281 |
-
msgstr "Prioridade"
|
282 |
-
|
283 |
-
#: includes/wjecf-autocoupon.php:147
|
284 |
-
msgid "No priority"
|
285 |
-
msgstr "Sem prioridade"
|
286 |
-
|
287 |
-
#: includes/wjecf-autocoupon.php:148
|
288 |
-
msgid ""
|
289 |
-
"When 'individual use' is checked, auto coupons with a higher value will have "
|
290 |
-
"priority over other auto coupons."
|
291 |
-
msgstr ""
|
292 |
-
"Quando \"uso individual\" estiver marcado cupons automáticos com valor mais "
|
293 |
-
"alto terão prioridade sobre outros cupons automáticos"
|
294 |
-
|
295 |
-
#: includes/wjecf-autocoupon.php:158
|
296 |
-
msgid "Apply silently"
|
297 |
-
msgstr "Aplicar Silenciosamente"
|
298 |
-
|
299 |
-
#: includes/wjecf-autocoupon.php:159
|
300 |
-
msgid "Don't display a message when this coupon is automatically applied."
|
301 |
-
msgstr "Não exibe a mensagem quando um cupom automatico é aplicado"
|
302 |
-
|
303 |
-
#: includes/wjecf-autocoupon.php:266
|
304 |
-
msgid "Free shipping coupon"
|
305 |
-
msgstr "Cupom de frete grátis"
|
306 |
-
|
307 |
-
#: includes/wjecf-autocoupon.php:422
|
308 |
-
#, php-format
|
309 |
-
msgid "Discount applied: %s"
|
310 |
-
msgstr "Desconto aplicado: %s"
|
311 |
-
|
312 |
-
#: includes/wjecf-controller.php:162
|
313 |
-
#, php-format
|
314 |
-
msgid "The minimum subtotal of the matching products for this coupon is %s."
|
315 |
-
msgstr ""
|
316 |
-
|
317 |
-
#: includes/wjecf-controller.php:166
|
318 |
-
#, php-format
|
319 |
-
msgid "The maximum subtotal of the matching products for this coupon is %s."
|
320 |
-
msgstr ""
|
321 |
-
|
322 |
-
#: includes/wjecf-controller.php:170
|
323 |
-
#, php-format
|
324 |
-
msgid "The minimum quantity of matching products for this coupon is %s."
|
325 |
-
msgstr ""
|
326 |
-
|
327 |
-
#: includes/wjecf-controller.php:174
|
328 |
-
#, php-format
|
329 |
-
msgid "The maximum quantity of matching products for this coupon is %s."
|
330 |
-
msgstr ""
|
331 |
-
|
332 |
-
#: includes/wjecf-controller.php:177
|
333 |
-
msgid "The coupon is not valid for the currently selected shipping method."
|
334 |
-
msgstr ""
|
335 |
-
|
336 |
-
#: includes/wjecf-controller.php:180
|
337 |
-
msgid "The coupon is not valid for the currently selected payment method."
|
338 |
-
msgstr ""
|
339 |
-
|
340 |
-
#: includes/wjecf-controller.php:183
|
341 |
-
#, php-format
|
342 |
-
msgid "Sorry, it seems the coupon \"%s\" is not yours."
|
343 |
-
msgstr ""
|
344 |
-
|
345 |
-
#: includes/wjecf-pro-controller.php:50 includes/wjecf-pro-controller.php:55
|
346 |
-
msgid "Limit discount to"
|
347 |
-
msgstr "Limitar o desconto a:"
|
348 |
-
|
349 |
-
#: includes/wjecf-pro-controller.php:61
|
350 |
-
msgid ""
|
351 |
-
"Please note that when the discount type is 'Product discount' (see 'General'-"
|
352 |
-
"tab), the discount will only be applied to <em>matching</em> products."
|
353 |
-
msgstr ""
|
354 |
-
"Por favor observe que quando o tipo de desconto é \"desconto no produto\", "
|
355 |
-
"você pode conferir na aba \" Geral\", o desconto será apenas aplicado aos "
|
356 |
-
"produtos especificados."
|
357 |
-
|
358 |
-
#: includes/wjecf-pro-controller.php:67
|
359 |
-
msgid "Discount on cart with excluded products"
|
360 |
-
msgstr "Desconto no carrinho com produtos excluídos"
|
361 |
-
|
362 |
-
#: includes/wjecf-pro-controller.php:73
|
363 |
-
msgid "Allow discount on cart with excluded items"
|
364 |
-
msgstr "Permitir desconto no carrinho com itens excluídos"
|
365 |
-
|
366 |
-
#: includes/wjecf-pro-controller.php:75
|
367 |
-
msgid ""
|
368 |
-
"Check this box to allow a 'Cart Discount' coupon to be applied even when "
|
369 |
-
"excluded items are in the cart (see tab 'usage restriction')."
|
370 |
-
msgstr ""
|
371 |
-
"Marque isso para permitir que cupons de \"Descontos no Carrinho\"sejam "
|
372 |
-
"aplicados mesmo quando itens excluídos da oferta estejam no carrinho, veja "
|
373 |
-
"na aba \"restrições de uso\""
|
374 |
-
|
375 |
-
#: includes/wjecf-pro-free-products.php:80
|
376 |
-
msgid "Please select your free gift."
|
377 |
-
msgstr "Por favor selecione o seu presente grátis"
|
378 |
-
|
379 |
-
#: includes/wjecf-pro-free-products.php:337
|
380 |
-
#: includes/wjecf-pro-free-products.php:347
|
381 |
-
msgid "Free!"
|
382 |
-
msgstr "Grátis!"
|
383 |
-
|
384 |
-
#: includes/wjecf-pro-free-products.php:412
|
385 |
-
#: includes/wjecf-pro-free-products.php:435
|
386 |
-
#: includes/wjecf-pro-free-products.php:441
|
387 |
-
msgid "Free products"
|
388 |
-
msgstr "Produtos grátis!"
|
389 |
-
|
390 |
-
#: includes/wjecf-pro-free-products.php:446
|
391 |
-
msgid ""
|
392 |
-
"Free products that will be added to the cart when this coupon is applied."
|
393 |
-
msgstr ""
|
394 |
-
"Produtos grátis que serão acrescentados ao carrinho quando o cupon for "
|
395 |
-
"aplicado."
|
396 |
-
|
397 |
-
#: includes/wjecf-pro-free-products.php:453
|
398 |
-
msgid "Select one"
|
399 |
-
msgstr "Selecione um"
|
400 |
-
|
401 |
-
#: includes/wjecf-pro-free-products.php:454
|
402 |
-
msgid "Check this box if the customer must choose from the free products."
|
403 |
-
msgstr "Marque está caixa se o cliente deve escolher o produto grátis."
|
404 |
-
|
405 |
-
#: includes/wjecf-pro-free-products.php:462
|
406 |
-
msgid "'Select your gift'-message"
|
407 |
-
msgstr "Mensagem para \"Selecione seu presente\""
|
408 |
-
|
409 |
-
#: includes/wjecf-pro-free-products.php:463
|
410 |
-
msgid "Please choose your free gift:"
|
411 |
-
msgstr "Por favor escolha seu presente gratuito:"
|
412 |
-
|
413 |
-
#: includes/wjecf-pro-free-products.php:464
|
414 |
-
msgid "This message is displayed when the customer must choose a free product."
|
415 |
-
msgstr ""
|
416 |
-
"Esta mensagem será exibida quando o consumidor deverá escolher um produto "
|
417 |
-
"grátis."
|
418 |
-
|
419 |
-
#: includes/wjecf-pro-free-products.php:473
|
420 |
-
msgid "Allow multiplication of the free products"
|
421 |
-
msgstr "Permitir Multiplicação de produtos gratuitos"
|
422 |
-
|
423 |
-
#: includes/wjecf-pro-free-products.php:474
|
424 |
-
msgid ""
|
425 |
-
"The amount of free products is multiplied every time the minimum spend, "
|
426 |
-
"subtotal or quantity is reached."
|
427 |
-
msgstr ""
|
428 |
-
"A quantidade de produtos grátis é multiplicada cada vez que o mínimo gasto, "
|
429 |
-
"subtotal, ou quantidade é atingida"
|
430 |
-
|
431 |
-
#: includes/wjecf-pro-free-products.php:481
|
432 |
-
msgid "BOGO matching products"
|
433 |
-
msgstr "Produtos dentro da promoção Compre 1 ganhe outro"
|
434 |
-
|
435 |
-
#: includes/wjecf-pro-free-products.php:483
|
436 |
-
msgid ""
|
437 |
-
"Buy one or more of any of the matching products (see 'Usage Restriction'-"
|
438 |
-
"tab) and get one free. Check 'Allow multiplication' to get one free item for "
|
439 |
-
"every matching item in the cart."
|
440 |
-
msgstr ""
|
441 |
-
"Compre um ou mais de qualquer um dos produtos dentro da promoção (olhe na "
|
442 |
-
"aba de Restrições de Uso) e ganhe um de graça. Marque \"Permitir "
|
443 |
-
"Multiplicação\" para ganhar um item grátis por cada item compátivel com a "
|
444 |
-
"promoção no carrinho."
|
445 |
-
|
446 |
-
#: includes/wjecf-pro-free-products.php:497
|
447 |
-
msgid "Search for a product…"
|
448 |
-
msgstr "Procutar por produto..."
|
449 |
-
|
450 |
-
#: woocommerce-jos-autocoupon-pro.php:33
|
451 |
-
msgid ""
|
452 |
-
"WooCommerce Extended Coupon Features is disabled because WooCommerce could "
|
453 |
-
"not be detected."
|
454 |
-
msgstr ""
|
455 |
-
"WooCommerce Extended Coupon Features está desabilitado pois não detectamos o "
|
456 |
-
"Woocommerce."
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WooCommerce Extended Coupon Features 2.00\n"
|
4 |
+
"POT-Creation-Date: 2016-03-28 21:32+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-03-28 21:32+0200\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: Jos Koenis\n"
|
8 |
+
"Language: pt_BR\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.6\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
|
19 |
+
#: includes/admin/wjecf-admin.php:94
|
20 |
+
msgid "Do you find WooCommerce Extended Coupon Features useful?"
|
21 |
+
msgstr "Você achou o WooCommerce Extended Coupon Features útil?"
|
22 |
+
|
23 |
+
#: includes/admin/wjecf-admin.php:96
|
24 |
+
msgid "Express your gratitude"
|
25 |
+
msgstr "Expresse sua gratidão!"
|
26 |
+
|
27 |
+
#: includes/admin/wjecf-admin.php:100
|
28 |
+
msgid "Donate to the developer"
|
29 |
+
msgstr "Doe ao desenvolvedor"
|
30 |
+
|
31 |
+
#: includes/admin/wjecf-admin.php:107
|
32 |
+
msgid "Documentation"
|
33 |
+
msgstr "Documentação"
|
34 |
+
|
35 |
+
#: includes/admin/wjecf-admin.php:109
|
36 |
+
msgid "WooCommerce Extended Coupon Features Documentation"
|
37 |
+
msgstr "Documentação do WooCommerce Extended Coupon Features"
|
38 |
+
|
39 |
+
#: includes/admin/wjecf-admin.php:117
|
40 |
+
msgid "Products"
|
41 |
+
msgstr "Produtos"
|
42 |
+
|
43 |
+
#: includes/admin/wjecf-admin.php:123 includes/admin/wjecf-admin.php:230
|
44 |
+
msgid "Checkout"
|
45 |
+
msgstr "Checkout"
|
46 |
+
|
47 |
+
#: includes/admin/wjecf-admin.php:129 includes/admin/wjecf-admin.php:340
|
48 |
+
msgid "Miscellaneous"
|
49 |
+
msgstr "Miscelânia"
|
50 |
+
|
51 |
+
#: includes/admin/wjecf-admin.php:141
|
52 |
+
msgid "Matching products"
|
53 |
+
msgstr "Produtos que se enquadram na promoção"
|
54 |
+
|
55 |
+
#: includes/admin/wjecf-admin.php:146
|
56 |
+
msgid "AND Products (not OR)"
|
57 |
+
msgstr "E produtos (não ou)"
|
58 |
+
|
59 |
+
#: includes/admin/wjecf-admin.php:147
|
60 |
+
msgid ""
|
61 |
+
"Check this box if ALL of the products (see tab 'usage restriction') must be "
|
62 |
+
"in the cart to use this coupon (instead of only one of the products)."
|
63 |
+
msgstr ""
|
64 |
+
"Marque essa caixa se todos os produtos devem estar no carrinho para usar "
|
65 |
+
"este cupom ao invés de apenas um dos produtos (veja a aba de \"restrição de "
|
66 |
+
"uso\")"
|
67 |
+
|
68 |
+
#: includes/admin/wjecf-admin.php:154
|
69 |
+
msgid "AND Categories (not OR)"
|
70 |
+
msgstr "E categorias (não é ou)"
|
71 |
+
|
72 |
+
#: includes/admin/wjecf-admin.php:155
|
73 |
+
msgid ""
|
74 |
+
"Check this box if products from ALL of the categories (see tab 'usage "
|
75 |
+
"restriction') must be in the cart to use this coupon (instead of only one "
|
76 |
+
"from one of the categories)."
|
77 |
+
msgstr ""
|
78 |
+
"Marque essa caixa se produtos de todas as categorias devem estar no "
|
79 |
+
"carrinho para usar este cupom ao invés de apenas um dos produtos (veja a aba "
|
80 |
+
"de \"restrição de uso\")"
|
81 |
+
|
82 |
+
#: includes/admin/wjecf-admin.php:160
|
83 |
+
msgid "(AND)"
|
84 |
+
msgstr "(E)"
|
85 |
+
|
86 |
+
#: includes/admin/wjecf-admin.php:161
|
87 |
+
msgid "(OR)"
|
88 |
+
msgstr "(OU)"
|
89 |
+
|
90 |
+
#: includes/admin/wjecf-admin.php:190
|
91 |
+
msgid "Minimum quantity of matching products"
|
92 |
+
msgstr "Mínima quantidade de produtos dentro da produção"
|
93 |
+
|
94 |
+
#: includes/admin/wjecf-admin.php:191 includes/admin/wjecf-admin.php:211
|
95 |
+
msgid "No minimum"
|
96 |
+
msgstr "Sem mínimo"
|
97 |
+
|
98 |
+
#: includes/admin/wjecf-admin.php:192
|
99 |
+
msgid ""
|
100 |
+
"Minimum quantity of the products that match the given product or category "
|
101 |
+
"restrictions (see tab 'usage restriction'). If no product or category "
|
102 |
+
"restrictions are specified, the total number of products is used."
|
103 |
+
msgstr "Quantidade mínima de produtos que devem estar na "
|
104 |
+
|
105 |
+
#: includes/admin/wjecf-admin.php:200
|
106 |
+
msgid "Maximum quantity of matching products"
|
107 |
+
msgstr "Quantidade máxima de produtos em promoção"
|
108 |
+
|
109 |
+
#: includes/admin/wjecf-admin.php:201 includes/admin/wjecf-admin.php:221
|
110 |
+
msgid "No maximum"
|
111 |
+
msgstr "Sem máximo"
|
112 |
+
|
113 |
+
#: includes/admin/wjecf-admin.php:202
|
114 |
+
msgid ""
|
115 |
+
"Maximum quantity of the products that match the given product or category "
|
116 |
+
"restrictions (see tab 'usage restriction'). If no product or category "
|
117 |
+
"restrictions are specified, the total number of products is used."
|
118 |
+
msgstr ""
|
119 |
+
"Quantidade máxima dos produtos que correspondem às restrições de produtos ou "
|
120 |
+
"categoria referidos (ver a aba \"restrição de uso\"). Se não há restrições "
|
121 |
+
"ou categoria de produtos são especificados, o número total de produtos é "
|
122 |
+
"usado."
|
123 |
+
|
124 |
+
#: includes/admin/wjecf-admin.php:210
|
125 |
+
msgid "Minimum subtotal of matching products"
|
126 |
+
msgstr "Subtotal mínimo de produtos que correspondam à promoção"
|
127 |
+
|
128 |
+
#: includes/admin/wjecf-admin.php:212
|
129 |
+
msgid ""
|
130 |
+
"Minimum price subtotal of the products that match the given product or "
|
131 |
+
"category restrictions (see tab 'usage restriction')."
|
132 |
+
msgstr ""
|
133 |
+
"Subtotal mínimo dos produtos que correspondem às restrições de produtos ou "
|
134 |
+
"categoria referidos (ver a aba \"restrição de uso\")."
|
135 |
+
|
136 |
+
#: includes/admin/wjecf-admin.php:220
|
137 |
+
msgid "Maximum subtotal of matching products"
|
138 |
+
msgstr "Subtotal máximo de produtos que correspondam a promoção"
|
139 |
+
|
140 |
+
#: includes/admin/wjecf-admin.php:222
|
141 |
+
msgid ""
|
142 |
+
"Maximum price subtotal of the products that match the given product or "
|
143 |
+
"category restrictions (see tab 'usage restriction')."
|
144 |
+
msgstr ""
|
145 |
+
"Subtotal máximo dos produtos que correspondem às restrições de produtos ou "
|
146 |
+
"categoria referidos (ver a aba \"restrição de uso\")."
|
147 |
+
|
148 |
+
#: includes/admin/wjecf-admin.php:235
|
149 |
+
msgid "Shipping methods"
|
150 |
+
msgstr "Métodos de envio"
|
151 |
+
|
152 |
+
#: includes/admin/wjecf-admin.php:236
|
153 |
+
msgid "Any shipping method"
|
154 |
+
msgstr "Qualquer método de envio"
|
155 |
+
|
156 |
+
#: includes/admin/wjecf-admin.php:245
|
157 |
+
msgid ""
|
158 |
+
"One of these shipping methods must be selected in order for this coupon to "
|
159 |
+
"be valid."
|
160 |
+
msgstr ""
|
161 |
+
"Um destes métodos de envio devem ser selecionados para tornar este cupom "
|
162 |
+
"válido"
|
163 |
+
|
164 |
+
#: includes/admin/wjecf-admin.php:251
|
165 |
+
msgid "Payment methods"
|
166 |
+
msgstr "Métodos de pagamento"
|
167 |
+
|
168 |
+
#: includes/admin/wjecf-admin.php:252
|
169 |
+
msgid "Any payment method"
|
170 |
+
msgstr "Qualquer método de pagamento"
|
171 |
+
|
172 |
+
#: includes/admin/wjecf-admin.php:263
|
173 |
+
msgid ""
|
174 |
+
"One of these payment methods must be selected in order for this coupon to be "
|
175 |
+
"valid."
|
176 |
+
msgstr ""
|
177 |
+
"Um desses métodos de pagamento deve ser selecionado para que este cupom seja "
|
178 |
+
"válido."
|
179 |
+
|
180 |
+
#: includes/admin/wjecf-admin.php:271
|
181 |
+
msgid "Customer restrictions"
|
182 |
+
msgstr "Restrições a clientes"
|
183 |
+
|
184 |
+
#: includes/admin/wjecf-admin.php:272
|
185 |
+
msgid ""
|
186 |
+
"If both a customer and a role restriction are supplied, matching either one "
|
187 |
+
"of them will suffice."
|
188 |
+
msgstr ""
|
189 |
+
"Se ambos, o cliente a restrição de tipo de cliente são apresentados, "
|
190 |
+
"corresponder um ou outro será suficiente"
|
191 |
+
|
192 |
+
#: includes/admin/wjecf-admin.php:277
|
193 |
+
msgid "Allowed Customers"
|
194 |
+
msgstr "Clientes permitidos"
|
195 |
+
|
196 |
+
#: includes/admin/wjecf-admin.php:278
|
197 |
+
msgid "Any customer"
|
198 |
+
msgstr "Qualquer cliente"
|
199 |
+
|
200 |
+
#: includes/admin/wjecf-admin.php:291
|
201 |
+
msgid "Only these customers may use this coupon."
|
202 |
+
msgstr "Apenas estes clientes podem usar este cupom"
|
203 |
+
|
204 |
+
#: includes/admin/wjecf-admin.php:298
|
205 |
+
msgid "Allowed User Roles"
|
206 |
+
msgstr "Tipos de usuário permitidos"
|
207 |
+
|
208 |
+
#: includes/admin/wjecf-admin.php:299 includes/admin/wjecf-admin.php:321
|
209 |
+
msgid "Any role"
|
210 |
+
msgstr "Qualquer tipo de usuário"
|
211 |
+
|
212 |
+
#: includes/admin/wjecf-admin.php:313
|
213 |
+
msgid "Only these User Roles may use this coupon."
|
214 |
+
msgstr "Apenas estes tipos de usuário podem usar este cupom"
|
215 |
+
|
216 |
+
#: includes/admin/wjecf-admin.php:320
|
217 |
+
msgid "Disallowed User Roles"
|
218 |
+
msgstr "Tipos de usuário não permitidos"
|
219 |
+
|
220 |
+
#: includes/admin/wjecf-admin.php:334
|
221 |
+
msgid "These User Roles will be specifically excluded from using this coupon."
|
222 |
+
msgstr ""
|
223 |
+
"Estes tipos de usuário serão especificamente excluídos de utilizar este "
|
224 |
+
"cupom."
|
225 |
+
|
226 |
+
#: includes/admin/wjecf-admin.php:345
|
227 |
+
msgid "Allow when minimum spend not reached"
|
228 |
+
msgstr "Permitir uso quando a compra mínima não for alcançada"
|
229 |
+
|
230 |
+
#: includes/admin/wjecf-admin.php:346 includes/wjecf-pro-controller.php:74
|
231 |
+
#: includes/wjecf-pro-free-products.php:474
|
232 |
+
#: includes/wjecf-pro-free-products.php:482
|
233 |
+
msgid "EXPERIMENTAL: "
|
234 |
+
msgstr "Experimental:"
|
235 |
+
|
236 |
+
#: includes/admin/wjecf-admin.php:346
|
237 |
+
msgid ""
|
238 |
+
"Check this box to allow the coupon to be in the cart even when minimum spend "
|
239 |
+
"(see tab 'usage restriction') is not reached. Value of the discount will be "
|
240 |
+
"0 until minimum spend is reached."
|
241 |
+
msgstr ""
|
242 |
+
"Marque esta caixa para permitir que o cupom esteja no carrinho, mesmo quando "
|
243 |
+
"gasto mínimo (veja a aba \"Restrição de Uso ') não é alcançado. Valor do "
|
244 |
+
"desconto será de 0 até o gasto mínimo é alcançado."
|
245 |
+
|
246 |
+
#: includes/wjecf-autocoupon.php:58 includes/wjecf-autocoupon.php:130
|
247 |
+
#: includes/wjecf-autocoupon.php:137
|
248 |
+
msgid "Auto coupon"
|
249 |
+
msgstr "Cupom automático"
|
250 |
+
|
251 |
+
#: includes/wjecf-autocoupon.php:63
|
252 |
+
msgid "Individual use"
|
253 |
+
msgstr "Uso individual"
|
254 |
+
|
255 |
+
#: includes/wjecf-autocoupon.php:83 includes/wjecf-autocoupon.php:91
|
256 |
+
msgid "Yes"
|
257 |
+
msgstr "Sim"
|
258 |
+
|
259 |
+
#: includes/wjecf-autocoupon.php:83 includes/wjecf-autocoupon.php:91
|
260 |
+
msgid "No"
|
261 |
+
msgstr "Não"
|
262 |
+
|
263 |
+
#: includes/wjecf-autocoupon.php:102
|
264 |
+
msgid "Auto coupons"
|
265 |
+
msgstr "Cupon Automáticos"
|
266 |
+
|
267 |
+
#: includes/wjecf-autocoupon.php:138
|
268 |
+
msgid ""
|
269 |
+
"Automatically add the coupon to the cart if the restrictions are met. Please "
|
270 |
+
"enter a description when you check this box, the description will be shown "
|
271 |
+
"in the customer's cart if the coupon is applied."
|
272 |
+
msgstr ""
|
273 |
+
"Automaticamente adiciona o cupom ao carrinho se as condições forem "
|
274 |
+
"atingidas. Por favor entre com uma descrição quando você marca esta caixa, a "
|
275 |
+
"descrição será vista pelos consumidores na página do carrinho quando o cupom "
|
276 |
+
"for aplicado. Por isso seja preciso e faça uma bela descrição. Seu cliente a "
|
277 |
+
"lerá!!"
|
278 |
+
|
279 |
+
#: includes/wjecf-autocoupon.php:146
|
280 |
+
msgid "Priority"
|
281 |
+
msgstr "Prioridade"
|
282 |
+
|
283 |
+
#: includes/wjecf-autocoupon.php:147
|
284 |
+
msgid "No priority"
|
285 |
+
msgstr "Sem prioridade"
|
286 |
+
|
287 |
+
#: includes/wjecf-autocoupon.php:148
|
288 |
+
msgid ""
|
289 |
+
"When 'individual use' is checked, auto coupons with a higher value will have "
|
290 |
+
"priority over other auto coupons."
|
291 |
+
msgstr ""
|
292 |
+
"Quando \"uso individual\" estiver marcado cupons automáticos com valor mais "
|
293 |
+
"alto terão prioridade sobre outros cupons automáticos"
|
294 |
+
|
295 |
+
#: includes/wjecf-autocoupon.php:158
|
296 |
+
msgid "Apply silently"
|
297 |
+
msgstr "Aplicar Silenciosamente"
|
298 |
+
|
299 |
+
#: includes/wjecf-autocoupon.php:159
|
300 |
+
msgid "Don't display a message when this coupon is automatically applied."
|
301 |
+
msgstr "Não exibe a mensagem quando um cupom automatico é aplicado"
|
302 |
+
|
303 |
+
#: includes/wjecf-autocoupon.php:266
|
304 |
+
msgid "Free shipping coupon"
|
305 |
+
msgstr "Cupom de frete grátis"
|
306 |
+
|
307 |
+
#: includes/wjecf-autocoupon.php:422
|
308 |
+
#, php-format
|
309 |
+
msgid "Discount applied: %s"
|
310 |
+
msgstr "Desconto aplicado: %s"
|
311 |
+
|
312 |
+
#: includes/wjecf-controller.php:162
|
313 |
+
#, php-format
|
314 |
+
msgid "The minimum subtotal of the matching products for this coupon is %s."
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: includes/wjecf-controller.php:166
|
318 |
+
#, php-format
|
319 |
+
msgid "The maximum subtotal of the matching products for this coupon is %s."
|
320 |
+
msgstr ""
|
321 |
+
|
322 |
+
#: includes/wjecf-controller.php:170
|
323 |
+
#, php-format
|
324 |
+
msgid "The minimum quantity of matching products for this coupon is %s."
|
325 |
+
msgstr ""
|
326 |
+
|
327 |
+
#: includes/wjecf-controller.php:174
|
328 |
+
#, php-format
|
329 |
+
msgid "The maximum quantity of matching products for this coupon is %s."
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: includes/wjecf-controller.php:177
|
333 |
+
msgid "The coupon is not valid for the currently selected shipping method."
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: includes/wjecf-controller.php:180
|
337 |
+
msgid "The coupon is not valid for the currently selected payment method."
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: includes/wjecf-controller.php:183
|
341 |
+
#, php-format
|
342 |
+
msgid "Sorry, it seems the coupon \"%s\" is not yours."
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: includes/wjecf-pro-controller.php:50 includes/wjecf-pro-controller.php:55
|
346 |
+
msgid "Limit discount to"
|
347 |
+
msgstr "Limitar o desconto a:"
|
348 |
+
|
349 |
+
#: includes/wjecf-pro-controller.php:61
|
350 |
+
msgid ""
|
351 |
+
"Please note that when the discount type is 'Product discount' (see 'General'-"
|
352 |
+
"tab), the discount will only be applied to <em>matching</em> products."
|
353 |
+
msgstr ""
|
354 |
+
"Por favor observe que quando o tipo de desconto é \"desconto no produto\", "
|
355 |
+
"você pode conferir na aba \" Geral\", o desconto será apenas aplicado aos "
|
356 |
+
"produtos especificados."
|
357 |
+
|
358 |
+
#: includes/wjecf-pro-controller.php:67
|
359 |
+
msgid "Discount on cart with excluded products"
|
360 |
+
msgstr "Desconto no carrinho com produtos excluídos"
|
361 |
+
|
362 |
+
#: includes/wjecf-pro-controller.php:73
|
363 |
+
msgid "Allow discount on cart with excluded items"
|
364 |
+
msgstr "Permitir desconto no carrinho com itens excluídos"
|
365 |
+
|
366 |
+
#: includes/wjecf-pro-controller.php:75
|
367 |
+
msgid ""
|
368 |
+
"Check this box to allow a 'Cart Discount' coupon to be applied even when "
|
369 |
+
"excluded items are in the cart (see tab 'usage restriction')."
|
370 |
+
msgstr ""
|
371 |
+
"Marque isso para permitir que cupons de \"Descontos no Carrinho\"sejam "
|
372 |
+
"aplicados mesmo quando itens excluídos da oferta estejam no carrinho, veja "
|
373 |
+
"na aba \"restrições de uso\""
|
374 |
+
|
375 |
+
#: includes/wjecf-pro-free-products.php:80
|
376 |
+
msgid "Please select your free gift."
|
377 |
+
msgstr "Por favor selecione o seu presente grátis"
|
378 |
+
|
379 |
+
#: includes/wjecf-pro-free-products.php:337
|
380 |
+
#: includes/wjecf-pro-free-products.php:347
|
381 |
+
msgid "Free!"
|
382 |
+
msgstr "Grátis!"
|
383 |
+
|
384 |
+
#: includes/wjecf-pro-free-products.php:412
|
385 |
+
#: includes/wjecf-pro-free-products.php:435
|
386 |
+
#: includes/wjecf-pro-free-products.php:441
|
387 |
+
msgid "Free products"
|
388 |
+
msgstr "Produtos grátis!"
|
389 |
+
|
390 |
+
#: includes/wjecf-pro-free-products.php:446
|
391 |
+
msgid ""
|
392 |
+
"Free products that will be added to the cart when this coupon is applied."
|
393 |
+
msgstr ""
|
394 |
+
"Produtos grátis que serão acrescentados ao carrinho quando o cupon for "
|
395 |
+
"aplicado."
|
396 |
+
|
397 |
+
#: includes/wjecf-pro-free-products.php:453
|
398 |
+
msgid "Select one"
|
399 |
+
msgstr "Selecione um"
|
400 |
+
|
401 |
+
#: includes/wjecf-pro-free-products.php:454
|
402 |
+
msgid "Check this box if the customer must choose from the free products."
|
403 |
+
msgstr "Marque está caixa se o cliente deve escolher o produto grátis."
|
404 |
+
|
405 |
+
#: includes/wjecf-pro-free-products.php:462
|
406 |
+
msgid "'Select your gift'-message"
|
407 |
+
msgstr "Mensagem para \"Selecione seu presente\""
|
408 |
+
|
409 |
+
#: includes/wjecf-pro-free-products.php:463
|
410 |
+
msgid "Please choose your free gift:"
|
411 |
+
msgstr "Por favor escolha seu presente gratuito:"
|
412 |
+
|
413 |
+
#: includes/wjecf-pro-free-products.php:464
|
414 |
+
msgid "This message is displayed when the customer must choose a free product."
|
415 |
+
msgstr ""
|
416 |
+
"Esta mensagem será exibida quando o consumidor deverá escolher um produto "
|
417 |
+
"grátis."
|
418 |
+
|
419 |
+
#: includes/wjecf-pro-free-products.php:473
|
420 |
+
msgid "Allow multiplication of the free products"
|
421 |
+
msgstr "Permitir Multiplicação de produtos gratuitos"
|
422 |
+
|
423 |
+
#: includes/wjecf-pro-free-products.php:474
|
424 |
+
msgid ""
|
425 |
+
"The amount of free products is multiplied every time the minimum spend, "
|
426 |
+
"subtotal or quantity is reached."
|
427 |
+
msgstr ""
|
428 |
+
"A quantidade de produtos grátis é multiplicada cada vez que o mínimo gasto, "
|
429 |
+
"subtotal, ou quantidade é atingida"
|
430 |
+
|
431 |
+
#: includes/wjecf-pro-free-products.php:481
|
432 |
+
msgid "BOGO matching products"
|
433 |
+
msgstr "Produtos dentro da promoção Compre 1 ganhe outro"
|
434 |
+
|
435 |
+
#: includes/wjecf-pro-free-products.php:483
|
436 |
+
msgid ""
|
437 |
+
"Buy one or more of any of the matching products (see 'Usage Restriction'-"
|
438 |
+
"tab) and get one free. Check 'Allow multiplication' to get one free item for "
|
439 |
+
"every matching item in the cart."
|
440 |
+
msgstr ""
|
441 |
+
"Compre um ou mais de qualquer um dos produtos dentro da promoção (olhe na "
|
442 |
+
"aba de Restrições de Uso) e ganhe um de graça. Marque \"Permitir "
|
443 |
+
"Multiplicação\" para ganhar um item grátis por cada item compátivel com a "
|
444 |
+
"promoção no carrinho."
|
445 |
+
|
446 |
+
#: includes/wjecf-pro-free-products.php:497
|
447 |
+
msgid "Search for a product…"
|
448 |
+
msgstr "Procutar por produto..."
|
449 |
+
|
450 |
+
#: woocommerce-jos-autocoupon-pro.php:33
|
451 |
+
msgid ""
|
452 |
+
"WooCommerce Extended Coupon Features is disabled because WooCommerce could "
|
453 |
+
"not be detected."
|
454 |
+
msgstr ""
|
455 |
+
"WooCommerce Extended Coupon Features está desabilitado pois não detectamos o "
|
456 |
+
"Woocommerce."
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: josk79
|
|
3 |
Tags: woocommerce, coupons, discount
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 3.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -16,7 +16,7 @@ Additional functionality for WooCommerce Coupons: Allow discounts to be automati
|
|
16 |
Very easy to use, the functionality is conveniently integrated to the WooCommerce Edit Coupon panel.
|
17 |
|
18 |
Requires:
|
19 |
-
* WooCommerce 3.0 or newer (
|
20 |
* PHP 5.6 or newer (7.2+ Recommended)
|
21 |
* WordPress 4.9 or newer
|
22 |
|
@@ -103,6 +103,30 @@ On the settings page (Settings > WooCommerce Extended Coupon Features) check the
|
|
103 |
|
104 |
== Changelog ==
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
= 3.2.1 =
|
107 |
*Release Date - 2020-08-18*
|
108 |
* (PRO) FEATURE: Filter 'wjecf_free_products_to_apply_for_coupon'
|
3 |
Tags: woocommerce, coupons, discount
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6
|
6 |
+
Tested up to: 5.6.0
|
7 |
+
Stable tag: 3.2.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
16 |
Very easy to use, the functionality is conveniently integrated to the WooCommerce Edit Coupon panel.
|
17 |
|
18 |
Requires:
|
19 |
+
* WooCommerce 3.0 or newer (4.0+ recommended)
|
20 |
* PHP 5.6 or newer (7.2+ Recommended)
|
21 |
* WordPress 4.9 or newer
|
22 |
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
= 3.2.6 =
|
107 |
+
*Release Data - 2021-01-16*
|
108 |
+
* (PRO) FIX: Don't display free product selection when there are no items to choose from
|
109 |
+
* FEATURE: 'Table Rate Shipping' by WooCommerce compatibility
|
110 |
+
|
111 |
+
= 3.2.5 =
|
112 |
+
*Release Date - 2020-11-30*
|
113 |
+
* FEATURE: Defer an applied coupon if it's valid and 'allow queueing' is enabled
|
114 |
+
* FEATURE: 'Table Rate Shipping for WooCommerce' by Border Elements compatibility
|
115 |
+
* FEATURE: Support for WP-Multilang (requires patch https://github.com/VaLeXaR/wp-multilang/pull/172 in WP-Multilang)
|
116 |
+
* FIX: Typo making filter 'wjecf_first_order_statuses_to_check' useless
|
117 |
+
|
118 |
+
= 3.2.4 =
|
119 |
+
*Release Date - 2020-11-06*
|
120 |
+
* FEATURE: Flexible shipping instances compatibility
|
121 |
+
|
122 |
+
= 3.2.3 =
|
123 |
+
*Release Date - 2020-10-18*
|
124 |
+
* PERFORMANCE: (PRO) Auto update: applied caching to prevent many requests to the webserver
|
125 |
+
|
126 |
+
= 3.2.2 =
|
127 |
+
*Release Date - 2020-08-27*
|
128 |
+
* (PRO) First purchase only: Add 'Pending payment' to order statuses and apply filter wjecf_first_order_statuses_to_check to allow override of the statuses to check
|
129 |
+
|
130 |
= 3.2.1 =
|
131 |
*Release Date - 2020-08-18*
|
132 |
* (PRO) FEATURE: Filter 'wjecf_free_products_to_apply_for_coupon'
|
woocommerce-jos-autocoupon.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
* Plugin Name: WooCommerce Extended Coupon Features FREE
|
4 |
* Plugin URI: http://www.soft79.nl
|
5 |
* Description: Additional functionality for WooCommerce Coupons.
|
6 |
-
* Version: 3.2.
|
7 |
* Text Domain: woocommerce-jos-autocoupon
|
8 |
* Author: Soft79
|
9 |
* License: GPL2
|
10 |
* WC requires at least: 3.0.0
|
11 |
-
* WC tested up to: 4.
|
12 |
*/
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
}
|
17 |
|
18 |
if ( ! defined( 'WJECF_VERSION' ) ) {
|
19 |
-
define( 'WJECF_VERSION', '3.2.
|
20 |
}
|
21 |
|
22 |
// NOTE: This file must be compatible with old PHP versions. All other files can be PHP 5.6+ .
|
3 |
* Plugin Name: WooCommerce Extended Coupon Features FREE
|
4 |
* Plugin URI: http://www.soft79.nl
|
5 |
* Description: Additional functionality for WooCommerce Coupons.
|
6 |
+
* Version: 3.2.6
|
7 |
* Text Domain: woocommerce-jos-autocoupon
|
8 |
* Author: Soft79
|
9 |
* License: GPL2
|
10 |
* WC requires at least: 3.0.0
|
11 |
+
* WC tested up to: 4.9.0
|
12 |
*/
|
13 |
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
16 |
}
|
17 |
|
18 |
if ( ! defined( 'WJECF_VERSION' ) ) {
|
19 |
+
define( 'WJECF_VERSION', '3.2.6' );
|
20 |
}
|
21 |
|
22 |
// NOTE: This file must be compatible with old PHP versions. All other files can be PHP 5.6+ .
|
wpm-config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"post_fields": {
|
3 |
+
"_wjecf_select_free_product_message" : {},
|
4 |
+
"_wjecf_custom_error_message" : {},
|
5 |
+
"_wjecf_enqueue_message" : {}
|
6 |
+
}
|
7 |
+
}
|
8 |
+
|