Version Description
- 29/11/18 =
- Fix - BOGO validation in backend
- Fix - Warning: get_html_translation_table() expects at most 2 parameters, 3 given
- Improvement - Exclude bundled product for cheapest product
- Improvement - More Status info in backend rule listing
Download this release
Release Info
Developer | flycart |
Plugin | Discount Rules for WooCommerce |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7.0 to 1.7.1
- assets/js/app.js +3 -3
- helper/general-helper.php +44 -2
- i18n/languages/woo-discount-rules.pot +216 -210
- includes/discount-base.php +3 -6
- includes/pricing-rules.php +8 -1
- readme.txt +10 -4
- vendor/flycartinc/inputhelper/src/FFilterInput.php +1 -1
- view/cart-rules.php +2 -6
- view/pricing-rules.php +2 -6
- view/view-cart-rules.php +16 -15
- view/view-pricing-rules.php +2 -2
- woo-discount-rules.php +1 -1
assets/js/app.js
CHANGED
@@ -30,7 +30,7 @@ function validateWDRBOGOFields(){
|
|
30 |
var price_discount_type = jQuery(container).find('select.price_discount_type');
|
31 |
if(price_discount_type.val() == 'product_discount'){
|
32 |
var discount_product_option = jQuery(container).find('select.discount_product_option');
|
33 |
-
if(jQuery.inArray(discount_product_option.val(), ['all', 'same_product'
|
34 |
var discount_bogo_qty = jQuery(container).find('input.discount_bogo_qty');
|
35 |
if(discount_bogo_qty.val() == '' || discount_bogo_qty.val() == null){
|
36 |
discount_bogo_qty.addClass('wdr_invalid');
|
@@ -286,7 +286,7 @@ function trigger_woocommerce_tooltip(){
|
|
286 |
if (is_pro) {
|
287 |
var form = '<div class="discount_rule_list"> <div class="form-group"><label>'+woo_discount_localization.min_quantity+' <input type="text" name="discount_range[' + count + '][min_qty]" class="form-control discount_range_min_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_1+'"></label>' +
|
288 |
'<label>'+woo_discount_localization.max_quantity+' <input type="text" name="discount_range[' + count + '][max_qty]" class="form-control discount_range_max_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> </label> <label>'+woo_discount_localization.adjustment_type+'<select class="form-control price_discount_type" name="discount_range[' + count + '][discount_type]"> ' +
|
289 |
-
'<option value="percentage_discount"> '+woo_discount_localization.
|
290 |
'<input type="text" name="discount_range[' + count + '][to_discount]" class="form-control price_discount_amount" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> ';
|
291 |
form += '<div class="price_discount_product_list_con hide">' +
|
292 |
' '+woo_discount_localization.apply_for+' <select class="selectpicker discount_product_option" name="discount_range['+count+'][discount_product_option]"><option value="all">'+woo_discount_localization.all_selected+'</option><option value="same_product">'+woo_discount_localization.same_product+'</option><option value="any_cheapest">'+woo_discount_localization.any_one_cheapest_from_selected+'</option><option value="any_cheapest_from_all">'+woo_discount_localization.any_one_cheapest_from_all_products+'</option>' +
|
@@ -334,7 +334,7 @@ function trigger_woocommerce_tooltip(){
|
|
334 |
} else {
|
335 |
var form = '<div class="discount_rule_list"> <div class="form-group"><label>'+woo_discount_localization.min_quantity+' <input type="text" name="discount_range[' + count + '][min_qty]" class="form-control discount_range_min_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_1+'"></label>' +
|
336 |
'<label>'+woo_discount_localization.max_quantity+' <input type="text" name="discount_range[' + count + '][max_qty]" class="form-control discount_range_max_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> </label> <label>'+woo_discount_localization.adjustment_type+'<select class="form-control price_discount_type" name="discount_range[' + count + '][discount_type]"> ' +
|
337 |
-
'<option value="percentage_discount"> '+woo_discount_localization.
|
338 |
'<input type="text" name="discount_range[' + count + '][to_discount]" class="form-control price_discount_amount" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> ';
|
339 |
form += '<div class="price_discount_product_list_con hide"><select class="product_list selectpicker price_discount_product_list" multiple title="'+woo_discount_localization.none_selected+'" name="discount_range[' + count + '][discount_product][]">';
|
340 |
form += '<option>'+woo_discount_localization.none_text+'</option>';
|
30 |
var price_discount_type = jQuery(container).find('select.price_discount_type');
|
31 |
if(price_discount_type.val() == 'product_discount'){
|
32 |
var discount_product_option = jQuery(container).find('select.discount_product_option');
|
33 |
+
if(jQuery.inArray(discount_product_option.val(), ['all', 'same_product']) !== -1){
|
34 |
var discount_bogo_qty = jQuery(container).find('input.discount_bogo_qty');
|
35 |
if(discount_bogo_qty.val() == '' || discount_bogo_qty.val() == null){
|
36 |
discount_bogo_qty.addClass('wdr_invalid');
|
286 |
if (is_pro) {
|
287 |
var form = '<div class="discount_rule_list"> <div class="form-group"><label>'+woo_discount_localization.min_quantity+' <input type="text" name="discount_range[' + count + '][min_qty]" class="form-control discount_range_min_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_1+'"></label>' +
|
288 |
'<label>'+woo_discount_localization.max_quantity+' <input type="text" name="discount_range[' + count + '][max_qty]" class="form-control discount_range_max_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> </label> <label>'+woo_discount_localization.adjustment_type+'<select class="form-control price_discount_type" name="discount_range[' + count + '][discount_type]"> ' +
|
289 |
+
'<option value="percentage_discount"> '+woo_discount_localization.percentage_discount_in_adjustment_type+' </option> <option value="price_discount">'+woo_discount_localization.price_discount+' </option> <option value="product_discount">'+woo_discount_localization.product_discount+' </option> </select></label> <label><span class="hide-for-product-discount">'+woo_discount_localization.value_text+'</span>' +
|
290 |
'<input type="text" name="discount_range[' + count + '][to_discount]" class="form-control price_discount_amount" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> ';
|
291 |
form += '<div class="price_discount_product_list_con hide">' +
|
292 |
' '+woo_discount_localization.apply_for+' <select class="selectpicker discount_product_option" name="discount_range['+count+'][discount_product_option]"><option value="all">'+woo_discount_localization.all_selected+'</option><option value="same_product">'+woo_discount_localization.same_product+'</option><option value="any_cheapest">'+woo_discount_localization.any_one_cheapest_from_selected+'</option><option value="any_cheapest_from_all">'+woo_discount_localization.any_one_cheapest_from_all_products+'</option>' +
|
334 |
} else {
|
335 |
var form = '<div class="discount_rule_list"> <div class="form-group"><label>'+woo_discount_localization.min_quantity+' <input type="text" name="discount_range[' + count + '][min_qty]" class="form-control discount_range_min_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_1+'"></label>' +
|
336 |
'<label>'+woo_discount_localization.max_quantity+' <input type="text" name="discount_range[' + count + '][max_qty]" class="form-control discount_range_max_qty" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> </label> <label>'+woo_discount_localization.adjustment_type+'<select class="form-control price_discount_type" name="discount_range[' + count + '][discount_type]"> ' +
|
337 |
+
'<option value="percentage_discount"> '+woo_discount_localization.percentage_discount_in_adjustment_type+' </option> <option disabled>'+woo_discount_localization.price_discount+' <b>' + pro_suffix + '</b> </option> <option disabled>'+woo_discount_localization.product_discount+' <b>' + pro_suffix + '</b> </option> </select></label> <label>'+woo_discount_localization.value_text+' ' +
|
338 |
'<input type="text" name="discount_range[' + count + '][to_discount]" class="form-control price_discount_amount" value="" placeholder="'+woo_discount_localization.place_holder_ex_50+'"> ';
|
339 |
form += '<div class="price_discount_product_list_con hide"><select class="product_list selectpicker price_discount_product_list" multiple title="'+woo_discount_localization.none_selected+'" name="discount_range[' + count + '][discount_product][]">';
|
340 |
form += '<option>'+woo_discount_localization.none_text+'</option>';
|
helper/general-helper.php
CHANGED
@@ -502,10 +502,52 @@ if ( ! class_exists( 'FlycartWooDiscountRulesGeneralHelper' ) ) {
|
|
502 |
$string = '';
|
503 |
$current_date = self::getCurrentDateAndTimeBasedOnTimeZone();
|
504 |
if($date_from != ''){
|
505 |
-
if(!(strtotime($date_from) <= strtotime($current_date))) $string = esc_html__('Start date and time is set
|
506 |
}
|
507 |
if($date_to != ''){
|
508 |
-
if(!(strtotime($date_to) >= strtotime($current_date))) $string = esc_html__('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
509 |
}
|
510 |
|
511 |
return $string;
|
502 |
$string = '';
|
503 |
$current_date = self::getCurrentDateAndTimeBasedOnTimeZone();
|
504 |
if($date_from != ''){
|
505 |
+
if(!(strtotime($date_from) <= strtotime($current_date))) $string = esc_html__('Start date and time is set in the future date', 'woo-discount-rules');
|
506 |
}
|
507 |
if($date_to != ''){
|
508 |
+
if(!(strtotime($date_to) >= strtotime($current_date))) $string = esc_html__('Validity expired', 'woo-discount-rules');;
|
509 |
+
}
|
510 |
+
|
511 |
+
return $string;
|
512 |
+
}
|
513 |
+
|
514 |
+
/**
|
515 |
+
* Validate the start and end date
|
516 |
+
*
|
517 |
+
* @param string $date_from
|
518 |
+
* @param string $date_to
|
519 |
+
* @return boolean
|
520 |
+
* */
|
521 |
+
public static function validateDateAndTimeWarningTextForListing($date_from, $date_to){
|
522 |
+
$string = '';
|
523 |
+
$current_date = self::getCurrentDateAndTimeBasedOnTimeZone();
|
524 |
+
if($date_from != ''){
|
525 |
+
if(!(strtotime($date_from) <= strtotime($current_date))) $string = esc_html__('Will run in future', 'woo-discount-rules');
|
526 |
+
}
|
527 |
+
if($date_to != ''){
|
528 |
+
if(!(strtotime($date_to) >= strtotime($current_date))) $string = esc_html__('Not running - validity expired', 'woo-discount-rules');;
|
529 |
+
}
|
530 |
+
|
531 |
+
return $string;
|
532 |
+
}
|
533 |
+
|
534 |
+
/**
|
535 |
+
* Validate the start and end date
|
536 |
+
*
|
537 |
+
* @param string $date_from
|
538 |
+
* @param string $date_to
|
539 |
+
* @return boolean
|
540 |
+
* */
|
541 |
+
public static function validateDateAndTimeWarningTextForListingHTML($date_from, $date_to){
|
542 |
+
$string = '';
|
543 |
+
$validate_date_string = self::validateDateAndTimeWarningTextForListing($date_from, $date_to);
|
544 |
+
if(empty($validate_date_string)){
|
545 |
+
$string .= " - <span class='wdr_status_active_text text-success'>(".esc_html__('Running', 'woo-discount-rules').")</span>";
|
546 |
+
} else {
|
547 |
+
$current_date_and_time = self::getCurrentDateAndTimeBasedOnTimeZone();
|
548 |
+
$current_date_and_time = date('m/d/Y h:i', strtotime($current_date_and_time));
|
549 |
+
$string .= " - <span class='wdr_status_active_text'>(".$validate_date_string.")</span>";
|
550 |
+
$string .= "<br><span class='wdr_status_active_text text-warning'><b>".esc_html__('Your server current date and time: ', 'woo-discount-rules').": </b>".$current_date_and_time."</span>";
|
551 |
}
|
552 |
|
553 |
return $string;
|
i18n/languages/woo-discount-rules.pot
CHANGED
@@ -16,14 +16,30 @@ msgid "Guest"
|
|
16 |
msgstr ""
|
17 |
|
18 |
#: helper/general-helper.php:505
|
19 |
-
msgid "Start date and time is set
|
20 |
msgstr ""
|
21 |
|
22 |
#: helper/general-helper.php:508
|
23 |
-
msgid "
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: helper/general-helper.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
msgid "Read Docs"
|
28 |
msgstr ""
|
29 |
|
@@ -107,7 +123,7 @@ msgstr ""
|
|
107 |
msgid "Free Shipping"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: includes/advanced/free_shipping_method.php:73 includes/discount-base.php:
|
111 |
#: view/cart-rules.php:127 view/pricing-rules.php:157 view/settings.php:573
|
112 |
#: view/settings.php:608
|
113 |
msgid "Enable"
|
@@ -137,469 +153,463 @@ msgstr ""
|
|
137 |
msgid "Disabled"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: includes/discount-base.php:
|
141 |
-
#: view/pricing-rules.php:180
|
142 |
-
msgid "Running"
|
143 |
-
msgstr ""
|
144 |
-
|
145 |
-
#: includes/discount-base.php:189 view/cart-rules.php:152
|
146 |
-
#: view/pricing-rules.php:182
|
147 |
-
msgid "Not running"
|
148 |
-
msgstr ""
|
149 |
-
|
150 |
-
#: includes/discount-base.php:390
|
151 |
msgid "Cache cleared successfully"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: includes/discount-base.php:
|
155 |
msgid "Failed to clear cache"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: includes/discount-base.php:
|
159 |
msgid "Failed to do action"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: includes/discount-base.php:
|
163 |
msgid "Disabled successfully"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: includes/discount-base.php:
|
167 |
msgid "Deleted successfully"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: includes/discount-base.php:
|
171 |
msgid "Enabled successfully"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: includes/discount-base.php:
|
175 |
-
#: includes/discount-base.php:
|
176 |
msgid "copy"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/discount-base.php:
|
180 |
msgid "Duplicate rule created successfully"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: includes/discount-base.php:
|
184 |
msgid "Failed to create duplicate rule"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: includes/discount-base.php:
|
188 |
msgid "Please fill this field"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: includes/discount-base.php:
|
192 |
msgid "Please Enter the Rule Name to Create / Save."
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: includes/discount-base.php:
|
196 |
msgid "Saving..."
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: includes/discount-base.php:
|
200 |
#: view/view-pricing-rules.php:38
|
201 |
msgid "Save Rule"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: includes/discount-base.php:
|
205 |
msgid "Please enter a Key"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: includes/discount-base.php:
|
209 |
msgid "Min Quantity"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: includes/discount-base.php:
|
213 |
msgid "Max Quantity"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: includes/discount-base.php:
|
217 |
#: view/view-pricing-rules.php:76 view/view-pricing-rules.php:655
|
218 |
#: view/view-pricing-rules.php:721 view/view-pricing-rules.php:738
|
219 |
#: view/view-pricing-rules.php:745
|
220 |
msgid "ex. 1"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: includes/discount-base.php:
|
224 |
msgid "ex. 10"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: includes/discount-base.php:
|
228 |
#: view/view-pricing-rules.php:698
|
229 |
msgid "ex. 50"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/discount-base.php:
|
233 |
msgid "Search for a user"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/discount-base.php:
|
237 |
msgid "Adjustment Type"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/discount-base.php:
|
241 |
msgid "Discount percentage"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: includes/discount-base.php:
|
245 |
-
#: view/view-
|
|
|
|
|
|
|
|
|
|
|
246 |
#: view/view-pricing-rules.php:679
|
247 |
msgid "Price Discount"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: includes/discount-base.php:
|
251 |
#: view/view-pricing-rules.php:689
|
252 |
msgid "BOGO Product Discount"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: includes/discount-base.php:
|
256 |
msgid "Product Discount - Not support for subtotal based rule"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: includes/discount-base.php:
|
260 |
#: view/view-pricing-rules.php:693 view/view-pricing-rules.php:812
|
261 |
msgid "Value"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: includes/discount-base.php:
|
265 |
msgid "receive discount for"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: includes/discount-base.php:
|
269 |
msgid "Auto add all selected products"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: includes/discount-base.php:
|
273 |
msgid "Same product"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: includes/discount-base.php:
|
277 |
msgid "Any one cheapest from selected"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: includes/discount-base.php:
|
281 |
msgid "Any one cheapest from all products"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: includes/discount-base.php:
|
285 |
msgid "Cheapest in cart - selected category(ies)"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: includes/discount-base.php:
|
289 |
-
#: view/view-pricing-rules.php:712
|
290 |
msgid "Cheapest in cart - selected item(s)"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: includes/discount-base.php:
|
294 |
msgid "Cheapest among all items in cart"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: includes/discount-base.php:
|
298 |
msgid "Free quantity"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: includes/discount-base.php:
|
302 |
msgid "Number of quantity(ies) in each selected product(s)"
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: includes/discount-base.php:
|
306 |
msgid "Fixed item count (not recommended)"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: includes/discount-base.php:
|
310 |
msgid "Dynamic item count"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: includes/discount-base.php:
|
314 |
msgid ""
|
315 |
"Fixed item count - You need to provide item count manually. Dynamic item "
|
316 |
"count - System will choose dynamically based on cart"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: includes/discount-base.php:
|
320 |
msgid "Item count"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: includes/discount-base.php:
|
324 |
msgid "Discount for number of item(s) in cart"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: includes/discount-base.php:
|
328 |
msgid "Discount for number of quantity(ies) in each item"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: includes/discount-base.php:
|
332 |
msgid "Item quantity"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: includes/discount-base.php:
|
336 |
msgid "Search for a products"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: includes/discount-base.php:
|
340 |
msgid "and"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: includes/discount-base.php:
|
344 |
msgid "100% percent"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: includes/discount-base.php:
|
348 |
msgid "Limited percent"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: includes/discount-base.php:
|
352 |
msgid "Percentage"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: includes/discount-base.php:
|
356 |
msgid "as discount"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: includes/discount-base.php:
|
360 |
#: view/view-pricing-rules.php:789
|
361 |
msgid "Remove"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: includes/discount-base.php:
|
365 |
-
#: view/pricing-rules.php:
|
366 |
msgid "Duplicate"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: includes/discount-base.php:
|
370 |
msgid "none"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: includes/discount-base.php:
|
374 |
msgid "Are you sure to remove this ?"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: includes/discount-base.php:
|
378 |
#: view/pricing-rules.php:154
|
379 |
msgid "Disable"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: includes/discount-base.php:
|
383 |
msgid "Are you sure to remove ?"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: includes/discount-base.php:
|
387 |
msgid "Type"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: includes/discount-base.php:
|
391 |
msgid "Cart Subtotal"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: includes/discount-base.php:
|
395 |
msgid "Subtotal at least"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/discount-base.php:
|
399 |
msgid "Subtotal less than"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: includes/discount-base.php:
|
403 |
msgid "Cart Item Count"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: includes/discount-base.php:
|
407 |
msgid "Number of line items in the cart (not quantity) at least"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: includes/discount-base.php:
|
411 |
msgid "Number of line items in the cart (not quantity) less than"
|
412 |
msgstr ""
|
413 |
|
414 |
-
#: includes/discount-base.php:
|
415 |
msgid "Quantity Sum"
|
416 |
msgstr ""
|
417 |
|
418 |
-
#: includes/discount-base.php:
|
419 |
-
#: view/view-cart-rules.php:
|
420 |
msgid "Total number of quantities in the cart at least"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: includes/discount-base.php:
|
424 |
-
#: view/view-cart-rules.php:
|
425 |
msgid "Total number of quantities in the cart less than"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: includes/discount-base.php:
|
429 |
msgid "Categories in cart"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: includes/discount-base.php:
|
433 |
msgid "Including sub-categories in cart"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: includes/discount-base.php:
|
437 |
msgid "Customer Details (must be logged in)"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: includes/discount-base.php:
|
441 |
-
#: view/view-cart-rules.php:
|
442 |
msgid "User in list"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: includes/discount-base.php:
|
446 |
-
#: view/view-cart-rules.php:
|
447 |
msgid "User role in list"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: includes/discount-base.php:
|
451 |
-
#: view/view-cart-rules.php:
|
452 |
msgid "Shipping country in list"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: includes/discount-base.php:
|
456 |
msgid "Customer Email"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: includes/discount-base.php:
|
460 |
msgid "Email with TLD (Ege: edu)"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: includes/discount-base.php:
|
464 |
-
#: view/view-cart-rules.php:
|
465 |
msgid "Email with Domain (Eg: gmail.com)"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: includes/discount-base.php:
|
469 |
msgid "Customer Billing Details"
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: includes/discount-base.php:
|
473 |
-
#: view/view-cart-rules.php:
|
474 |
msgid "Billing city"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: includes/discount-base.php:
|
478 |
msgid "Customer Shipping Details"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: includes/discount-base.php:
|
482 |
-
#: view/view-cart-rules.php:
|
483 |
msgid "Shipping state"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: includes/discount-base.php:
|
487 |
-
#: view/view-cart-rules.php:
|
488 |
msgid "Shipping city"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: includes/discount-base.php:
|
492 |
-
#: view/view-cart-rules.php:
|
493 |
msgid "Shipping zip code"
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: includes/discount-base.php:
|
497 |
#: view/view-pricing-rules.php:479
|
498 |
msgid "Purchase History"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: includes/discount-base.php:
|
502 |
-
#: view/view-cart-rules.php:
|
503 |
msgid "Purchased amount"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: includes/discount-base.php:
|
507 |
-
#: view/view-cart-rules.php:
|
508 |
msgid "Number of order purchased"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: includes/discount-base.php:
|
512 |
-
#: view/view-cart-rules.php:
|
513 |
msgid "Number of order purchased in products"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: includes/discount-base.php:
|
517 |
msgid "Coupon applied"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: includes/discount-base.php:
|
521 |
-
#: view/view-cart-rules.php:
|
522 |
msgid "Atleast any one"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: includes/discount-base.php:
|
526 |
-
#: view/view-cart-rules.php:
|
527 |
msgid "All selected"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: includes/discount-base.php:
|
531 |
#: view/view-pricing-rules.php:524
|
532 |
msgid "Greater than or equal to"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: includes/discount-base.php:
|
536 |
#: view/view-pricing-rules.php:525
|
537 |
msgid "Less than or equal to"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: includes/discount-base.php:
|
541 |
#: view/view-pricing-rules.php:528
|
542 |
msgid "In Order status"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: includes/discount-base.php:
|
546 |
-
#: view/cart-rules.php:
|
547 |
-
#: view/pricing-rules.php:
|
548 |
msgid "Action"
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: includes/discount-base.php:
|
552 |
msgid "Save"
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: includes/discount-base.php:
|
556 |
msgid "Saved Successfully!"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: includes/discount-base.php:
|
560 |
-
#: view/view-cart-rules.php:
|
561 |
-
#: view/view-cart-rules.php:
|
562 |
#: view/view-pricing-rules.php:235 view/view-pricing-rules.php:251
|
563 |
#: view/view-pricing-rules.php:536 view/view-pricing-rules.php:605
|
564 |
#: view/view-pricing-rules.php:760
|
565 |
msgid "None selected"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: includes/discount-base.php:
|
569 |
msgid "In each category"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: includes/discount-base.php:
|
573 |
#: view/settings.php:266 view/settings.php:284 view/settings.php:302
|
574 |
#: view/settings.php:320
|
575 |
msgid "Show"
|
576 |
msgstr ""
|
577 |
|
578 |
-
#: includes/discount-base.php:
|
579 |
msgid "Hide"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: includes/discount-base.php:
|
583 |
msgid "Please select at least one rule"
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: includes/discount-base.php:
|
587 |
msgid "Please select an action to apply"
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: includes/discount-base.php:
|
591 |
msgid "Are you sure to remove the selected rules"
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: includes/discount-base.php:
|
595 |
msgid "Choose product(s)"
|
596 |
msgstr ""
|
597 |
|
598 |
-
#: includes/discount-base.php:
|
599 |
msgid "Choose category(ies)"
|
600 |
msgstr ""
|
601 |
|
602 |
-
#: includes/discount-base.php:
|
603 |
msgid ""
|
604 |
"Auto add all selected products - Automatically added to the cart <br> Same "
|
605 |
"product - get discount in same product <br> Any one cheapest from selected - "
|
@@ -610,92 +620,92 @@ msgid ""
|
|
610 |
"no.of quantities"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: includes/pricing-rules.php:
|
614 |
msgid "Buy"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: includes/pricing-rules.php:
|
618 |
msgid " less than or equal to "
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: includes/pricing-rules.php:
|
622 |
msgid " Quantity"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: includes/pricing-rules.php:
|
626 |
msgid " Quantity "
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: includes/pricing-rules.php:
|
630 |
msgid " or more Quantity"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: includes/pricing-rules.php:
|
634 |
msgid " any "
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: includes/pricing-rules.php:
|
638 |
msgid " products from "
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: includes/pricing-rules.php:
|
642 |
msgid " in each products"
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: includes/pricing-rules.php:
|
646 |
msgid " and get discount in "
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: includes/pricing-rules.php:
|
650 |
msgid " first "
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: includes/pricing-rules.php:
|
654 |
msgid " quantity of product(s) - "
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: includes/pricing-rules.php:
|
658 |
msgid " after first "
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: includes/pricing-rules.php:
|
662 |
msgid "Category(ies) "
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: includes/pricing-rules.php:
|
666 |
msgid "Get "
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: includes/pricing-rules.php:
|
670 |
#, php-format
|
671 |
msgid "% discount in "
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: includes/pricing-rules.php:
|
675 |
msgid "same product"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: includes/pricing-rules.php:
|
679 |
msgid "any cheapest one from cart"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: includes/pricing-rules.php:
|
683 |
msgid "any cheapest one of "
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: includes/pricing-rules.php:
|
687 |
msgid " quantity of any "
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: includes/pricing-rules.php:
|
691 |
msgid " cheapest item "
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/pricing-rules.php:
|
695 |
msgid " quantity of cheapest item "
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: includes/pricing-rules.php:
|
699 |
msgid "from the category "
|
700 |
msgstr ""
|
701 |
|
@@ -739,36 +749,36 @@ msgstr ""
|
|
739 |
msgid "Apply"
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: view/cart-rules.php:97 view/cart-rules.php:
|
743 |
-
#: view/pricing-rules.php:
|
744 |
msgid "Name"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: view/cart-rules.php:98 view/cart-rules.php:
|
748 |
-
#: view/pricing-rules.php:
|
749 |
msgid "Start Date"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: view/cart-rules.php:99 view/cart-rules.php:
|
753 |
-
#: view/pricing-rules.php:
|
754 |
msgid "Expired On"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: view/cart-rules.php:100 view/cart-rules.php:
|
758 |
-
#: view/pricing-rules.php:
|
759 |
msgid "Status"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: view/cart-rules.php:103 view/cart-rules.php:
|
763 |
-
#: view/pricing-rules.php:
|
764 |
msgid "Order"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: view/cart-rules.php:
|
768 |
msgid "Edit"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: view/cart-rules.php:
|
772 |
msgid "Delete"
|
773 |
msgstr ""
|
774 |
|
@@ -862,7 +872,7 @@ msgid "Conditions"
|
|
862 |
msgstr ""
|
863 |
|
864 |
#: view/includes/cart-menu.php:13 view/includes/sub-menu.php:13
|
865 |
-
#: view/template/discount-table.php:27 view/view-cart-rules.php:
|
866 |
#: view/view-pricing-rules.php:627
|
867 |
msgid "Discount"
|
868 |
msgstr ""
|
@@ -948,7 +958,7 @@ msgstr ""
|
|
948 |
|
949 |
#: view/settings.php:89 view/settings.php:106 view/settings.php:118
|
950 |
#: view/settings.php:131 view/settings.php:337 view/settings.php:349
|
951 |
-
#: view/settings.php:536 view/view-cart-rules.php:
|
952 |
#: view/view-pricing-rules.php:410
|
953 |
msgid "No"
|
954 |
msgstr ""
|
@@ -1183,7 +1193,7 @@ msgid "Looking for more features? Upgrade to PRO"
|
|
1183 |
msgstr ""
|
1184 |
|
1185 |
#: view/view-cart-rules.php:55 view/view-pricing-rules.php:39
|
1186 |
-
msgid "
|
1187 |
msgstr ""
|
1188 |
|
1189 |
#: view/view-cart-rules.php:59
|
@@ -1194,118 +1204,114 @@ msgstr ""
|
|
1194 |
msgid "Edit Cart Rule"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
-
#: view/view-cart-rules.php:
|
|
|
|
|
|
|
|
|
1198 |
msgid "Priority :"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: view/view-cart-rules.php:
|
1202 |
msgid ""
|
1203 |
"The Simple Ranking concept to said, which one is going to execute first and "
|
1204 |
"so on."
|
1205 |
msgstr ""
|
1206 |
|
1207 |
-
#: view/view-cart-rules.php:
|
1208 |
msgid "Rule Name"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
-
#: view/view-cart-rules.php:
|
1212 |
#: view/view-pricing-rules.php:84 view/view-pricing-rules.php:96
|
1213 |
msgid "Rule Descriptions."
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: view/view-cart-rules.php:
|
1217 |
msgid "ex. Standard Rule."
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: view/view-cart-rules.php:
|
1221 |
msgid "Rule Description"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: view/view-cart-rules.php:
|
1225 |
msgid "Validity"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: view/view-cart-rules.php:
|
1229 |
msgid "Period of Rule Active. Format: month/day/Year Hour:Min"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: view/view-cart-rules.php:
|
1233 |
#: view/view-pricing-rules.php:571
|
1234 |
msgid "From"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: view/view-cart-rules.php:
|
1238 |
msgid "To"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: view/view-cart-rules.php:
|
1242 |
#, php-format
|
1243 |
msgid "Current date and time: %s"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
-
#: view/view-cart-rules.php:
|
1247 |
-
msgid "This rule is not running currently: "
|
1248 |
-
msgstr ""
|
1249 |
-
|
1250 |
-
#: view/view-cart-rules.php:143 view/view-cart-rules.php:587
|
1251 |
#: view/view-pricing-rules.php:183 view/view-pricing-rules.php:620
|
1252 |
msgid "Next"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: view/view-cart-rules.php:
|
1256 |
msgid "Cart Conditions"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: view/view-cart-rules.php:
|
1260 |
msgid "Add Condition"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: view/view-cart-rules.php:
|
1264 |
msgid "Categories In Cart"
|
1265 |
msgstr ""
|
1266 |
|
1267 |
-
#: view/view-cart-rules.php:
|
1268 |
msgid "Email with TLD (Eg: edu)"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
-
#: view/view-cart-rules.php:
|
1272 |
msgid "To get this condition work,"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: view/view-cart-rules.php:
|
1276 |
msgid "please change the option"
|
1277 |
msgstr ""
|
1278 |
|
1279 |
-
#: view/view-cart-rules.php:
|
1280 |
msgid "Disable the rules while have coupon(Third party)"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
-
#: view/view-cart-rules.php:
|
1284 |
msgid "in cart to"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: view/view-cart-rules.php:
|
1288 |
#: view/view-pricing-rules.php:619 view/view-pricing-rules.php:817
|
1289 |
msgid "Previous"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: view/view-cart-rules.php:
|
1293 |
msgid "Guide to create cart rules"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: view/view-cart-rules.php:
|
1297 |
msgid "Discount Type :"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: view/view-cart-rules.php:
|
1301 |
-
msgid "Percentage Discount"
|
1302 |
-
msgstr ""
|
1303 |
-
|
1304 |
-
#: view/view-cart-rules.php:628 view/view-cart-rules.php:630
|
1305 |
msgid "Free shipping"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: view/view-cart-rules.php:
|
1309 |
msgid "value :"
|
1310 |
msgstr ""
|
1311 |
|
16 |
msgstr ""
|
17 |
|
18 |
#: helper/general-helper.php:505
|
19 |
+
msgid "Start date and time is set in the future date"
|
20 |
msgstr ""
|
21 |
|
22 |
#: helper/general-helper.php:508
|
23 |
+
msgid "Validity expired"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: helper/general-helper.php:525
|
27 |
+
msgid "Will run in future"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: helper/general-helper.php:528
|
31 |
+
msgid "Not running - validity expired"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: helper/general-helper.php:545
|
35 |
+
msgid "Running"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: helper/general-helper.php:550
|
39 |
+
msgid "Your server current date and time: "
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: helper/general-helper.php:666
|
43 |
msgid "Read Docs"
|
44 |
msgstr ""
|
45 |
|
123 |
msgid "Free Shipping"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: includes/advanced/free_shipping_method.php:73 includes/discount-base.php:897
|
127 |
#: view/cart-rules.php:127 view/pricing-rules.php:157 view/settings.php:573
|
128 |
#: view/settings.php:608
|
129 |
msgid "Enable"
|
153 |
msgid "Disabled"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: includes/discount-base.php:386
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
msgid "Cache cleared successfully"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: includes/discount-base.php:388
|
161 |
msgid "Failed to clear cache"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: includes/discount-base.php:494 includes/discount-base.php:529
|
165 |
msgid "Failed to do action"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: includes/discount-base.php:533
|
169 |
msgid "Disabled successfully"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/discount-base.php:536
|
173 |
msgid "Deleted successfully"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: includes/discount-base.php:539
|
177 |
msgid "Enabled successfully"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: includes/discount-base.php:559 includes/discount-base.php:560
|
181 |
+
#: includes/discount-base.php:577
|
182 |
msgid "copy"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: includes/discount-base.php:585
|
186 |
msgid "Duplicate rule created successfully"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: includes/discount-base.php:589
|
190 |
msgid "Failed to create duplicate rule"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: includes/discount-base.php:852
|
194 |
msgid "Please fill this field"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: includes/discount-base.php:853
|
198 |
msgid "Please Enter the Rule Name to Create / Save."
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: includes/discount-base.php:854
|
202 |
msgid "Saving..."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: includes/discount-base.php:855 view/view-cart-rules.php:54
|
206 |
#: view/view-pricing-rules.php:38
|
207 |
msgid "Save Rule"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: includes/discount-base.php:856
|
211 |
msgid "Please enter a Key"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: includes/discount-base.php:857 view/view-pricing-rules.php:650
|
215 |
msgid "Min Quantity"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: includes/discount-base.php:858 view/view-pricing-rules.php:657
|
219 |
msgid "Max Quantity"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: includes/discount-base.php:859 view/view-cart-rules.php:91
|
223 |
#: view/view-pricing-rules.php:76 view/view-pricing-rules.php:655
|
224 |
#: view/view-pricing-rules.php:721 view/view-pricing-rules.php:738
|
225 |
#: view/view-pricing-rules.php:745
|
226 |
msgid "ex. 1"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/discount-base.php:860 view/view-pricing-rules.php:783
|
230 |
msgid "ex. 10"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/discount-base.php:861 view/view-pricing-rules.php:662
|
234 |
#: view/view-pricing-rules.php:698
|
235 |
msgid "ex. 50"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: includes/discount-base.php:862
|
239 |
msgid "Search for a user"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: includes/discount-base.php:863 view/view-pricing-rules.php:663
|
243 |
msgid "Adjustment Type"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: includes/discount-base.php:864 view/view-pricing-rules.php:772
|
247 |
msgid "Discount percentage"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: includes/discount-base.php:865 view/view-cart-rules.php:614
|
251 |
+
#: view/view-pricing-rules.php:669
|
252 |
+
msgid "Percentage Discount"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: includes/discount-base.php:866 view/view-cart-rules.php:620
|
256 |
+
#: view/view-cart-rules.php:622 view/view-pricing-rules.php:677
|
257 |
#: view/view-pricing-rules.php:679
|
258 |
msgid "Price Discount"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/discount-base.php:867 view/view-pricing-rules.php:687
|
262 |
#: view/view-pricing-rules.php:689
|
263 |
msgid "BOGO Product Discount"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: includes/discount-base.php:868
|
267 |
msgid "Product Discount - Not support for subtotal based rule"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: includes/discount-base.php:869 view/view-cart-rules.php:398
|
271 |
#: view/view-pricing-rules.php:693 view/view-pricing-rules.php:812
|
272 |
msgid "Value"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: includes/discount-base.php:870 view/view-pricing-rules.php:704
|
276 |
msgid "receive discount for"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: includes/discount-base.php:871 view/view-pricing-rules.php:706
|
280 |
msgid "Auto add all selected products"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: includes/discount-base.php:872 view/view-pricing-rules.php:707
|
284 |
msgid "Same product"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: includes/discount-base.php:873 view/view-pricing-rules.php:708
|
288 |
msgid "Any one cheapest from selected"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: includes/discount-base.php:874 view/view-pricing-rules.php:709
|
292 |
msgid "Any one cheapest from all products"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: includes/discount-base.php:875 view/view-pricing-rules.php:710
|
296 |
msgid "Cheapest in cart - selected category(ies)"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: includes/discount-base.php:876 view/view-pricing-rules.php:711
|
|
|
300 |
msgid "Cheapest in cart - selected item(s)"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: includes/discount-base.php:877 view/view-pricing-rules.php:712
|
304 |
msgid "Cheapest among all items in cart"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: includes/discount-base.php:878 view/view-pricing-rules.php:716
|
308 |
msgid "Free quantity"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: includes/discount-base.php:879 view/view-pricing-rules.php:716
|
312 |
msgid "Number of quantity(ies) in each selected product(s)"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: includes/discount-base.php:880 view/view-pricing-rules.php:730
|
316 |
msgid "Fixed item count (not recommended)"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: includes/discount-base.php:881 view/view-pricing-rules.php:729
|
320 |
msgid "Dynamic item count"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: includes/discount-base.php:882 view/view-pricing-rules.php:732
|
324 |
msgid ""
|
325 |
"Fixed item count - You need to provide item count manually. Dynamic item "
|
326 |
"count - System will choose dynamically based on cart"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: includes/discount-base.php:883 view/view-pricing-rules.php:733
|
330 |
msgid "Item count"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: includes/discount-base.php:884 view/view-pricing-rules.php:733
|
334 |
msgid "Discount for number of item(s) in cart"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: includes/discount-base.php:885 view/view-pricing-rules.php:740
|
338 |
msgid "Discount for number of quantity(ies) in each item"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: includes/discount-base.php:886 view/view-pricing-rules.php:740
|
342 |
msgid "Item quantity"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: includes/discount-base.php:887
|
346 |
msgid "Search for a products"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: includes/discount-base.php:888
|
350 |
msgid "and"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: includes/discount-base.php:889 view/view-pricing-rules.php:774
|
354 |
msgid "100% percent"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: includes/discount-base.php:890 view/view-pricing-rules.php:775
|
358 |
msgid "Limited percent"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: includes/discount-base.php:891 view/view-pricing-rules.php:783
|
362 |
msgid "Percentage"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: includes/discount-base.php:892
|
366 |
msgid "as discount"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: includes/discount-base.php:893 view/view-cart-rules.php:577
|
370 |
#: view/view-pricing-rules.php:789
|
371 |
msgid "Remove"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: includes/discount-base.php:894 view/cart-rules.php:159
|
375 |
+
#: view/pricing-rules.php:189 view/view-pricing-rules.php:792
|
376 |
msgid "Duplicate"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: includes/discount-base.php:895
|
380 |
msgid "none"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: includes/discount-base.php:896
|
384 |
msgid "Are you sure to remove this ?"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: includes/discount-base.php:898 view/cart-rules.php:124
|
388 |
#: view/pricing-rules.php:154
|
389 |
msgid "Disable"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: includes/discount-base.php:899
|
393 |
msgid "Are you sure to remove ?"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: includes/discount-base.php:900 view/view-cart-rules.php:171
|
397 |
msgid "Type"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: includes/discount-base.php:901 view/view-cart-rules.php:175
|
401 |
msgid "Cart Subtotal"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: includes/discount-base.php:902 view/view-cart-rules.php:178
|
405 |
msgid "Subtotal at least"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: includes/discount-base.php:903 view/view-cart-rules.php:182
|
409 |
msgid "Subtotal less than"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: includes/discount-base.php:904 view/view-cart-rules.php:185
|
413 |
msgid "Cart Item Count"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: includes/discount-base.php:905 view/view-cart-rules.php:188
|
417 |
msgid "Number of line items in the cart (not quantity) at least"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: includes/discount-base.php:906 view/view-cart-rules.php:192
|
421 |
msgid "Number of line items in the cart (not quantity) less than"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: includes/discount-base.php:907 view/view-cart-rules.php:195
|
425 |
msgid "Quantity Sum"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: includes/discount-base.php:908 view/view-cart-rules.php:201
|
429 |
+
#: view/view-cart-rules.php:204
|
430 |
msgid "Total number of quantities in the cart at least"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: includes/discount-base.php:909 view/view-cart-rules.php:213
|
434 |
+
#: view/view-cart-rules.php:216
|
435 |
msgid "Total number of quantities in the cart less than"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: includes/discount-base.php:910 view/view-cart-rules.php:225
|
439 |
msgid "Categories in cart"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: includes/discount-base.php:911 view/view-cart-rules.php:231
|
443 |
msgid "Including sub-categories in cart"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: includes/discount-base.php:912 view/view-cart-rules.php:240
|
447 |
msgid "Customer Details (must be logged in)"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: includes/discount-base.php:913 view/view-cart-rules.php:246
|
451 |
+
#: view/view-cart-rules.php:248
|
452 |
msgid "User in list"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: includes/discount-base.php:914 view/view-cart-rules.php:256
|
456 |
+
#: view/view-cart-rules.php:258
|
457 |
msgid "User role in list"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: includes/discount-base.php:915 view/view-cart-rules.php:266
|
461 |
+
#: view/view-cart-rules.php:268
|
462 |
msgid "Shipping country in list"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: includes/discount-base.php:916 view/view-cart-rules.php:272
|
466 |
msgid "Customer Email"
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: includes/discount-base.php:917
|
470 |
msgid "Email with TLD (Ege: edu)"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: includes/discount-base.php:918 view/view-cart-rules.php:288
|
474 |
+
#: view/view-cart-rules.php:290
|
475 |
msgid "Email with Domain (Eg: gmail.com)"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/discount-base.php:919 view/view-cart-rules.php:294
|
479 |
msgid "Customer Billing Details"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: includes/discount-base.php:920 view/view-cart-rules.php:300
|
483 |
+
#: view/view-cart-rules.php:302
|
484 |
msgid "Billing city"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: includes/discount-base.php:921 view/view-cart-rules.php:306
|
488 |
msgid "Customer Shipping Details"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: includes/discount-base.php:922 view/view-cart-rules.php:312
|
492 |
+
#: view/view-cart-rules.php:314
|
493 |
msgid "Shipping state"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: includes/discount-base.php:923 view/view-cart-rules.php:322
|
497 |
+
#: view/view-cart-rules.php:324
|
498 |
msgid "Shipping city"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: includes/discount-base.php:924 view/view-cart-rules.php:332
|
502 |
+
#: view/view-cart-rules.php:334
|
503 |
msgid "Shipping zip code"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: includes/discount-base.php:925 view/view-cart-rules.php:338
|
507 |
#: view/view-pricing-rules.php:479
|
508 |
msgid "Purchase History"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: includes/discount-base.php:926 view/view-cart-rules.php:344
|
512 |
+
#: view/view-cart-rules.php:346 view/view-pricing-rules.php:487
|
513 |
msgid "Purchased amount"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: includes/discount-base.php:927 view/view-cart-rules.php:354
|
517 |
+
#: view/view-cart-rules.php:356
|
518 |
msgid "Number of order purchased"
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: includes/discount-base.php:928 view/view-cart-rules.php:364
|
522 |
+
#: view/view-cart-rules.php:366
|
523 |
msgid "Number of order purchased in products"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: includes/discount-base.php:929 view/view-cart-rules.php:370
|
527 |
msgid "Coupon applied"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: includes/discount-base.php:930 view/view-cart-rules.php:376
|
531 |
+
#: view/view-cart-rules.php:378
|
532 |
msgid "Atleast any one"
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: includes/discount-base.php:931 view/view-cart-rules.php:386
|
536 |
+
#: view/view-cart-rules.php:388
|
537 |
msgid "All selected"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: includes/discount-base.php:932 view/view-cart-rules.php:534
|
541 |
#: view/view-pricing-rules.php:524
|
542 |
msgid "Greater than or equal to"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: includes/discount-base.php:933 view/view-cart-rules.php:535
|
546 |
#: view/view-pricing-rules.php:525
|
547 |
msgid "Less than or equal to"
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: includes/discount-base.php:934 view/view-cart-rules.php:537
|
551 |
#: view/view-pricing-rules.php:528
|
552 |
msgid "In Order status"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: includes/discount-base.php:935 view/cart-rules.php:108
|
556 |
+
#: view/cart-rules.php:193 view/pricing-rules.php:138
|
557 |
+
#: view/pricing-rules.php:223 view/view-cart-rules.php:576
|
558 |
msgid "Action"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: includes/discount-base.php:936 view/settings.php:21
|
562 |
msgid "Save"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: includes/discount-base.php:937
|
566 |
msgid "Saved Successfully!"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: includes/discount-base.php:938 view/view-cart-rules.php:427
|
570 |
+
#: view/view-cart-rules.php:453 view/view-cart-rules.php:472
|
571 |
+
#: view/view-cart-rules.php:493 view/view-cart-rules.php:542
|
572 |
#: view/view-pricing-rules.php:235 view/view-pricing-rules.php:251
|
573 |
#: view/view-pricing-rules.php:536 view/view-pricing-rules.php:605
|
574 |
#: view/view-pricing-rules.php:760
|
575 |
msgid "None selected"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: includes/discount-base.php:939 view/view-cart-rules.php:237
|
579 |
msgid "In each category"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: includes/discount-base.php:940 view/settings.php:189 view/settings.php:208
|
583 |
#: view/settings.php:266 view/settings.php:284 view/settings.php:302
|
584 |
#: view/settings.php:320
|
585 |
msgid "Show"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: includes/discount-base.php:941 view/template/sidebar.php:12
|
589 |
msgid "Hide"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: includes/discount-base.php:942
|
593 |
msgid "Please select at least one rule"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: includes/discount-base.php:943
|
597 |
msgid "Please select an action to apply"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: includes/discount-base.php:944
|
601 |
msgid "Are you sure to remove the selected rules"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: includes/discount-base.php:945 view/view-pricing-rules.php:749
|
605 |
msgid "Choose product(s)"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: includes/discount-base.php:946 view/view-pricing-rules.php:759
|
609 |
msgid "Choose category(ies)"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: includes/discount-base.php:947 view/view-pricing-rules.php:714
|
613 |
msgid ""
|
614 |
"Auto add all selected products - Automatically added to the cart <br> Same "
|
615 |
"product - get discount in same product <br> Any one cheapest from selected - "
|
620 |
"no.of quantities"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: includes/pricing-rules.php:2549 view/view-pricing-rules.php:561
|
624 |
msgid "Buy"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: includes/pricing-rules.php:2553
|
628 |
msgid " less than or equal to "
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: includes/pricing-rules.php:2553 includes/pricing-rules.php:2559
|
632 |
msgid " Quantity"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: includes/pricing-rules.php:2556
|
636 |
msgid " Quantity "
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: includes/pricing-rules.php:2563
|
640 |
msgid " or more Quantity"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: includes/pricing-rules.php:2572
|
644 |
msgid " any "
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: includes/pricing-rules.php:2572
|
648 |
msgid " products from "
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: includes/pricing-rules.php:2579
|
652 |
msgid " in each products"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: includes/pricing-rules.php:2591
|
656 |
msgid " and get discount in "
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: includes/pricing-rules.php:2594
|
660 |
msgid " first "
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: includes/pricing-rules.php:2596 includes/pricing-rules.php:2600
|
664 |
msgid " quantity of product(s) - "
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: includes/pricing-rules.php:2598
|
668 |
msgid " after first "
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: includes/pricing-rules.php:2616
|
672 |
msgid "Category(ies) "
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: includes/pricing-rules.php:2682
|
676 |
msgid "Get "
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: includes/pricing-rules.php:2684
|
680 |
#, php-format
|
681 |
msgid "% discount in "
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/pricing-rules.php:2687
|
685 |
msgid "same product"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: includes/pricing-rules.php:2689
|
689 |
msgid "any cheapest one from cart"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: includes/pricing-rules.php:2692
|
693 |
msgid "any cheapest one of "
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: includes/pricing-rules.php:2697
|
697 |
msgid " quantity of any "
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: includes/pricing-rules.php:2699
|
701 |
msgid " cheapest item "
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: includes/pricing-rules.php:2702
|
705 |
msgid " quantity of cheapest item "
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: includes/pricing-rules.php:2706
|
709 |
msgid "from the category "
|
710 |
msgstr ""
|
711 |
|
749 |
msgid "Apply"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: view/cart-rules.php:97 view/cart-rules.php:182 view/pricing-rules.php:127
|
753 |
+
#: view/pricing-rules.php:212 view/template/discount-table.php:21
|
754 |
msgid "Name"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: view/cart-rules.php:98 view/cart-rules.php:183 view/pricing-rules.php:128
|
758 |
+
#: view/pricing-rules.php:213
|
759 |
msgid "Start Date"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: view/cart-rules.php:99 view/cart-rules.php:184 view/pricing-rules.php:129
|
763 |
+
#: view/pricing-rules.php:214
|
764 |
msgid "Expired On"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: view/cart-rules.php:100 view/cart-rules.php:185 view/pricing-rules.php:130
|
768 |
+
#: view/pricing-rules.php:215
|
769 |
msgid "Status"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: view/cart-rules.php:103 view/cart-rules.php:188 view/pricing-rules.php:133
|
773 |
+
#: view/pricing-rules.php:218
|
774 |
msgid "Order"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: view/cart-rules.php:155 view/pricing-rules.php:185
|
778 |
msgid "Edit"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: view/cart-rules.php:166 view/pricing-rules.php:196
|
782 |
msgid "Delete"
|
783 |
msgstr ""
|
784 |
|
872 |
msgstr ""
|
873 |
|
874 |
#: view/includes/cart-menu.php:13 view/includes/sub-menu.php:13
|
875 |
+
#: view/template/discount-table.php:27 view/view-cart-rules.php:594
|
876 |
#: view/view-pricing-rules.php:627
|
877 |
msgid "Discount"
|
878 |
msgstr ""
|
958 |
|
959 |
#: view/settings.php:89 view/settings.php:106 view/settings.php:118
|
960 |
#: view/settings.php:131 view/settings.php:337 view/settings.php:349
|
961 |
+
#: view/settings.php:536 view/view-cart-rules.php:568
|
962 |
#: view/view-pricing-rules.php:410
|
963 |
msgid "No"
|
964 |
msgstr ""
|
1193 |
msgstr ""
|
1194 |
|
1195 |
#: view/view-cart-rules.php:55 view/view-pricing-rules.php:39
|
1196 |
+
msgid "Close and go back to list"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
#: view/view-cart-rules.php:59
|
1204 |
msgid "Edit Cart Rule"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
+
#: view/view-cart-rules.php:74 view/view-pricing-rules.php:58
|
1208 |
+
msgid "This rule is not running currently: "
|
1209 |
+
msgstr ""
|
1210 |
+
|
1211 |
+
#: view/view-cart-rules.php:83 view/view-pricing-rules.php:67
|
1212 |
msgid "Priority :"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: view/view-cart-rules.php:85 view/view-pricing-rules.php:69
|
1216 |
msgid ""
|
1217 |
"The Simple Ranking concept to said, which one is going to execute first and "
|
1218 |
"so on."
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: view/view-cart-rules.php:97 view/view-pricing-rules.php:82
|
1222 |
msgid "Rule Name"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
+
#: view/view-cart-rules.php:99 view/view-cart-rules.php:111
|
1226 |
#: view/view-pricing-rules.php:84 view/view-pricing-rules.php:96
|
1227 |
msgid "Rule Descriptions."
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: view/view-cart-rules.php:104 view/view-pricing-rules.php:89
|
1231 |
msgid "ex. Standard Rule."
|
1232 |
msgstr ""
|
1233 |
|
1234 |
+
#: view/view-cart-rules.php:109 view/view-pricing-rules.php:94
|
1235 |
msgid "Rule Description"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: view/view-cart-rules.php:120 view/view-pricing-rules.php:130
|
1239 |
msgid "Validity"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: view/view-cart-rules.php:121 view/view-pricing-rules.php:131
|
1243 |
msgid "Period of Rule Active. Format: month/day/Year Hour:Min"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: view/view-cart-rules.php:134 view/view-pricing-rules.php:144
|
1247 |
#: view/view-pricing-rules.php:571
|
1248 |
msgid "From"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
+
#: view/view-cart-rules.php:138
|
1252 |
msgid "To"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: view/view-cart-rules.php:139 view/view-pricing-rules.php:149
|
1256 |
#, php-format
|
1257 |
msgid "Current date and time: %s"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: view/view-cart-rules.php:144 view/view-cart-rules.php:588
|
|
|
|
|
|
|
|
|
1261 |
#: view/view-pricing-rules.php:183 view/view-pricing-rules.php:620
|
1262 |
msgid "Next"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
+
#: view/view-cart-rules.php:148
|
1266 |
msgid "Cart Conditions"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
+
#: view/view-cart-rules.php:151
|
1270 |
msgid "Add Condition"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
+
#: view/view-cart-rules.php:220
|
1274 |
msgid "Categories In Cart"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
+
#: view/view-cart-rules.php:278 view/view-cart-rules.php:280
|
1278 |
msgid "Email with TLD (Eg: edu)"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: view/view-cart-rules.php:568 view/view-pricing-rules.php:410
|
1282 |
msgid "To get this condition work,"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
+
#: view/view-cart-rules.php:568 view/view-pricing-rules.php:410
|
1286 |
msgid "please change the option"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
+
#: view/view-cart-rules.php:568 view/view-pricing-rules.php:410
|
1290 |
msgid "Disable the rules while have coupon(Third party)"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
+
#: view/view-cart-rules.php:568 view/view-pricing-rules.php:410
|
1294 |
msgid "in cart to"
|
1295 |
msgstr ""
|
1296 |
|
1297 |
+
#: view/view-cart-rules.php:587 view/view-cart-rules.php:648
|
1298 |
#: view/view-pricing-rules.php:619 view/view-pricing-rules.php:817
|
1299 |
msgid "Previous"
|
1300 |
msgstr ""
|
1301 |
|
1302 |
+
#: view/view-cart-rules.php:590
|
1303 |
msgid "Guide to create cart rules"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
+
#: view/view-cart-rules.php:610
|
1307 |
msgid "Discount Type :"
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: view/view-cart-rules.php:629 view/view-cart-rules.php:631
|
|
|
|
|
|
|
|
|
1311 |
msgid "Free shipping"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: view/view-cart-rules.php:640
|
1315 |
msgid "value :"
|
1316 |
msgstr ""
|
1317 |
|
includes/discount-base.php
CHANGED
@@ -182,12 +182,8 @@ if (!class_exists('FlycartWooDiscountBase')) {
|
|
182 |
if($meta['status'][0] == 'publish'){
|
183 |
$date_from = (isset($meta['date_from'][0]) ? $meta['date_from'][0] : false);
|
184 |
$date_to = (isset($meta['date_to'][0]) ? $meta['date_to'][0] : false);
|
185 |
-
$
|
186 |
-
|
187 |
-
$status_string .= " - <span class='wdr_status_active_text text-success'>(".esc_html__('Running', 'woo-discount-rules').")</span>";
|
188 |
-
} else {
|
189 |
-
$status_string .= " - <span class='wdr_status_active_text text-danger'>(".esc_html__('Not running', 'woo-discount-rules').")</span>";
|
190 |
-
}
|
191 |
}
|
192 |
}
|
193 |
$return_value = array('status' => ucfirst($state), 'status_html' => $status_string);
|
@@ -866,6 +862,7 @@ if (!class_exists('FlycartWooDiscountBase')) {
|
|
866 |
'place_holder_search_for_a_user' => esc_html__('Search for a user', 'woo-discount-rules'),
|
867 |
'adjustment_type' => esc_html__('Adjustment Type', 'woo-discount-rules'),
|
868 |
'percentage_discount' => esc_html__('Discount percentage', 'woo-discount-rules'),
|
|
|
869 |
'price_discount' => esc_html__('Price Discount', 'woo-discount-rules'),
|
870 |
'product_discount' => esc_html__('BOGO Product Discount', 'woo-discount-rules'),
|
871 |
'product_discount_not_work_on_subtotal_based' => esc_html__('Product Discount - Not support for subtotal based rule', 'woo-discount-rules'),
|
182 |
if($meta['status'][0] == 'publish'){
|
183 |
$date_from = (isset($meta['date_from'][0]) ? $meta['date_from'][0] : false);
|
184 |
$date_to = (isset($meta['date_to'][0]) ? $meta['date_to'][0] : false);
|
185 |
+
$validate_date_string = FlycartWooDiscountRulesGeneralHelper::validateDateAndTimeWarningTextForListingHTML($date_from, $date_to);
|
186 |
+
$status_string .= $validate_date_string;
|
|
|
|
|
|
|
|
|
187 |
}
|
188 |
}
|
189 |
$return_value = array('status' => ucfirst($state), 'status_html' => $status_string);
|
862 |
'place_holder_search_for_a_user' => esc_html__('Search for a user', 'woo-discount-rules'),
|
863 |
'adjustment_type' => esc_html__('Adjustment Type', 'woo-discount-rules'),
|
864 |
'percentage_discount' => esc_html__('Discount percentage', 'woo-discount-rules'),
|
865 |
+
'percentage_discount_in_adjustment_type' => esc_html__('Percentage Discount', 'woo-discount-rules'),
|
866 |
'price_discount' => esc_html__('Price Discount', 'woo-discount-rules'),
|
867 |
'product_discount' => esc_html__('BOGO Product Discount', 'woo-discount-rules'),
|
868 |
'product_discount_not_work_on_subtotal_based' => esc_html__('Product Discount - Not support for subtotal based rule', 'woo-discount-rules'),
|
includes/pricing-rules.php
CHANGED
@@ -743,7 +743,6 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
|
|
743 |
foreach ($cart_contents as $index => $item) {
|
744 |
$this->matchRules($index, $item, $product_page);
|
745 |
}
|
746 |
-
|
747 |
$this->makeLog();
|
748 |
}
|
749 |
|
@@ -1700,6 +1699,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
|
|
1700 |
$productIds = $this->getAllProductsFromCart();
|
1701 |
else if($discount_product_option == "more_than_one_cheapest_from_cat")
|
1702 |
$productIds = $this->getAllProductsFromCartAndSelectedCategory($range->discount_category);
|
|
|
1703 |
for ($i = 1; $i <= $discount_item; $i++){
|
1704 |
$productCheapest = $this->getCheapestProductFromCart($productIds, 0, $discount_quantity, $range, $product_to_exclude);
|
1705 |
if(!empty($productCheapest)){
|
@@ -1795,6 +1795,13 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
|
|
1795 |
if(empty($values['data'])){
|
1796 |
continue;
|
1797 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1798 |
$_product = $values['data'];
|
1799 |
$productId = FlycartWoocommerceProduct::get_id($_product);
|
1800 |
if(!empty($product_to_exclude) && is_array($product_to_exclude)){
|
743 |
foreach ($cart_contents as $index => $item) {
|
744 |
$this->matchRules($index, $item, $product_page);
|
745 |
}
|
|
|
746 |
$this->makeLog();
|
747 |
}
|
748 |
|
1699 |
$productIds = $this->getAllProductsFromCart();
|
1700 |
else if($discount_product_option == "more_than_one_cheapest_from_cat")
|
1701 |
$productIds = $this->getAllProductsFromCartAndSelectedCategory($range->discount_category);
|
1702 |
+
|
1703 |
for ($i = 1; $i <= $discount_item; $i++){
|
1704 |
$productCheapest = $this->getCheapestProductFromCart($productIds, 0, $discount_quantity, $range, $product_to_exclude);
|
1705 |
if(!empty($productCheapest)){
|
1795 |
if(empty($values['data'])){
|
1796 |
continue;
|
1797 |
}
|
1798 |
+
//Exclude the bundled products items
|
1799 |
+
$exclude_bundle_product_item = apply_filters('woo_discount_rules_exclude_woocommerce_bundled_item', true, $values);
|
1800 |
+
if($exclude_bundle_product_item){
|
1801 |
+
if(isset($values['bundled_item_id']) && !empty($values['bundled_item_id'])){
|
1802 |
+
continue;
|
1803 |
+
}
|
1804 |
+
}
|
1805 |
$_product = $values['data'];
|
1806 |
$productId = FlycartWoocommerceProduct::get_id($_product);
|
1807 |
if(!empty($product_to_exclude) && is_array($product_to_exclude)){
|
readme.txt
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
-
=== Discount Rules
|
2 |
Contributors: flycart
|
3 |
Donate link: https://flycart.org/
|
4 |
Tags: woocommerce, discounts, dynamic pricing, Buy One Get One Free, pricing deals, price rules, bulk discounts, advanced discounts, pricing deals
|
5 |
Requires at least: 4.4.1
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
Create simple to complex discount rules, dynamic pricing and discounts for your WooCommerce online store.
|
12 |
== Description ==
|
13 |
|
14 |
-
WooCommerce
|
15 |
|
16 |
-
You can set discounts for product
|
17 |
|
18 |
Discounts will be visible in product page, product details page, cart, checkout and in email notifications.
|
19 |
|
@@ -308,6 +308,12 @@ Discount - Enter minimum & Maximum quantity -> Adjustment Type -> Product Discou
|
|
308 |
|
309 |
== Changelog ==
|
310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
= 1.7.0 - 28/11/18 =
|
312 |
* Fix - Attribute doesn't worked for imported products
|
313 |
* Fix - Wrong cart discount while having both the rules and cart rules have category based
|
1 |
+
=== Discount Rules for WooCommerce ===
|
2 |
Contributors: flycart
|
3 |
Donate link: https://flycart.org/
|
4 |
Tags: woocommerce, discounts, dynamic pricing, Buy One Get One Free, pricing deals, price rules, bulk discounts, advanced discounts, pricing deals
|
5 |
Requires at least: 4.4.1
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.7.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
11 |
Create simple to complex discount rules, dynamic pricing and discounts for your WooCommerce online store.
|
12 |
== Description ==
|
13 |
|
14 |
+
WooCommerce Discount Rules helps you to create any type of bulk discounts, dynamic pricing, advanced discounts, percentage discounts, user role based discounts for your products. Offer Product quantity based discounts, cart based discounts at a percentage or fixed amount or Buy One and Get one free (BOGO) deals or discount based on total order. Increase your sales multifold by offering dynamic pricing and discounts based on categories, products, user roles, cart items, purchase history and much more.
|
15 |
|
16 |
+
You can set discounts for products, product variations, categories, attributes and more. You can also create customer specific, user roles based discounts.
|
17 |
|
18 |
Discounts will be visible in product page, product details page, cart, checkout and in email notifications.
|
19 |
|
308 |
|
309 |
== Changelog ==
|
310 |
|
311 |
+
= 1.7.1 - 29/11/18 =
|
312 |
+
* Fix - BOGO validation in backend
|
313 |
+
* Fix - Warning: get_html_translation_table() expects at most 2 parameters, 3 given
|
314 |
+
* Improvement - Exclude bundled product for cheapest product
|
315 |
+
* Improvement - More Status info in backend rule listing
|
316 |
+
|
317 |
= 1.7.0 - 28/11/18 =
|
318 |
* Fix - Attribute doesn't worked for imported products
|
319 |
* Fix - Wrong cart discount while having both the rules and cart rules have category based
|
vendor/flycartinc/inputhelper/src/FFilterInput.php
CHANGED
@@ -1135,7 +1135,7 @@ class FFilterInput extends InputFilter
|
|
1135 |
if (!is_array($ttr))
|
1136 |
{
|
1137 |
// Entity decode
|
1138 |
-
$trans_tbl = get_html_translation_table(HTML_ENTITIES, ENT_COMPAT
|
1139 |
|
1140 |
foreach ($trans_tbl as $k => $v)
|
1141 |
{
|
1135 |
if (!is_array($ttr))
|
1136 |
{
|
1137 |
// Entity decode
|
1138 |
+
$trans_tbl = get_html_translation_table(HTML_ENTITIES, ENT_COMPAT);
|
1139 |
|
1140 |
foreach ($trans_tbl as $k => $v)
|
1141 |
{
|
view/cart-rules.php
CHANGED
@@ -145,12 +145,8 @@ if ( $current_orderby === $orderby ) {
|
|
145 |
if($rule->status == 'publish'){
|
146 |
$date_from = (isset($rule->date_from) ? $rule->date_from : false);
|
147 |
$date_to = (isset($rule->date_to) ? $rule->date_to : false);
|
148 |
-
$
|
149 |
-
|
150 |
-
echo " - <span class='wdr_status_active_text text-success'>(".esc_html__('Running', 'woo-discount-rules').")</span>";
|
151 |
-
} else {
|
152 |
-
echo " - <span class='wdr_status_active_text text-danger'>(".esc_html__('Not running', 'woo-discount-rules').")</span>";
|
153 |
-
}
|
154 |
}
|
155 |
?></td>
|
156 |
<td><?php echo((isset($rule->rule_order) && ($rule->rule_order != '')) ? $rule->rule_order : ' - ') ?></td>
|
145 |
if($rule->status == 'publish'){
|
146 |
$date_from = (isset($rule->date_from) ? $rule->date_from : false);
|
147 |
$date_to = (isset($rule->date_to) ? $rule->date_to : false);
|
148 |
+
$validate_date_string = FlycartWooDiscountRulesGeneralHelper::validateDateAndTimeWarningTextForListingHTML($date_from, $date_to);
|
149 |
+
echo $validate_date_string;
|
|
|
|
|
|
|
|
|
150 |
}
|
151 |
?></td>
|
152 |
<td><?php echo((isset($rule->rule_order) && ($rule->rule_order != '')) ? $rule->rule_order : ' - ') ?></td>
|
view/pricing-rules.php
CHANGED
@@ -175,12 +175,8 @@ if ( $current_orderby === $orderby ) {
|
|
175 |
if($rule->status == 'publish'){
|
176 |
$date_from = (isset($rule->date_from) ? $rule->date_from : false);
|
177 |
$date_to = (isset($rule->date_to) ? $rule->date_to : false);
|
178 |
-
$
|
179 |
-
|
180 |
-
echo " - <span class='wdr_status_active_text text-success'>(".esc_html__('Running', 'woo-discount-rules').")</span>";
|
181 |
-
} else {
|
182 |
-
echo " - <span class='wdr_status_active_text text-danger'>(".esc_html__('Not running', 'woo-discount-rules').")</span>";
|
183 |
-
}
|
184 |
}
|
185 |
?></td>
|
186 |
<td><?php echo((isset($rule->rule_order) && ($rule->rule_order != '')) ? $rule->rule_order : ' - ') ?></td>
|
175 |
if($rule->status == 'publish'){
|
176 |
$date_from = (isset($rule->date_from) ? $rule->date_from : false);
|
177 |
$date_to = (isset($rule->date_to) ? $rule->date_to : false);
|
178 |
+
$validate_date_string = FlycartWooDiscountRulesGeneralHelper::validateDateAndTimeWarningTextForListingHTML($date_from, $date_to);
|
179 |
+
echo $validate_date_string;
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
?></td>
|
182 |
<td><?php echo((isset($rule->rule_order) && ($rule->rule_order != '')) ? $rule->rule_order : ' - ') ?></td>
|
view/view-cart-rules.php
CHANGED
@@ -52,7 +52,7 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
|
|
52 |
<div class="<?php echo $isPro? 'col-md-12': 'col-md-9'; ?>">
|
53 |
<div class="col-md-12 rule_buttons_con" align="right">
|
54 |
<input type="submit" id="saveCartRule" value="<?php esc_html_e('Save Rule', 'woo-discount-rules'); ?>" class="btn btn-primary">
|
55 |
-
<a href="?page=woo_discount_rules&tab=cart-rules" class="btn btn-warning"><?php esc_html_e('
|
56 |
<?php echo FlycartWooDiscountRulesGeneralHelper::docsURLHTML('introduction/cart-discount-rules', 'cart_rules', 'btn btn-info'); ?>
|
57 |
</div>
|
58 |
<?php if ($rule_id == 0) { ?>
|
@@ -63,6 +63,21 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
|
|
63 |
<?php } ?>
|
64 |
<div class="col-md-12" id="general_block"><h4 class="text text-muted"> <?php esc_html_e('General', 'woo-discount-rules'); ?></h4>
|
65 |
<hr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
<div class="form-group">
|
67 |
<div class="row">
|
68 |
<div class="col-md-3"><label><?php esc_html_e('Priority :', 'woo-discount-rules') ?> <i
|
@@ -122,20 +137,6 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
|
|
122 |
value="<?php echo $date_to; ?>"
|
123 |
placeholder="<?php esc_attr_e('To', 'woo-discount-rules'); ?>"></div>
|
124 |
<span class="wdr_current_date_and_time_string"><?php echo sprintf(esc_html__('Current date and time: %s', 'woo-discount-rules'), date('m/d/Y h:i', strtotime($current_date_and_time))); ?></span>
|
125 |
-
<?php
|
126 |
-
$date_from = (isset($data->date_from) ? $data->date_from : false);
|
127 |
-
$date_to = (isset($data->date_to) ? $data->date_to : false);
|
128 |
-
$validateDateString = FlycartWooDiscountRulesGeneralHelper::validateDateAndTimeWarningText($date_from, $date_to);
|
129 |
-
if(!empty($validateDateString)){
|
130 |
-
?>
|
131 |
-
<div class="notice inline notice notice-warning notice-alt">
|
132 |
-
<p>
|
133 |
-
<b><?php esc_html_e("This rule is not running currently: "); ?></b><?php echo $validateDateString; ?>
|
134 |
-
</p>
|
135 |
-
</div>
|
136 |
-
<?php
|
137 |
-
}
|
138 |
-
?>
|
139 |
</div>
|
140 |
</div>
|
141 |
</div>
|
52 |
<div class="<?php echo $isPro? 'col-md-12': 'col-md-9'; ?>">
|
53 |
<div class="col-md-12 rule_buttons_con" align="right">
|
54 |
<input type="submit" id="saveCartRule" value="<?php esc_html_e('Save Rule', 'woo-discount-rules'); ?>" class="btn btn-primary">
|
55 |
+
<a href="?page=woo_discount_rules&tab=cart-rules" class="btn btn-warning"><?php esc_html_e('Close and go back to list', 'woo-discount-rules'); ?></a>
|
56 |
<?php echo FlycartWooDiscountRulesGeneralHelper::docsURLHTML('introduction/cart-discount-rules', 'cart_rules', 'btn btn-info'); ?>
|
57 |
</div>
|
58 |
<?php if ($rule_id == 0) { ?>
|
63 |
<?php } ?>
|
64 |
<div class="col-md-12" id="general_block"><h4 class="text text-muted"> <?php esc_html_e('General', 'woo-discount-rules'); ?></h4>
|
65 |
<hr>
|
66 |
+
<?php
|
67 |
+
$date_from = (isset($data->date_from) ? $data->date_from : false);
|
68 |
+
$date_to = (isset($data->date_to) ? $data->date_to : false);
|
69 |
+
$validateDateString = FlycartWooDiscountRulesGeneralHelper::validateDateAndTimeWarningText($date_from, $date_to);
|
70 |
+
if(!empty($validateDateString)){
|
71 |
+
?>
|
72 |
+
<div class="notice inline notice notice-warning notice-alt">
|
73 |
+
<p>
|
74 |
+
<b><?php esc_html_e("This rule is not running currently: "); ?></b><?php echo $validateDateString; ?>
|
75 |
+
</p>
|
76 |
+
</div>
|
77 |
+
<br>
|
78 |
+
<?php
|
79 |
+
}
|
80 |
+
?>
|
81 |
<div class="form-group">
|
82 |
<div class="row">
|
83 |
<div class="col-md-3"><label><?php esc_html_e('Priority :', 'woo-discount-rules') ?> <i
|
137 |
value="<?php echo $date_to; ?>"
|
138 |
placeholder="<?php esc_attr_e('To', 'woo-discount-rules'); ?>"></div>
|
139 |
<span class="wdr_current_date_and_time_string"><?php echo sprintf(esc_html__('Current date and time: %s', 'woo-discount-rules'), date('m/d/Y h:i', strtotime($current_date_and_time))); ?></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
</div>
|
141 |
</div>
|
142 |
</div>
|
view/view-pricing-rules.php
CHANGED
@@ -36,7 +36,7 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
|
|
36 |
<div class="<?php echo $isPro? 'col-md-12': 'col-md-8'; ?>">
|
37 |
<div class="col-md-12 rule_buttons_con" align="right">
|
38 |
<input type="submit" id="savePriceRule" value="<?php esc_html_e('Save Rule', 'woo-discount-rules'); ?>" class="btn btn-primary">
|
39 |
-
<a href="?page=woo_discount_rules" class="btn btn-warning"><?php esc_html_e('
|
40 |
<?php echo FlycartWooDiscountRulesGeneralHelper::docsURLHTML('introduction/price-discount-rules', 'price_rules', 'btn btn-info'); ?>
|
41 |
</div>
|
42 |
<?php if ($rule_id == 0) { ?>
|
@@ -709,7 +709,7 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
|
|
709 |
<option value="any_cheapest_from_all"<?php echo ($discount_product_option == 'any_cheapest_from_all')? ' selected="selected"': '' ?>><?php esc_html_e('Any one cheapest from all products', 'woo-discount-rules') ?></option>
|
710 |
<option value="more_than_one_cheapest_from_cat"<?php echo ($discount_product_option == 'more_than_one_cheapest_from_cat')? ' selected="selected"': '' ?>><?php esc_html_e('Cheapest in cart - selected category(ies)', 'woo-discount-rules') ?></option>
|
711 |
<option value="more_than_one_cheapest"<?php echo ($discount_product_option == 'more_than_one_cheapest')? ' selected="selected"': '' ?>><?php esc_html_e('Cheapest in cart - selected item(s)', 'woo-discount-rules') ?></option>
|
712 |
-
<option value="more_than_one_cheapest_from_all"<?php echo ($discount_product_option == 'more_than_one_cheapest_from_all')? ' selected="selected"': '' ?>><?php esc_html_e('Cheapest
|
713 |
</select>
|
714 |
<span class="woocommerce-help-tip" data-tip="<?php esc_attr_e('Auto add all selected products - Automatically added to the cart <br> Same product - get discount in same product <br> Any one cheapest from selected - Get discount in one selected product <br> Any one cheapest from all products - Get discount in one cheapest product in cart <br> Cheapest in cart - selected category(ies) - cheapest product from the selected category will be discounted <br> Cheapest in cart - selected item(s) - get discount in chosen no.of quantities', 'woo-discount-rules'); ?>"></span>
|
715 |
<div class="discount_product_option_bogo_con hide">
|
36 |
<div class="<?php echo $isPro? 'col-md-12': 'col-md-8'; ?>">
|
37 |
<div class="col-md-12 rule_buttons_con" align="right">
|
38 |
<input type="submit" id="savePriceRule" value="<?php esc_html_e('Save Rule', 'woo-discount-rules'); ?>" class="btn btn-primary">
|
39 |
+
<a href="?page=woo_discount_rules" class="btn btn-warning"><?php esc_html_e('Close and go back to list', 'woo-discount-rules'); ?></a>
|
40 |
<?php echo FlycartWooDiscountRulesGeneralHelper::docsURLHTML('introduction/price-discount-rules', 'price_rules', 'btn btn-info'); ?>
|
41 |
</div>
|
42 |
<?php if ($rule_id == 0) { ?>
|
709 |
<option value="any_cheapest_from_all"<?php echo ($discount_product_option == 'any_cheapest_from_all')? ' selected="selected"': '' ?>><?php esc_html_e('Any one cheapest from all products', 'woo-discount-rules') ?></option>
|
710 |
<option value="more_than_one_cheapest_from_cat"<?php echo ($discount_product_option == 'more_than_one_cheapest_from_cat')? ' selected="selected"': '' ?>><?php esc_html_e('Cheapest in cart - selected category(ies)', 'woo-discount-rules') ?></option>
|
711 |
<option value="more_than_one_cheapest"<?php echo ($discount_product_option == 'more_than_one_cheapest')? ' selected="selected"': '' ?>><?php esc_html_e('Cheapest in cart - selected item(s)', 'woo-discount-rules') ?></option>
|
712 |
+
<option value="more_than_one_cheapest_from_all"<?php echo ($discount_product_option == 'more_than_one_cheapest_from_all')? ' selected="selected"': '' ?>><?php esc_html_e('Cheapest among all items in cart', 'woo-discount-rules') ?></option>
|
713 |
</select>
|
714 |
<span class="woocommerce-help-tip" data-tip="<?php esc_attr_e('Auto add all selected products - Automatically added to the cart <br> Same product - get discount in same product <br> Any one cheapest from selected - Get discount in one selected product <br> Any one cheapest from all products - Get discount in one cheapest product in cart <br> Cheapest in cart - selected category(ies) - cheapest product from the selected category will be discounted <br> Cheapest in cart - selected item(s) - get discount in chosen no.of quantities', 'woo-discount-rules'); ?>"></span>
|
715 |
<div class="discount_product_option_bogo_con hide">
|
woo-discount-rules.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Simple Discount Rules for WooCommerce.
|
6 |
* Author: Flycart Technologies LLP
|
7 |
* Author URI: https://www.flycart.org
|
8 |
-
* Version: 1.7.
|
9 |
* Slug: woo-discount-rules
|
10 |
* Text Domain: woo-discount-rules
|
11 |
* Domain Path: /i18n/languages/
|
5 |
* Description: Simple Discount Rules for WooCommerce.
|
6 |
* Author: Flycart Technologies LLP
|
7 |
* Author URI: https://www.flycart.org
|
8 |
+
* Version: 1.7.1
|
9 |
* Slug: woo-discount-rules
|
10 |
* Text Domain: woo-discount-rules
|
11 |
* Domain Path: /i18n/languages/
|