Discount Rules for WooCommerce - Version 1.9.3

Version Description

  • 29/01/20 =
  • Fix - Disabled default free shipping even when the rule is disabled.
  • Fix - Wrong strikeout on quantity update in product page.
  • Fix - Dynamic coupon name with different language (Arabic) is not saved correctly in cart rule.
  • Fix - Calculating wrong discount for category based rule in cart while having tax settings(displays incl tax in cart).
  • Improvement - Refresh the cart on coupon applied when force refresh option is enabled.
  • Improvement - Apply biggest discount when an item has BOGO rule.
  • Improvement - Increased the free limit to 6.
  • Improvement - Sample rules while activate the plugin.
  • Improvement - Hints for user friendly.
Download this release

Release Info

Developer flycart
Plugin Icon 128x128 Discount Rules for WooCommerce
Version 1.9.3
Comparing to
See all releases

Code changes from version 1.9.2 to 1.9.3

assets/js/app.js CHANGED
@@ -396,8 +396,9 @@ function wooo_discount_range_altered() {
396
  form += '<span class="discount_product_percent_field">&nbsp;<input type="text" name="discount_range['+count+'][discount_product_percent]" class="discount_product_percent_field" value="" placeholder="'+woo_discount_localization.place_holder_ex_10+'" />&nbsp;<span class="woocommerce-help-tip" data-tip="'+woo_discount_localization.percentage_tooltip+'"></span></span> ';
397
  form += '</div>';
398
  form += '</div>';
399
- form += '</label>&nbsp;<label><a href=javascript:void(0) class="btn btn-danger form-control remove_discount_range">'+woo_discount_localization.remove_text+'</a></label> ';
400
- form += '<label><a href="javascript:void(0)" data-id="'+count+'" class="btn btn-primary form-control create_duplicate_discount_range">'+woo_discount_localization.duplicate_text+'</a></label> </div> </div>';
 
401
  } else {
402
  var form = '<div class="discount_rule_list"> <div class="form-group"><label><span class="discount_for_min_quantity_text">'+woo_discount_localization.min_quantity+'</span> <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>' +
403
  '<label class="discount_for_max_quantity_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]"> ' +
@@ -415,8 +416,9 @@ function wooo_discount_range_altered() {
415
  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][]">';
416
  form += '<option>'+woo_discount_localization.none_text+'</option>';
417
  form += '</select></div>';
418
- form += '</label>&nbsp;<label><a href=javascript:void(0) class="btn btn-danger form-control remove_discount_range">'+woo_discount_localization.remove_text+'</a> </label> ';
419
- form += ' <label><a href=javascript:void(0) data-id="'+count+'" class="btn btn-primary form-control create_duplicate_discount_range">'+woo_discount_localization.duplicate_text+'</a> </label></div> </div>';
 
420
  }
421
  $('#discount_rule_list').append(form);
422
  $('.product_list,.selectpicker').selectpicker('refresh');
@@ -515,30 +517,36 @@ function wooo_discount_range_altered() {
515
  // Manage the Type of Apply.
516
  $('#apply_to').on('change', function () {
517
  var option = $(this).val();
 
518
  $('#cumulative_for_products_cont').hide();
519
  if (option == 'specific_products') {
 
520
  $('#product_list').css('display', 'block');
521
  $('#category_list').css('display', 'none');
522
  $('#product_attributes_list').css('display', 'none');
523
  $('#product_exclude_list').hide();
524
  $('#cumulative_for_products_cont').show();
525
  } else if (option == 'specific_category') {
 
526
  $('#product_list').css('display', 'none');
527
  $('#product_attributes_list').css('display', 'none');
528
  $('#category_list').css('display', 'block');
529
  $('#product_exclude_list').show();
530
  } else if (option == 'specific_attribute') {
 
531
  $('#product_list').css('display', 'none');
532
  $('#category_list').css('display', 'none');
533
  $('#product_attributes_list').css('display', 'block');
534
  $('#product_exclude_list').show();
535
  } else {
 
536
  $('#product_list').css('display', 'none');
537
  $('#category_list').css('display', 'none');
538
  $('#product_attributes_list').css('display', 'none');
539
  $('#product_exclude_list').show();
540
  $('#cumulative_for_products_cont').show();
541
  }
 
542
  });
543
  $('#apply_to').trigger('change');
544
 
396
  form += '<span class="discount_product_percent_field">&nbsp;<input type="text" name="discount_range['+count+'][discount_product_percent]" class="discount_product_percent_field" value="" placeholder="'+woo_discount_localization.place_holder_ex_10+'" />&nbsp;<span class="woocommerce-help-tip" data-tip="'+woo_discount_localization.percentage_tooltip+'"></span></span> ';
397
  form += '</div>';
398
  form += '</div>';
399
+ form += '</label>&nbsp;';
400
+ form += '<label><a href="javascript:void(0)" data-id="'+count+'" class="btn btn-primary form-control create_duplicate_discount_range">'+woo_discount_localization.duplicate_text+'</a></label> ' +
401
+ '<label><a href=javascript:void(0) class="btn btn-danger form-control remove_discount_range">'+woo_discount_localization.remove_text+'</a></label> </div> </div>';
402
  } else {
403
  var form = '<div class="discount_rule_list"> <div class="form-group"><label><span class="discount_for_min_quantity_text">'+woo_discount_localization.min_quantity+'</span> <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>' +
404
  '<label class="discount_for_max_quantity_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]"> ' +
416
  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][]">';
417
  form += '<option>'+woo_discount_localization.none_text+'</option>';
418
  form += '</select></div>';
419
+ form += '</label>&nbsp; ';
420
+ form += ' <label><a href=javascript:void(0) data-id="'+count+'" class="btn btn-primary form-control create_duplicate_discount_range">'+woo_discount_localization.duplicate_text+'</a> </label> ' +
421
+ '<label><a href=javascript:void(0) class="btn btn-danger form-control remove_discount_range">'+woo_discount_localization.remove_text+'</a> </label></div> </div>';
422
  }
423
  $('#discount_rule_list').append(form);
424
  $('.product_list,.selectpicker').selectpicker('refresh');
517
  // Manage the Type of Apply.
518
  $('#apply_to').on('change', function () {
519
  var option = $(this).val();
520
+ var hint_text = '';
521
  $('#cumulative_for_products_cont').hide();
522
  if (option == 'specific_products') {
523
+ hint_text = woo_discount_localization.apply_to_hint_specific_products;
524
  $('#product_list').css('display', 'block');
525
  $('#category_list').css('display', 'none');
526
  $('#product_attributes_list').css('display', 'none');
527
  $('#product_exclude_list').hide();
528
  $('#cumulative_for_products_cont').show();
529
  } else if (option == 'specific_category') {
530
+ hint_text = woo_discount_localization.apply_to_hint_specific_category;
531
  $('#product_list').css('display', 'none');
532
  $('#product_attributes_list').css('display', 'none');
533
  $('#category_list').css('display', 'block');
534
  $('#product_exclude_list').show();
535
  } else if (option == 'specific_attribute') {
536
+ hint_text = woo_discount_localization.apply_to_hint_specific_attribute;
537
  $('#product_list').css('display', 'none');
538
  $('#category_list').css('display', 'none');
539
  $('#product_attributes_list').css('display', 'block');
540
  $('#product_exclude_list').show();
541
  } else {
542
+ hint_text = woo_discount_localization.apply_to_hint_all_products;
543
  $('#product_list').css('display', 'none');
544
  $('#category_list').css('display', 'none');
545
  $('#product_attributes_list').css('display', 'none');
546
  $('#product_exclude_list').show();
547
  $('#cumulative_for_products_cont').show();
548
  }
549
+ $('.apply_to_hint').html(hint_text);
550
  });
551
  $('#apply_to').trigger('change');
552
 
helper/activation-helper.php CHANGED
@@ -1,13 +1,162 @@
1
  <?php
2
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
3
 
4
- register_activation_hook(__FILE__, 'onWooDiscountActivate');
5
- register_deactivation_hook(__FILE__, 'onWooDiscountDeactivation');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  if (!function_exists('onWooDiscountActivate')) {
8
  function onWooDiscountActivate() {
9
  // Dependency Check.
10
  if (!in_array('woocommerce/woocommerce.php', get_option('active_plugins'))) wp_die('Please Install WooCommerce to Continue !');
 
 
11
  }
12
  }
13
  if (!function_exists('onWooDiscountDeactivation')) {
1
  <?php
2
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
3
 
4
+ if ( ! class_exists( 'FlycartWooDiscountRulesActivationHelper' ) ) {
5
+ class FlycartWooDiscountRulesActivationHelper
6
+ {
7
+ public static function flyCartWooDiscountRulesAddSampleRules(){
8
+ $price_rule = self::flyCartWooDiscountRulesGetRulesFromPost('woo_discount');
9
+ $cart_rule = self::flyCartWooDiscountRulesGetRulesFromPost('woo_discount_cart');
10
+ if($price_rule){
11
+ // do nothing
12
+ } else {
13
+ $price_rules = self::flyCartWooDiscountRulesSamplePriceRules();
14
+ self::flyCartWooDiscountRulesInsertSampleRules($price_rules);
15
+ }
16
+ if($cart_rule){
17
+ // do nothing
18
+ } else {
19
+ $cart_rules = self::flyCartWooDiscountRulesSampleCartRules();
20
+ self::flyCartWooDiscountRulesInsertSampleRules($cart_rules);
21
+ }
22
+ }
23
 
24
+ public static function flyCartWooDiscountRulesInsertSampleRules($rules){
25
+ foreach ($rules as $rule){
26
+ $metaData = $rule['meta'];
27
+ unset($rule['meta']);
28
+ $insert = wp_insert_post($rule);
29
+ if($insert){
30
+ foreach ($metaData as $index => $value) {
31
+ add_post_meta($insert, $index, $value, true);
32
+ }
33
+ }
34
+ }
35
+ }
36
+
37
+ /**
38
+ * Get Email template from post
39
+ * */
40
+ public static function flyCartWooDiscountRulesGetRulesFromPost($type){
41
+ if($type != ''){
42
+ global $wpdb;
43
+ $postid = $wpdb->get_var( "SELECT ID FROM $wpdb->posts WHERE post_type = '".sanitize_text_field($type)."'" );
44
+ return $postid;
45
+ } else {
46
+ return false;
47
+ }
48
+ }
49
+
50
+ public static function flyCartWooDiscountRulesSampleCartRules(){
51
+ $rules = array();
52
+
53
+ $rules['cart_subtotal'] = array(
54
+ 'post_type' => 'woo_discount_cart',
55
+ 'post_title' => 'Sample - Subtotal based discount',
56
+ 'post_name' => 'sample-subtotal-based-discount',
57
+ 'post_content' => 'Sample - Subtotal based discount',
58
+ 'post_status' => 'publish',
59
+ 'meta' => array(
60
+ 'rule_order' => 1,
61
+ 'rule_name' => 'Sample - Subtotal based discount',
62
+ 'rule_descr' => 'Get 10% off when subtotal reaches $500',
63
+ 'date_from' => '',
64
+ 'date_to' => '',
65
+ 'discount_rule' => '[{"subtotal_least":"500"}]',
66
+ 'promotion_subtotal_from' => '300',
67
+ 'promotion_message' => 'Spend {{difference_amount}} and get 10% off',
68
+ 'discount_type' => 'percentage_discount',
69
+ 'to_discount' => '10',
70
+ 'product_discount_quantity' => '1',
71
+ 'cart_discounted_products' => '{}',
72
+ 'dynamic_coupons_to_apply' => '',
73
+ 'status' => 'disable'
74
+ )
75
+ );
76
+
77
+ return $rules;
78
+ }
79
+
80
+ public static function flyCartWooDiscountRulesSamplePriceRules(){
81
+ $rules = array();
82
+ $rules['store_wide'] = array(
83
+ 'post_type' => 'woo_discount',
84
+ 'post_title' => 'Sample - Store wide discount',
85
+ 'post_name' => 'sample-store-wide-discount',
86
+ 'post_content' => 'Sample - Store wide discount',
87
+ 'post_status' => 'publish',
88
+ 'meta' => array(
89
+ 'rule_order' => 1,
90
+ 'rule_name' => 'Sample - Store wide discount',
91
+ 'rule_descr' => '20% discount on all products in store',
92
+ 'rule_method' => 'qty_based',
93
+ 'date_from' => '',
94
+ 'date_to' => '',
95
+ 'apply_to' => 'all_products',
96
+ 'is_cumulative_for_products' => '1',
97
+ 'customer' => 'all',
98
+ 'coupons_to_apply_option' => 'none',
99
+ 'dynamic_coupons_to_apply' => '',
100
+ 'subtotal_to_apply_option' => 'none',
101
+ 'subtotal_to_apply' => '',
102
+ 'based_on_purchase_history' => '0',
103
+ 'product_based_condition' => '{}',
104
+ 'discount_range' => '{"1":{"min_qty":"1","max_qty":"999","discount_type":"percentage_discount","to_discount":"20","discount_product_option":"all","discount_bogo_qty":"1","discount_product_item_type":"dynamic","discount_product_items":"","discount_product_qty":"","discount_product_discount_type":"","discount_product_percent":"","title":"Sample - Store wide discount"}}',
105
+ 'product_based_discount' => '{}',
106
+ 'coupons_to_apply' => '',
107
+ 'exclude_sale_items' => '0',
108
+ 'user_roles_to_apply' => '[]',
109
+ 'product_to_exclude' => 'a:0:{}',
110
+ 'status' => 'disable',
111
+ 'wpml_language' => '',
112
+ 'product_to_exclude_variants' => 'a:0:{}',
113
+ )
114
+ );
115
+
116
+ $rules['bulk_discount'] = array(
117
+ 'post_type' => 'woo_discount',
118
+ 'post_title' => 'Sample - Bulk discounts / Tiered pricing discounts',
119
+ 'post_name' => 'sample-bulk-discounts-tiered-pricing-discounts',
120
+ 'post_content' => 'Sample - Bulk discounts / Tiered pricing discounts',
121
+ 'post_status' => 'publish',
122
+ 'meta' => array(
123
+ 'rule_order' => 2,
124
+ 'rule_name' => 'Sample - Bulk discounts / Tiered pricing discounts',
125
+ 'rule_descr' => 'Buy 6 - 11 quantities get 5% off, Buy 12 - 17 quantities get 10% off and so on',
126
+ 'rule_method' => 'qty_based',
127
+ 'date_from' => '',
128
+ 'date_to' => '',
129
+ 'apply_to' => 'all_products',
130
+ 'is_cumulative_for_products' => '1',
131
+ 'customer' => 'all',
132
+ 'coupons_to_apply_option' => 'none',
133
+ 'dynamic_coupons_to_apply' => '',
134
+ 'subtotal_to_apply_option' => 'none',
135
+ 'subtotal_to_apply' => '',
136
+ 'based_on_purchase_history' => '0',
137
+ 'product_based_condition' => '{}',
138
+ 'discount_range' => '{"1":{"min_qty":"6","max_qty":"11","discount_type":"percentage_discount","to_discount":"5","discount_product_option":"all","discount_bogo_qty":"1","discount_product_item_type":"dynamic","discount_product_items":"","discount_product_qty":"","discount_product_discount_type":"","discount_product_percent":"","title":"Sample - Bulk discounts / Tiered pricing discounts"},"2":{"min_qty":"12","max_qty":"17","discount_type":"percentage_discount","to_discount":"10","discount_product_option":"all","discount_bogo_qty":"","discount_product_item_type":"dynamic","discount_product_items":"","discount_product_qty":"","discount_product_discount_type":"","discount_product_percent":"","title":"Sample - Bulk discounts / Tiered pricing discounts"},"3":{"min_qty":"18","max_qty":"999","discount_type":"percentage_discount","to_discount":"15","discount_product_option":"all","discount_bogo_qty":"","discount_product_item_type":"dynamic","discount_product_items":"","discount_product_qty":"","discount_product_discount_type":"","discount_product_percent":"","title":"Sample - Bulk discounts / Tiered pricing discounts"}}',
139
+ 'product_based_discount' => '{}',
140
+ 'coupons_to_apply' => '',
141
+ 'exclude_sale_items' => '0',
142
+ 'user_roles_to_apply' => '[]',
143
+ 'product_to_exclude' => 'a:0:{}',
144
+ 'status' => 'disable',
145
+ 'wpml_language' => '',
146
+ 'product_to_exclude_variants' => 'a:0:{}',
147
+ )
148
+ );
149
+
150
+ return $rules;
151
+ }
152
+ }
153
+ }
154
  if (!function_exists('onWooDiscountActivate')) {
155
  function onWooDiscountActivate() {
156
  // Dependency Check.
157
  if (!in_array('woocommerce/woocommerce.php', get_option('active_plugins'))) wp_die('Please Install WooCommerce to Continue !');
158
+
159
+ FlycartWooDiscountRulesActivationHelper::flyCartWooDiscountRulesAddSampleRules();
160
  }
161
  }
162
  if (!function_exists('onWooDiscountDeactivation')) {
i18n/languages/woo-discount-rules.pot CHANGED
@@ -11,2209 +11,2121 @@ msgstr ""
11
  "Language: en\n"
12
  "X-Generator: Poedit 1.8.7.1\n"
13
 
14
- #: helper/general-helper.php:48
15
- msgid "Guest"
 
16
  msgstr ""
17
 
18
- #: helper/general-helper.php:614
19
- msgid "Start date and time is set in the future date"
 
20
  msgstr ""
21
 
22
- #: helper/general-helper.php:617
23
- msgid "Validity expired"
 
24
  msgstr ""
25
 
26
- #: helper/general-helper.php:634
27
- msgid "Will run in future"
 
28
  msgstr ""
29
 
30
- #: helper/general-helper.php:637
31
- msgid "Not running - validity expired"
 
32
  msgstr ""
33
 
34
- #: helper/general-helper.php:654
35
- msgid "Running"
 
36
  msgstr ""
37
 
38
- #: helper/general-helper.php:659
39
- msgid "Your server current date and time: "
 
40
  msgstr ""
41
 
42
- #: helper/general-helper.php:794
43
- msgid "Read Docs"
 
44
  msgstr ""
45
 
46
- #: helper/general-helper.php:1031 view/view-cart-rules.php:697
47
- #: view/view-pricing-rules.php:401
48
- msgid "Coupon already exists in WooCommerce. Please select another name"
49
  msgstr ""
50
 
51
- #: helper/purchase.php:25 view/includes/cart-menu.php:5
52
- #: view/includes/menu.php:6 view/includes/sub-menu.php:5
53
- msgid "Woo Discount Rules"
54
  msgstr ""
55
 
56
- #: helper/purchase.php:60 helper/purchase.php:132
57
- msgid "The license key for "
 
58
  msgstr ""
59
 
60
- #: helper/purchase.php:60 helper/purchase.php:132
61
- msgid "seems invalid."
 
62
  msgstr ""
63
 
64
- #: helper/purchase.php:60 helper/purchase.php:64 helper/purchase.php:132
65
- #: helper/purchase.php:135 helper/purchase.php:171
66
- msgid "Please enter a valid license key"
67
  msgstr ""
68
 
69
- #: helper/purchase.php:60 helper/purchase.php:64 helper/purchase.php:132
70
- #: helper/purchase.php:135
71
- msgid "You can get it from"
72
  msgstr ""
73
 
74
- #: helper/purchase.php:60 helper/purchase.php:64 helper/purchase.php:132
75
- #: helper/purchase.php:135
76
- msgid "our website"
77
  msgstr ""
78
 
79
- #: helper/purchase.php:64 helper/purchase.php:135
80
- msgid "License key for the "
 
81
  msgstr ""
82
 
83
- #: helper/purchase.php:64 helper/purchase.php:135
84
- msgid "is not entered."
 
85
  msgstr ""
86
 
87
- #: helper/purchase.php:71
88
- msgid ": You are using CORE version. Please Update to PRO version."
 
89
  msgstr ""
90
 
91
- #: helper/purchase.php:95
92
- msgid "-PRO-"
 
93
  msgstr ""
94
 
95
- #: helper/purchase.php:104
96
- msgid "Pro"
 
 
 
97
  msgstr ""
98
 
99
- #: helper/purchase.php:106
100
- msgid "Core"
 
 
101
  msgstr ""
102
 
103
- #: helper/purchase.php:180
104
- msgid "License key check : Passed."
 
105
  msgstr ""
106
 
107
- #: helper/purchase.php:184 view/settings_general.php:31
108
- msgid "License key seems to be Invalid. Please enter a valid license key"
 
 
109
  msgstr ""
110
 
111
- #: helper/woo-function.php:485 helper/woo-function.php:495
112
- msgid "Search for a product&hellip;"
 
113
  msgstr ""
114
 
115
- #: helper/woo-function.php:528 helper/woo-function.php:540
116
- msgid "Search for a user&hellip;"
 
117
  msgstr ""
118
 
119
- #: includes/advanced/free_shipping_method.php:16
120
- msgid "WooDiscount Free Shipping"
 
121
  msgstr ""
122
 
123
- #: includes/advanced/free_shipping_method.php:17
124
- msgid "Custom Shipping Method for Woocommerce Discount Rules"
 
125
  msgstr ""
126
 
127
- #: includes/advanced/free_shipping_method.php:68 view/documentation.php:63
128
- #: view/settings_cart_rules.php:126
129
- msgid "Free Shipping"
 
130
  msgstr ""
131
 
132
- #: includes/advanced/free_shipping_method.php:73
133
- #: includes/discount-base.php:1055 view/cart-rules.php:133
134
- #: view/pricing-rules.php:163 view/settings_promotion.php:65
135
- #: view/settings_promotion.php:100
136
- msgid "Enable"
137
  msgstr ""
138
 
139
- #: includes/advanced/free_shipping_method.php:75
140
- msgid "Enable this shipping."
 
 
141
  msgstr ""
142
 
143
- #: includes/advanced/free_shipping_method.php:80
144
- msgid "Title"
 
145
  msgstr ""
146
 
147
- #: includes/advanced/free_shipping_method.php:82
148
- msgid "Title to be display on site"
 
149
  msgstr ""
150
 
151
- #: includes/cart-rules.php:115 includes/pricing-rules.php:120
152
- msgid "Saved successfully"
 
 
153
  msgstr ""
154
 
155
- #: includes/cart-rules.php:184 includes/pricing-rules.php:153
156
- msgid "Failed to save"
 
157
  msgstr ""
158
 
159
- #: includes/discount-base.php:195 view/cart-rules.php:162
160
- #: view/pricing-rules.php:192
161
- msgid "Active"
 
 
 
162
  msgstr ""
163
 
164
- #: includes/discount-base.php:197 view/cart-rules.php:164
165
- #: view/pricing-rules.php:194 view/settings_cart_rules.php:95
166
- #: view/settings_cart_rules.php:102 view/settings_price_rules.php:169
167
- #: view/settings_promotion.php:22 view/settings_promotion.php:62
168
- #: view/settings_promotion.php:97 view/settings_promotion.php:132
169
- msgid "Disabled"
170
  msgstr ""
171
 
172
- #: includes/discount-base.php:514
173
- msgid "Cache cleared successfully"
 
174
  msgstr ""
175
 
176
- #: includes/discount-base.php:516
177
- msgid "Failed to clear cache"
 
178
  msgstr ""
179
 
180
- #: includes/discount-base.php:627 includes/discount-base.php:662
181
- msgid "Failed to do action"
 
182
  msgstr ""
183
 
184
- #: includes/discount-base.php:666
185
- msgid "Disabled successfully"
 
 
186
  msgstr ""
187
 
188
- #: includes/discount-base.php:669
189
- msgid "Deleted successfully"
 
190
  msgstr ""
191
 
192
- #: includes/discount-base.php:672
193
- msgid "Enabled successfully"
 
194
  msgstr ""
195
 
196
- #: includes/discount-base.php:692 includes/discount-base.php:693
197
- #: includes/discount-base.php:710
198
- msgid "copy"
199
  msgstr ""
200
 
201
- #: includes/discount-base.php:718
202
- msgid "Duplicate rule created successfully"
 
 
203
  msgstr ""
204
 
205
- #: includes/discount-base.php:722
206
- msgid "Failed to create duplicate rule"
 
207
  msgstr ""
208
 
209
- #: includes/discount-base.php:1009
210
- msgid "Please fill this field"
 
211
  msgstr ""
212
 
213
- #: includes/discount-base.php:1010
214
- msgid "Please Enter the Rule Name to Create / Save."
 
215
  msgstr ""
216
 
217
- #: includes/discount-base.php:1011
218
- msgid "Saving..."
 
219
  msgstr ""
220
 
221
- #: includes/discount-base.php:1012 view/view-cart-rules.php:55
222
- #: view/view-pricing-rules.php:37
223
- msgid "Save Rule"
224
  msgstr ""
225
 
226
- #: includes/discount-base.php:1013
227
- msgid "Please enter a Key"
 
 
228
  msgstr ""
229
 
230
- #: includes/discount-base.php:1014 view/view-pricing-rules.php:698
231
- msgid "Min Quantity"
 
232
  msgstr ""
233
 
234
- #: includes/discount-base.php:1015 view/view-pricing-rules.php:705
235
- msgid "Max Quantity"
 
 
236
  msgstr ""
237
 
238
- #: includes/discount-base.php:1016 view/view-pricing-rules.php:613
239
- #: view/view-pricing-rules.php:616 view/view-pricing-rules.php:636
240
- msgid "Quantity"
241
  msgstr ""
242
 
243
- #: includes/discount-base.php:1017 view/view-cart-rules.php:92
244
- #: view/view-pricing-rules.php:74 view/view-pricing-rules.php:703
245
- #: view/view-pricing-rules.php:842 view/view-pricing-rules.php:865
246
- #: view/view-pricing-rules.php:872
247
- msgid "ex. 1"
248
  msgstr ""
249
 
250
- #: includes/discount-base.php:1018 view/view-pricing-rules.php:910
251
- msgid "ex. 10"
 
252
  msgstr ""
253
 
254
- #: includes/discount-base.php:1019 view/view-pricing-rules.php:710
255
- #: view/view-pricing-rules.php:810
256
- msgid "ex. 50"
257
  msgstr ""
258
 
259
- #: includes/discount-base.php:1020
260
- msgid "Search for a user"
 
 
261
  msgstr ""
262
 
263
- #: includes/discount-base.php:1021 view/view-pricing-rules.php:711
264
- msgid "Adjustment Type"
 
 
265
  msgstr ""
266
 
267
- #: includes/discount-base.php:1022 view/view-pricing-rules.php:899
268
- msgid "Discount percentage"
 
269
  msgstr ""
270
 
271
- #: includes/discount-base.php:1023 view/view-cart-rules.php:776
272
- #: view/view-pricing-rules.php:717
273
- msgid "Percentage Discount"
274
  msgstr ""
275
 
276
- #: includes/discount-base.php:1024 view/view-cart-rules.php:782
277
- #: view/view-cart-rules.php:784 view/view-pricing-rules.php:725
278
- #: view/view-pricing-rules.php:727
279
- msgid "Price Discount"
280
  msgstr ""
281
 
282
- #: includes/discount-base.php:1025
283
- msgid "BOGO Product Discount"
 
284
  msgstr ""
285
 
286
- #: includes/discount-base.php:1026
287
- msgid "Product Discount - Not support for subtotal based rule"
 
288
  msgstr ""
289
 
290
- #: includes/discount-base.php:1027 view/view-cart-rules.php:462
291
- #: view/view-pricing-rules.php:805 view/view-pricing-rules.php:959
292
- msgid "Value"
293
  msgstr ""
294
 
295
- #: includes/discount-base.php:1028 view/view-pricing-rules.php:827
296
- msgid "receive discount for"
 
297
  msgstr ""
298
 
299
- #: includes/discount-base.php:1029 view/view-pricing-rules.php:829
300
- msgid "Auto add all selected products"
 
301
  msgstr ""
302
 
303
- #: includes/discount-base.php:1030 view/view-pricing-rules.php:830
304
- msgid "Same product"
 
305
  msgstr ""
306
 
307
- #: includes/discount-base.php:1031
308
- msgid "Any one cheapest from selected"
 
309
  msgstr ""
310
 
311
- #: includes/discount-base.php:1032
312
- msgid "Any one cheapest from all products"
 
313
  msgstr ""
314
 
315
- #: includes/discount-base.php:1033 view/view-pricing-rules.php:785
316
- #: view/view-pricing-rules.php:787 view/view-pricing-rules.php:831
317
- msgid "Cheapest in cart - selected category(ies)"
318
  msgstr ""
319
 
320
- #: includes/discount-base.php:1034 view/view-pricing-rules.php:775
321
- #: view/view-pricing-rules.php:777 view/view-pricing-rules.php:832
322
- msgid "Cheapest in cart - selected item(s)"
323
  msgstr ""
324
 
325
- #: includes/discount-base.php:1035 view/view-pricing-rules.php:795
326
- #: view/view-pricing-rules.php:797 view/view-pricing-rules.php:833
327
- msgid "Cheapest among all items in cart"
328
  msgstr ""
329
 
330
- #: includes/discount-base.php:1036 view/view-pricing-rules.php:837
331
- msgid "Free quantity"
 
332
  msgstr ""
333
 
334
- #: includes/discount-base.php:1037 view/view-pricing-rules.php:837
335
- msgid "Number of quantity(ies) in each selected product(s)"
 
 
 
336
  msgstr ""
337
 
338
- #: includes/discount-base.php:1038 view/view-pricing-rules.php:857
339
- msgid "Fixed item count (not recommended)"
 
 
 
340
  msgstr ""
341
 
342
- #: includes/discount-base.php:1039 view/view-pricing-rules.php:856
343
- msgid "Dynamic item count"
 
 
 
344
  msgstr ""
345
 
346
- #: includes/discount-base.php:1040 view/view-pricing-rules.php:859
347
- msgid ""
348
- "Fixed item count - You need to provide item count manually. Dynamic item "
349
- "count - System will choose dynamically based on cart"
350
  msgstr ""
351
 
352
- #: includes/discount-base.php:1041 view/view-pricing-rules.php:860
353
- msgid "Item count"
 
354
  msgstr ""
355
 
356
- #: includes/discount-base.php:1042 view/view-pricing-rules.php:860
357
- msgid "Discount for number of item(s) in cart"
 
358
  msgstr ""
359
 
360
- #: includes/discount-base.php:1043 view/view-pricing-rules.php:867
361
- msgid "Discount for number of quantity(ies)"
 
362
  msgstr ""
363
 
364
- #: includes/discount-base.php:1044 view/view-pricing-rules.php:867
365
- msgid "Item quantity"
 
366
  msgstr ""
367
 
368
- #: includes/discount-base.php:1045
369
- msgid "Search for a products"
 
370
  msgstr ""
371
 
372
- #: includes/discount-base.php:1046
373
- msgid "and"
 
374
  msgstr ""
375
 
376
- #: includes/discount-base.php:1047 view/view-pricing-rules.php:901
377
- msgid "100% percent"
 
378
  msgstr ""
379
 
380
- #: includes/discount-base.php:1048 view/view-pricing-rules.php:902
381
- msgid "Limited percent"
 
382
  msgstr ""
383
 
384
- #: includes/discount-base.php:1049
385
- msgid "Percentage"
 
386
  msgstr ""
387
 
388
- #: includes/discount-base.php:1050
389
- msgid "as discount"
 
 
390
  msgstr ""
391
 
392
- #: includes/discount-base.php:1051 view/view-cart-rules.php:701
393
- #: view/view-pricing-rules.php:916
394
- msgid "Remove"
 
395
  msgstr ""
396
 
397
- #: includes/discount-base.php:1052 view/cart-rules.php:185
398
- #: view/pricing-rules.php:215 view/view-pricing-rules.php:919
399
- msgid "Duplicate"
400
  msgstr ""
401
 
402
- #: includes/discount-base.php:1053
403
- msgid "none"
 
404
  msgstr ""
405
 
406
- #: includes/discount-base.php:1054
407
- msgid "Are you sure to remove this ?"
 
408
  msgstr ""
409
 
410
- #: includes/discount-base.php:1056 view/cart-rules.php:130
411
- #: view/pricing-rules.php:160
412
- msgid "Disable"
413
  msgstr ""
414
 
415
- #: includes/discount-base.php:1057
416
- msgid "Are you sure to remove ?"
 
 
417
  msgstr ""
418
 
419
- #: includes/discount-base.php:1058 view/view-cart-rules.php:172
420
- msgid "Type"
 
421
  msgstr ""
422
 
423
- #: includes/discount-base.php:1059 view/view-cart-rules.php:176
424
- msgid "Cart Subtotal"
 
425
  msgstr ""
426
 
427
- #: includes/discount-base.php:1060 view/view-cart-rules.php:179
428
- msgid "Subtotal at least"
 
429
  msgstr ""
430
 
431
- #: includes/discount-base.php:1061 view/view-cart-rules.php:183
432
- msgid "Subtotal less than"
 
 
 
433
  msgstr ""
434
 
435
- #: includes/discount-base.php:1062 view/view-cart-rules.php:186
436
- msgid "Cart Item Count"
 
 
437
  msgstr ""
438
 
439
- #: includes/discount-base.php:1063 view/view-cart-rules.php:189
440
- msgid "Number of line items in the cart (not quantity) at least"
 
 
441
  msgstr ""
442
 
443
- #: includes/discount-base.php:1064 view/view-cart-rules.php:193
444
- msgid "Number of line items in the cart (not quantity) less than"
 
445
  msgstr ""
446
 
447
- #: includes/discount-base.php:1065 view/view-cart-rules.php:196
448
- msgid "Quantity Sum"
 
449
  msgstr ""
450
 
451
- #: includes/discount-base.php:1066 view/view-cart-rules.php:202
452
- #: view/view-cart-rules.php:205
453
- msgid "Total number of quantities in the cart at least"
454
  msgstr ""
455
 
456
- #: includes/discount-base.php:1067 view/view-cart-rules.php:214
457
- #: view/view-cart-rules.php:217
458
- msgid "Total number of quantities in the cart less than"
459
  msgstr ""
460
 
461
- #: includes/discount-base.php:1068 view/view-cart-rules.php:246
462
- msgid "Categories in cart"
 
463
  msgstr ""
464
 
465
- #: includes/discount-base.php:1069 view/view-cart-rules.php:252
466
- msgid "Including sub-categories in cart"
 
467
  msgstr ""
468
 
469
- #: includes/discount-base.php:1070 view/view-cart-rules.php:267
470
- msgid "Customer Details (must be logged in)"
 
 
471
  msgstr ""
472
 
473
- #: includes/discount-base.php:1071 view/view-cart-rules.php:273
474
- #: view/view-cart-rules.php:275
475
- msgid "User in list"
 
476
  msgstr ""
477
 
478
- #: includes/discount-base.php:1072 view/view-cart-rules.php:283
479
- #: view/view-cart-rules.php:285
480
- msgid "User role in list"
 
481
  msgstr ""
482
 
483
- #: includes/discount-base.php:1073 view/view-cart-rules.php:349
484
- #: view/view-cart-rules.php:351
485
- msgid "Shipping country in list"
 
486
  msgstr ""
487
 
488
- #: includes/discount-base.php:1074 view/view-cart-rules.php:289
489
- msgid "Customer Email"
 
 
490
  msgstr ""
491
 
492
- #: includes/discount-base.php:1075
493
- msgid "Email with TLD (Ege: edu)"
 
494
  msgstr ""
495
 
496
- #: includes/discount-base.php:1076 view/view-cart-rules.php:305
497
- #: view/view-cart-rules.php:307
498
- msgid "Email with Domain (Eg: gmail.com)"
499
  msgstr ""
500
 
501
- #: includes/discount-base.php:1077 view/view-cart-rules.php:311
502
- msgid "Customer Billing Details"
 
 
 
 
 
 
 
503
  msgstr ""
504
 
505
- #: includes/discount-base.php:1078 view/view-cart-rules.php:317
506
- #: view/view-cart-rules.php:319
507
- msgid "Billing city"
508
  msgstr ""
509
 
510
- #: includes/discount-base.php:1079 view/view-cart-rules.php:323
511
- msgid "Customer Shipping Details"
 
 
 
 
 
512
  msgstr ""
513
 
514
- #: includes/discount-base.php:1080 view/view-cart-rules.php:339
515
- #: view/view-cart-rules.php:341
516
- msgid "Shipping state"
517
  msgstr ""
518
 
519
- #: includes/discount-base.php:1081 view/view-cart-rules.php:329
520
- #: view/view-cart-rules.php:331
521
- msgid "Shipping city"
522
  msgstr ""
523
 
524
- #: includes/discount-base.php:1082 view/view-cart-rules.php:359
525
- #: view/view-cart-rules.php:361
526
- msgid "Shipping zip code"
527
  msgstr ""
528
 
529
- #: includes/discount-base.php:1083 view/view-cart-rules.php:365
530
- #: view/view-pricing-rules.php:500
531
- msgid "Purchase History"
532
  msgstr ""
533
 
534
- #: includes/discount-base.php:1084 view/view-cart-rules.php:381
535
- #: view/view-cart-rules.php:383 view/view-pricing-rules.php:509
536
- msgid "Purchased amount"
537
  msgstr ""
538
 
539
- #: includes/discount-base.php:1085 view/view-cart-rules.php:391
540
- #: view/view-cart-rules.php:393 view/view-pricing-rules.php:510
541
- msgid "Number of previous orders made"
542
  msgstr ""
543
 
544
- #: includes/discount-base.php:1086 view/view-cart-rules.php:401
545
- #: view/view-cart-rules.php:403 view/view-pricing-rules.php:511
546
- msgid "Number of previous orders made with following products"
547
  msgstr ""
548
 
549
- #: includes/discount-base.php:1087 view/view-cart-rules.php:411
550
- #: view/view-cart-rules.php:413 view/view-pricing-rules.php:512
551
- msgid "Number of quantity(s) in previous orders made with following products"
552
  msgstr ""
553
 
554
- #: includes/discount-base.php:1088 view/view-cart-rules.php:417
555
- msgid "Coupon applied"
 
556
  msgstr ""
557
 
558
- #: includes/discount-base.php:1089 view/view-cart-rules.php:423
559
- #: view/view-cart-rules.php:425 view/view-pricing-rules.php:378
560
- msgid "Create your own coupon"
561
  msgstr ""
562
 
563
- #: includes/discount-base.php:1090 view/view-cart-rules.php:433
564
- #: view/view-cart-rules.php:435
565
- msgid "Atleast any one (Select from WooCommerce)"
566
  msgstr ""
567
 
568
- #: includes/discount-base.php:1091 view/view-cart-rules.php:443
569
- #: view/view-cart-rules.php:445
570
- msgid "All selected (Select from WooCommerce)"
571
  msgstr ""
572
 
573
- #: includes/discount-base.php:1092 view/view-cart-rules.php:647
574
- #: view/view-pricing-rules.php:549
575
- msgid "Greater than or equal to"
576
  msgstr ""
577
 
578
- #: includes/discount-base.php:1093 view/view-cart-rules.php:648
579
- #: view/view-pricing-rules.php:550 view/view-pricing-rules.php:609
580
- msgid "Less than or equal to"
 
 
 
581
  msgstr ""
582
 
583
- #: includes/discount-base.php:1094 view/view-cart-rules.php:650
584
- #: view/view-pricing-rules.php:553
585
- msgid "and the order status should be"
586
  msgstr ""
587
 
588
- #: includes/discount-base.php:1095 view/cart-rules.php:114
589
- #: view/cart-rules.php:224 view/pricing-rules.php:144
590
- #: view/pricing-rules.php:254 view/view-cart-rules.php:700
591
- msgid "Action"
 
592
  msgstr ""
593
 
594
- #: includes/discount-base.php:1096 view/settings.php:33
595
- #: view/settings_taxonomy.php:21
596
- msgid "Save"
597
  msgstr ""
598
 
599
- #: includes/discount-base.php:1097
600
- msgid "Saved Successfully!"
 
601
  msgstr ""
602
 
603
- #: includes/discount-base.php:1098 view/view-cart-rules.php:491
604
- #: view/view-cart-rules.php:559 view/view-cart-rules.php:579
605
- #: view/view-cart-rules.php:600 view/view-cart-rules.php:655
606
- #: view/view-pricing-rules.php:235 view/view-pricing-rules.php:251
607
- #: view/view-pricing-rules.php:561 view/view-pricing-rules.php:645
608
- #: view/view-pricing-rules.php:887
609
- msgid "None selected"
610
  msgstr ""
611
 
612
- #: includes/discount-base.php:1099 view/view-cart-rules.php:258
613
- msgid "In each category"
 
614
  msgstr ""
615
 
616
- #: includes/discount-base.php:1100 view/settings_price_rules.php:208
617
- #: view/settings_price_rules.php:226 view/settings_price_rules.php:244
618
- #: view/settings_price_rules.php:262
619
- msgid "Show"
620
  msgstr ""
621
 
622
- #: includes/discount-base.php:1101 view/template/sidebar.php:12
623
- msgid "Hide"
 
 
624
  msgstr ""
625
 
626
- #: includes/discount-base.php:1102
627
- msgid "Please select at least one rule"
 
628
  msgstr ""
629
 
630
- #: includes/discount-base.php:1103
631
- msgid "Please select an action to apply"
 
632
  msgstr ""
633
 
634
- #: includes/discount-base.php:1104
635
- msgid "Are you sure to remove the selected rules"
 
636
  msgstr ""
637
 
638
- #: includes/discount-base.php:1105 view/view-pricing-rules.php:876
639
- msgid "Choose product(s)"
 
640
  msgstr ""
641
 
642
- #: includes/discount-base.php:1106 view/view-pricing-rules.php:886
643
- msgid "Choose category(ies)"
 
 
644
  msgstr ""
645
 
646
- #: includes/discount-base.php:1107
647
- msgid "Search for a coupon"
 
 
648
  msgstr ""
649
 
650
- #: includes/discount-base.php:1108 view/view-pricing-rules.php:910
651
- #, php-format
652
- msgid "Enter only numeric values. Eg: <b>50</b> for 50% discount"
 
 
653
  msgstr ""
654
 
655
- #: includes/discount-base.php:1109
656
- #, php-format
657
- msgid "Enter the discount price. Eg: <b>10</b> for %s discount"
658
  msgstr ""
659
 
660
- #: includes/discount-base.php:1110
661
- #, php-format
662
- msgid "Enter the discounted price per unit. Eg: <b>10</b> for %s as unit price"
663
  msgstr ""
664
 
665
- #: includes/discount-base.php:1111
666
- #, php-format
667
- msgid ""
668
- "Enter the price for selected quantity. Eg: <b>10</b> then %s as total price "
669
- "for selected quantity"
670
  msgstr ""
671
 
672
- #: includes/discount-base.php:1112 view/view-pricing-rules.php:835
673
- msgid ""
674
- "Auto add all selected products - Automatically added to the cart <br> Same "
675
- "product - get discount in same product <br> Any one cheapest from selected - "
676
- "Get discount in one selected product <br> Any one cheapest from all products "
677
- "- Get discount in one cheapest product in cart <br> Cheapest in cart - "
678
- "selected category(ies) - cheapest product from the selected category will be "
679
- "discounted <br> Cheapest in cart - selected item(s) - get discount in chosen "
680
- "no.of quantities"
681
  msgstr ""
682
 
683
- #: includes/discount-base.php:1113 view/view-cart-rules.php:221
684
- msgid "Products"
 
685
  msgstr ""
686
 
687
- #: includes/discount-base.php:1114 view/view-cart-rules.php:226
688
- msgid "Products in cart"
 
689
  msgstr ""
690
 
691
- #: includes/discount-base.php:1115 view/view-cart-rules.php:232
692
- #: view/view-pricing-rules.php:270
693
- msgid "Exclude products"
694
  msgstr ""
695
 
696
- #: includes/discount-base.php:1116 view/view-cart-rules.php:238
697
- msgid "Exclude on sale products"
 
698
  msgstr ""
699
 
700
- #: includes/discount-base.php:1117 view/view-cart-rules.php:529
701
- msgid "This will exclude the on sale products from discount"
 
702
  msgstr ""
703
 
704
- #: includes/discount-base.php:1118 view/view-cart-rules.php:663
705
- #: view/view-pricing-rules.php:568
706
- msgid "From all previous orders"
707
  msgstr ""
708
 
709
- #: includes/discount-base.php:1119 view/view-cart-rules.php:664
710
- #: view/view-pricing-rules.php:569
711
- msgid "Last 7 days"
 
712
  msgstr ""
713
 
714
- #: includes/discount-base.php:1120 view/view-cart-rules.php:665
715
- #: view/view-pricing-rules.php:570
716
- msgid "Last 14 days"
717
  msgstr ""
718
 
719
- #: includes/discount-base.php:1121 view/view-cart-rules.php:666
720
- #: view/view-pricing-rules.php:571
721
- msgid "Last 30 days"
 
722
  msgstr ""
723
 
724
- #: includes/discount-base.php:1122 view/view-cart-rules.php:667
725
- #: view/view-pricing-rules.php:572
726
- msgid "Last 60 days"
 
 
727
  msgstr ""
728
 
729
- #: includes/discount-base.php:1123 view/view-cart-rules.php:668
730
- #: view/view-pricing-rules.php:573
731
- msgid "Last 90 days"
732
  msgstr ""
733
 
734
- #: includes/discount-base.php:1124 view/view-cart-rules.php:669
735
- #: view/view-pricing-rules.php:574
736
- msgid "Last 180 days"
737
  msgstr ""
738
 
739
- #: includes/discount-base.php:1125 view/view-cart-rules.php:670
740
- #: view/view-pricing-rules.php:575
741
- msgid "Last 1 year"
 
742
  msgstr ""
743
 
744
- #: includes/discount-base.php:1126 view/view-cart-rules.php:671
745
- #: view/view-pricing-rules.php:576
746
- msgid "Custom"
747
  msgstr ""
748
 
749
- #: includes/discount-base.php:1127 view/view-cart-rules.php:674
750
- #: view/view-pricing-rules.php:580
751
- msgid "in days"
752
  msgstr ""
753
 
754
- #: includes/discount-base.php:1128 view/view-pricing-rules.php:735
755
- #: view/view-pricing-rules.php:737
756
- msgid "Fixed Price Per Unit"
757
  msgstr ""
758
 
759
- #: includes/discount-base.php:1129 view/view-pricing-rules.php:745
760
- #: view/view-pricing-rules.php:747
761
- msgid "Bundle (Set) Discount"
762
  msgstr ""
763
 
764
- #: includes/discount-base.php:1130 view/view-cart-rules.php:371
765
- #: view/view-cart-rules.php:373 view/view-pricing-rules.php:508
766
- msgid "First Order discount"
767
  msgstr ""
768
 
769
- #: includes/discount-base.php:1131 view/view-cart-rules.php:264
770
- msgid "Exclude categories in cart"
 
 
771
  msgstr ""
772
 
773
- #: includes/discount-base.php:1133 view/view-pricing-rules.php:755
774
- #: view/view-pricing-rules.php:757
775
- msgid "Buy X get X (Same product)"
776
  msgstr ""
777
 
778
- #: includes/discount-base.php:1134 view/view-pricing-rules.php:765
779
- #: view/view-pricing-rules.php:767
780
- msgid "Buy X get Y (Auto add all selected products)"
781
  msgstr ""
782
 
783
- #: includes/discount-base.php:1135
784
- #, php-format
785
- msgid ""
786
- "The customer gets the same product free (Buy 2 get 1 free) or a limited "
787
- "percentage (Buy 2 and get 1 at 50% discount)"
788
  msgstr ""
789
 
790
- #: includes/discount-base.php:1136
791
- msgid ""
792
- "Provide a specific product free when purchasing another product."
793
- "<br><br>Example: Buy Product A and get Product B free. Product B will be "
794
- "automatically added to cart."
795
  msgstr ""
796
 
797
- #: includes/discount-base.php:1137
798
- msgid ""
799
- "Provide a specific product free when purchasing another product."
800
- "<br><br>Instead of automatically adding, if you wish to choose the free "
801
- "product, you can select this option.<br><br>Note : Product will be "
802
- "discounted only when the user manually adds the product to cart."
803
  msgstr ""
804
 
805
- #: includes/discount-base.php:1138
806
- msgid ""
807
- "Used to provide BOGO discount within categories.<br><br>Example 1: Buy 2 "
808
- "from Category A and get 1 free from the same Category A.<br>Example 2: Buy "
809
- "any items from Category A and get 20% (limited percent) discount on Category "
810
- "B."
811
  msgstr ""
812
 
813
- #: includes/discount-base.php:1139
814
- msgid ""
815
- "This allows you to offer the cheapest product in cart for free (or at a "
816
- "limited percentage like 50%)"
817
  msgstr ""
818
 
819
- #: includes/discount-base.php:1221
820
- #, php-format
821
- msgid ""
822
- "Sorry, it is not possible to apply coupon <b>\"%s\"</b> as you already have "
823
- "a discount applied in cart."
 
 
824
  msgstr ""
825
 
826
- #: includes/discount-base.php:1276 view/includes/menu.php:13
827
- msgid "Settings"
 
828
  msgstr ""
829
 
830
- #: includes/pricing-rules.php:3172 view/view-pricing-rules.php:601
831
- msgid "Buy"
 
832
  msgstr ""
833
 
834
- #: includes/pricing-rules.php:3176
835
- msgid " less than or equal to "
 
 
836
  msgstr ""
837
 
838
- #: includes/pricing-rules.php:3176 includes/pricing-rules.php:3182
839
- msgid " Quantity"
 
840
  msgstr ""
841
 
842
- #: includes/pricing-rules.php:3179
843
- msgid " Quantity "
 
844
  msgstr ""
845
 
846
- #: includes/pricing-rules.php:3186
847
- msgid " or more Quantity"
 
848
  msgstr ""
849
 
850
- #: includes/pricing-rules.php:3195
851
- msgid " any "
 
852
  msgstr ""
853
 
854
- #: includes/pricing-rules.php:3195
855
- msgid " products from "
 
856
  msgstr ""
857
 
858
- #: includes/pricing-rules.php:3202
859
- msgid " in each products"
 
860
  msgstr ""
861
 
862
- #: includes/pricing-rules.php:3214
863
- msgid " and get discount on "
 
864
  msgstr ""
865
 
866
- #: includes/pricing-rules.php:3217
867
- msgid " first "
 
868
  msgstr ""
869
 
870
- #: includes/pricing-rules.php:3219 includes/pricing-rules.php:3223
871
- msgid " quantity of product(s) - "
 
872
  msgstr ""
873
 
874
- #: includes/pricing-rules.php:3221
875
- msgid " after first "
 
876
  msgstr ""
877
 
878
- #: includes/pricing-rules.php:3239
879
- msgid "Category(ies) "
 
880
  msgstr ""
881
 
882
- #: includes/pricing-rules.php:3310
883
- msgid "Get "
 
884
  msgstr ""
885
 
886
- #: includes/pricing-rules.php:3312
887
- #, php-format
888
- msgid "% discount in "
889
  msgstr ""
890
 
891
- #: includes/pricing-rules.php:3315
892
- msgid "same product"
 
893
  msgstr ""
894
 
895
- #: includes/pricing-rules.php:3317
896
- msgid "any cheapest one from cart"
 
897
  msgstr ""
898
 
899
- #: includes/pricing-rules.php:3320
900
- msgid "any cheapest one of "
 
901
  msgstr ""
902
 
903
- #: includes/pricing-rules.php:3325
904
- msgid " quantity of any "
 
905
  msgstr ""
906
 
907
- #: includes/pricing-rules.php:3327
908
- msgid " cheapest item "
 
909
  msgstr ""
910
 
911
- #: includes/pricing-rules.php:3330
912
- msgid " quantity of cheapest item "
 
 
913
  msgstr ""
914
 
915
- #: includes/pricing-rules.php:3334
916
- msgid "from the category "
 
 
917
  msgstr ""
918
 
919
- #: includes/pricing-rules.php:3356
920
- #, php-format
921
- msgid "%s for %s Quantity(s)"
 
922
  msgstr ""
923
 
924
- #: includes/pricing-rules.php:3358
925
- #, php-format
926
- msgid "%s as price per unit"
 
927
  msgstr ""
928
 
929
- #: includes/survey.php:82
930
- msgid "Please select an option"
 
 
931
  msgstr ""
932
 
933
- #: includes/survey.php:85
934
- msgid "Sending Feedback"
 
 
935
  msgstr ""
936
 
937
- #: includes/survey.php:239
938
- msgid "Upgrading to PRO."
 
 
939
  msgstr ""
940
 
941
- #: includes/survey.php:243
942
- msgid "I am switching to a different discount plugin."
 
 
943
  msgstr ""
944
 
945
- #: includes/survey.php:247
946
- msgid "I could not get my discount rule to work."
 
947
  msgstr ""
948
 
949
- #: includes/survey.php:251
950
- msgid "It does not meet my discount requirements."
 
951
  msgstr ""
952
 
953
- #: includes/survey.php:255
954
- msgid "Plugin is complex."
 
955
  msgstr ""
956
 
957
- #: includes/survey.php:259
958
- msgid "I'm trying to troubleshoot the plugin."
 
959
  msgstr ""
960
 
961
- #: includes/survey.php:263
962
- msgid "I was instructed to deactivate by Flycart Support."
 
963
  msgstr ""
964
 
965
- #: includes/survey.php:267
966
- msgid "I no longer use this plugin."
 
967
  msgstr ""
968
 
969
- #: includes/survey.php:271
970
- msgid "It's a temporary deactivation."
 
 
 
971
  msgstr ""
972
 
973
- #: includes/survey.php:275
974
- msgid "Other"
 
975
  msgstr ""
976
 
977
- #: includes/survey.php:277
978
- msgid "Please share the reason"
 
979
  msgstr ""
980
 
981
- #: includes/survey.php:287
982
- msgid "Quick Feedback"
 
983
  msgstr ""
984
 
985
- #: includes/survey.php:288
986
- msgid "Close"
 
987
  msgstr ""
988
 
989
- #: includes/survey.php:296
990
- #, php-format
991
- msgid "If you have a moment, please share why you are deactivating %s:"
992
  msgstr ""
993
 
994
- #: includes/survey.php:297
995
- msgid "Discount Rules for WooCommerce"
 
996
  msgstr ""
997
 
998
- #: includes/survey.php:325
999
- msgid "Submit & Deactivate"
 
1000
  msgstr ""
1001
 
1002
- #: includes/survey.php:327
1003
- msgid "Skip & Deactivate"
 
1004
  msgstr ""
1005
 
1006
- #: view/cart-rules.php:48
1007
- msgid "Cart Rules"
 
 
1008
  msgstr ""
1009
 
1010
- #: view/cart-rules.php:52 view/pricing-rules.php:84
1011
- msgid "View Examples"
 
1012
  msgstr ""
1013
 
1014
- #: view/cart-rules.php:53 view/documentation.php:21 view/pricing-rules.php:85
1015
- msgid "Documentation"
 
1016
  msgstr ""
1017
 
1018
- #: view/cart-rules.php:63 view/pricing-rules.php:95
1019
- msgid "You Reach Max. Rule Limit"
 
1020
  msgstr ""
1021
 
1022
- #: view/cart-rules.php:68 view/pricing-rules.php:99
1023
- msgid "Add New Rule"
 
1024
  msgstr ""
1025
 
1026
- #: view/cart-rules.php:79 view/pricing-rules.php:109
1027
- msgid "Bulk Actions"
 
 
 
1028
  msgstr ""
1029
 
1030
- #: view/cart-rules.php:80 view/pricing-rules.php:110
1031
- msgid "Enable rules"
 
1032
  msgstr ""
1033
 
1034
- #: view/cart-rules.php:81 view/pricing-rules.php:111
1035
- msgid "Disable rules"
 
1036
  msgstr ""
1037
 
1038
- #: view/cart-rules.php:82 view/pricing-rules.php:112
1039
- msgid "Delete rules"
 
 
 
 
1040
  msgstr ""
1041
 
1042
- #: view/cart-rules.php:84 view/pricing-rules.php:114
1043
- msgid "Apply"
 
 
 
 
 
 
 
 
1044
  msgstr ""
1045
 
1046
- #: view/cart-rules.php:98 view/cart-rules.php:208 view/pricing-rules.php:128
1047
- #: view/pricing-rules.php:238 view/template/discount-table.php:36
1048
- msgid "Name"
1049
  msgstr ""
1050
 
1051
- #: view/cart-rules.php:99 view/cart-rules.php:209 view/pricing-rules.php:129
1052
- #: view/pricing-rules.php:239
1053
- msgid "Start Date"
 
 
 
 
 
 
1054
  msgstr ""
1055
 
1056
- #: view/cart-rules.php:100 view/cart-rules.php:210 view/pricing-rules.php:130
1057
- #: view/pricing-rules.php:240
1058
- msgid "Expired On"
1059
  msgstr ""
1060
 
1061
- #: view/cart-rules.php:101 view/cart-rules.php:211 view/pricing-rules.php:131
1062
- #: view/pricing-rules.php:241
1063
- msgid "Status"
1064
  msgstr ""
1065
 
1066
- #: view/cart-rules.php:104 view/cart-rules.php:214 view/pricing-rules.php:134
1067
- #: view/pricing-rules.php:244
1068
- msgid "Language"
 
 
1069
  msgstr ""
1070
 
1071
- #: view/cart-rules.php:109 view/cart-rules.php:219 view/pricing-rules.php:139
1072
- #: view/pricing-rules.php:249
1073
- msgid "Order"
 
 
1074
  msgstr ""
1075
 
1076
- #: view/cart-rules.php:181 view/pricing-rules.php:211
1077
- msgid "Edit"
 
1078
  msgstr ""
1079
 
1080
- #: view/cart-rules.php:192 view/pricing-rules.php:222
1081
- msgid "Delete"
 
 
 
1082
  msgstr ""
1083
 
1084
- #: view/documentation.php:28
1085
- msgid "Installation and Intro:"
 
1086
  msgstr ""
1087
 
1088
- #: view/documentation.php:30
1089
- msgid "Getting started"
 
1090
  msgstr ""
1091
 
1092
- #: view/documentation.php:30
1093
- msgid "Welcome onboard"
 
1094
  msgstr ""
1095
 
1096
- #: view/documentation.php:33
1097
- msgid "License Key activation"
 
 
1098
  msgstr ""
1099
 
1100
- #: view/documentation.php:33
1101
- msgid "Learn how to obtain the license key and activate it"
 
 
1102
  msgstr ""
1103
 
1104
- #: view/documentation.php:36
1105
- msgid "Version Updates!"
 
1106
  msgstr ""
1107
 
1108
- #: view/documentation.php:36
1109
- msgid "Learn how to update to latest versions"
 
 
1110
  msgstr ""
1111
 
1112
- #: view/documentation.php:39
1113
- msgid "Popular Discount Rules"
 
1114
  msgstr ""
1115
 
1116
- #: view/documentation.php:39
1117
- msgid "What type of discount scenarios are most commonly used"
 
1118
  msgstr ""
1119
 
1120
- #: view/documentation.php:43
1121
- msgid "Price rules/BOGO discounts:"
 
 
1122
  msgstr ""
1123
 
1124
- #: view/documentation.php:45
1125
- msgid "Bulk/Tiered pricing discounts"
 
1126
  msgstr ""
1127
 
1128
- #: view/documentation.php:45
1129
- msgid "Learn how to create bulk/tiered quantity discounts in WooCommerce"
 
1130
  msgstr ""
1131
 
1132
- #: view/documentation.php:48
1133
- msgid "How to create a perfect BOGO discount rule in WooCommerce"
 
 
 
 
1134
  msgstr ""
1135
 
1136
- #: view/documentation.php:48
1137
- msgid ""
1138
- "Buy One Get One deals can be simple to complex. Learn how to get them "
1139
- "working correct in your online store"
 
 
1140
  msgstr ""
1141
 
1142
- #: view/documentation.php:51
1143
- msgid "User Role based discount rules"
 
1144
  msgstr ""
1145
 
1146
- #: view/documentation.php:51
1147
- msgid ""
1148
- "Learn how to create user role based / customer group based discount in "
1149
- "WooCommerce"
1150
  msgstr ""
1151
 
1152
- #: view/documentation.php:54
1153
- msgid "Purchase History Based Discount"
 
1154
  msgstr ""
1155
 
1156
- #: view/documentation.php:54
1157
- msgid ""
1158
- "Price Rule and Cart Rule which gives discount based on the purchase history"
1159
  msgstr ""
1160
 
1161
- #: view/documentation.php:57
1162
- msgid "Coupon code based discounts"
 
1163
  msgstr ""
1164
 
1165
- #: view/documentation.php:57
1166
- msgid ""
1167
- "Apply the dynamic discount rules after the customer enters a valid coupon "
1168
- "code"
1169
  msgstr ""
1170
 
1171
- #: view/documentation.php:61
1172
- msgid "Cart Based Rules:"
 
 
1173
  msgstr ""
1174
 
1175
- #: view/documentation.php:63
1176
- msgid "Learn how to create a free shipping cart based rule"
 
 
1177
  msgstr ""
1178
 
1179
- #: view/documentation.php:66
1180
- msgid "Subtotal based - Tiered discounts"
 
1181
  msgstr ""
1182
 
1183
- #: view/documentation.php:66
1184
- msgid "Learn how to create tiered discount based on the subtotal value"
 
1185
  msgstr ""
1186
 
1187
- #: view/documentation.php:69
1188
- msgid "Free product discount"
 
1189
  msgstr ""
1190
 
1191
- #: view/documentation.php:69
1192
- msgid ""
1193
- "How to provide a automatic adding free product in cart under certain "
1194
- "conditions"
1195
  msgstr ""
1196
 
1197
- #: view/documentation.php:72
1198
- msgid "Category Combination"
 
1199
  msgstr ""
1200
 
1201
- #: view/documentation.php:72
1202
- msgid ""
1203
- "Category Combination (get discount only when Category A+ B + C are in the "
1204
- "cart)"
1205
  msgstr ""
1206
 
1207
- #: view/includes/cart-menu.php:9 view/includes/sub-menu.php:9
1208
- #: view/settings.php:38 view/view-cart-rules.php:65
1209
- #: view/view-pricing-rules.php:47
1210
- msgid "General"
1211
  msgstr ""
1212
 
1213
- #: view/includes/cart-menu.php:11
1214
- msgid "Conditions"
 
 
1215
  msgstr ""
1216
 
1217
- #: view/includes/cart-menu.php:13 view/includes/sub-menu.php:13
1218
- #: view/template/discount-table.php:42 view/view-cart-rules.php:756
1219
- #: view/view-pricing-rules.php:667
1220
- msgid "Discount"
1221
  msgstr ""
1222
 
1223
- #: view/includes/footer.php:7
1224
- msgid ""
1225
- "Having trouble in setting up the discount? Let us set up the rules for you "
1226
- "(for free)!"
 
1227
  msgstr ""
1228
 
1229
- #: view/includes/footer.php:7
1230
- msgid "Please contact our support team"
 
 
 
1231
  msgstr ""
1232
 
1233
- #: view/includes/header.php:14
1234
- #, php-format
1235
- msgid ""
1236
- "An another discount plugin %s is active. Please disable this plugin, Woo "
1237
- "Discount Rules might get conflict."
1238
  msgstr ""
1239
 
1240
- #: view/includes/menu.php:9
1241
- msgid "Price Discount Rules"
 
1242
  msgstr ""
1243
 
1244
- #: view/includes/menu.php:11
1245
- msgid "Cart Discount Rules"
 
1246
  msgstr ""
1247
 
1248
- #: view/includes/menu.php:17
1249
- msgid "Taxonomy Settings"
 
1250
  msgstr ""
1251
 
1252
- #: view/includes/menu.php:19
1253
- msgid "Read documentation"
 
1254
  msgstr ""
1255
 
1256
- #: view/includes/sub-menu.php:11
1257
- msgid "Condition"
 
 
1258
  msgstr ""
1259
 
1260
- #: view/pricing-rules.php:80
1261
- msgid "Price Rules"
 
1262
  msgstr ""
1263
 
1264
- #: view/settings.php:39
1265
- msgid "Price rules"
 
1266
  msgstr ""
1267
 
1268
- #: view/settings.php:40
1269
- msgid "Cart rules"
 
 
1270
  msgstr ""
1271
 
1272
- #: view/settings.php:41
1273
- msgid "Performance"
 
 
1274
  msgstr ""
1275
 
1276
- #: view/settings.php:42
1277
- msgid "Promotion"
 
 
1278
  msgstr ""
1279
 
1280
- #: view/settings_cart_rules.php:8
1281
- msgid "Cart rules settings"
 
 
1282
  msgstr ""
1283
 
1284
- #: view/settings_cart_rules.php:15
1285
- msgid "Discount identifier in the backend"
 
1286
  msgstr ""
1287
 
1288
- #: view/settings_cart_rules.php:21
1289
- msgid "Discount Coupon Name"
 
1290
  msgstr ""
1291
 
1292
- #: view/settings_cart_rules.php:31
1293
- msgid "Coupon name to be used in the cart/checkout in the storefront"
 
1294
  msgstr ""
1295
 
1296
- #: view/settings_cart_rules.php:35
1297
- msgid "Discounts applied: {rule_name}"
 
1298
  msgstr ""
1299
 
1300
- #: view/settings_cart_rules.php:38
1301
- msgid ""
1302
- "- Rule name. If more than one rule applies in cart, then the rule names will "
1303
- "be shown separated by comma(,)"
1304
  msgstr ""
1305
 
1306
- #: view/settings_cart_rules.php:42
1307
- msgid "Eg: "
 
1308
  msgstr ""
1309
 
1310
- #: view/settings_cart_rules.php:53
1311
- msgid "Rule Setup for Cart:"
 
1312
  msgstr ""
1313
 
1314
- #: view/settings_cart_rules.php:59 view/settings_price_rules.php:32
1315
- msgid "Apply first matched rule"
 
1316
  msgstr ""
1317
 
1318
- #: view/settings_cart_rules.php:65 view/settings_cart_rules.php:67
1319
- #: view/settings_price_rules.php:38 view/settings_price_rules.php:40
1320
- msgid "Apply all matched rules"
 
1321
  msgstr ""
1322
 
1323
- #: view/settings_cart_rules.php:74 view/settings_cart_rules.php:76
1324
- #: view/settings_price_rules.php:47 view/settings_price_rules.php:49
1325
- msgid "Apply biggest discount"
 
1326
  msgstr ""
1327
 
1328
- #: view/settings_cart_rules.php:85
1329
- msgid "Enable free shipping option"
 
1330
  msgstr ""
1331
 
1332
- #: view/settings_cart_rules.php:92 view/settings_price_rules.php:313
1333
- #: view/view-pricing-rules.php:300 view/view-pricing-rules.php:357
1334
- #: view/view-pricing-rules.php:441 view/view-pricing-rules.php:489
1335
- #: view/view-pricing-rules.php:520
1336
- msgid "Supported in PRO version"
1337
  msgstr ""
1338
 
1339
- #: view/settings_cart_rules.php:105
1340
- msgid "Use Woocommerce free shipping"
 
1341
  msgstr ""
1342
 
1343
- #: view/settings_cart_rules.php:108
1344
- msgid "Use Woo-Discount free shipping"
 
 
1345
  msgstr ""
1346
 
1347
- #: view/settings_cart_rules.php:122
1348
- msgid "Free shipping text to be displayed"
 
 
1349
  msgstr ""
1350
 
1351
- #: view/settings_cart_rules.php:129
1352
- msgid "Free Shipping title"
 
 
1353
  msgstr ""
1354
 
1355
- #: view/settings_cart_rules.php:136
1356
- msgid "Draft"
 
 
1357
  msgstr ""
1358
 
1359
- #: view/settings_cart_rules.php:146
1360
- msgid "Exclude Draft products in product select box."
 
1361
  msgstr ""
1362
 
1363
- #: view/settings_general.php:6
1364
- msgid "General Settings"
 
1365
  msgstr ""
1366
 
1367
- #: view/settings_general.php:13
1368
- msgid "License Key :"
 
1369
  msgstr ""
1370
 
1371
- #: view/settings_general.php:19
1372
- msgid "Your Unique License Key"
 
1373
  msgstr ""
1374
 
1375
- #: view/settings_general.php:20
1376
- msgid "Validate Key"
 
1377
  msgstr ""
1378
 
1379
- #: view/settings_general.php:44
1380
- msgid "Tip: Install pro package before validating the licence"
 
1381
  msgstr ""
1382
 
1383
- #: view/settings_general.php:52
1384
- msgid "Enable dropdowns (applies only for the rule engine in the backend.)"
 
1385
  msgstr ""
1386
 
1387
- #: view/settings_general.php:57 view/settings_general.php:74
1388
- #: view/settings_general.php:108 view/settings_performance.php:21
1389
- #: view/settings_price_rules.php:86 view/settings_price_rules.php:98
1390
- #: view/settings_price_rules.php:110 view/settings_price_rules.php:151
1391
- msgid "Yes"
1392
  msgstr ""
1393
 
1394
- #: view/settings_general.php:58 view/settings_general.php:75
1395
- #: view/settings_general.php:109 view/settings_performance.php:22
1396
- #: view/settings_price_rules.php:87 view/settings_price_rules.php:99
1397
- #: view/settings_price_rules.php:111 view/settings_price_rules.php:152
1398
- msgid "No"
1399
  msgstr ""
1400
 
1401
- #: view/settings_general.php:61
1402
- msgid ""
1403
- "Disabling this setting may affect dropdowns in rule engine (Disabling this "
1404
- "setting is not recommended). Change this only if you know what you are doing."
1405
  msgstr ""
1406
 
1407
- #: view/settings_general.php:69
1408
- msgid "Force refresh the cart widget while add and remove item to cart"
 
1409
  msgstr ""
1410
 
1411
- #: view/settings_general.php:81
1412
- msgid ""
1413
- "Choose how discount rules should work when WooCommerce coupons (or third "
1414
- "party) coupons are used?"
1415
  msgstr ""
1416
 
1417
- #: view/settings_general.php:88
1418
- msgid "Let both coupons and discount rules run together"
 
1419
  msgstr ""
1420
 
1421
- #: view/settings_general.php:91
1422
- msgid "Disable the discount rules (coupons will work)"
 
 
1423
  msgstr ""
1424
 
1425
- #: view/settings_general.php:94
1426
- msgid "Disable the coupons (discount rules will work)"
 
 
1427
  msgstr ""
1428
 
1429
- #: view/settings_general.php:103
1430
- msgid ""
1431
- "Hide $0.00 (zero value) of coupon codes in the totals column. Useful when a "
1432
- "coupon used with discount rule conditions"
1433
  msgstr ""
1434
 
1435
- #: view/settings_performance.php:8
1436
- msgid "Performance settings"
 
1437
  msgstr ""
1438
 
1439
- #: view/settings_performance.php:16
1440
- msgid "Enable cache for variable products table content"
 
 
1441
  msgstr ""
1442
 
1443
- #: view/settings_performance.php:28 view/settings_performance.php:32
1444
- msgid "Clear cache"
 
 
1445
  msgstr ""
1446
 
1447
- #: view/settings_price_rules.php:8
1448
- msgid "Price rules settings"
 
1449
  msgstr ""
1450
 
1451
- #: view/settings_price_rules.php:14
1452
- msgid "Rule setup"
 
1453
  msgstr ""
1454
 
1455
- #: view/settings_price_rules.php:15
1456
- msgid "Display"
 
1457
  msgstr ""
1458
 
1459
- #: view/settings_price_rules.php:16
1460
- msgid "Offer table"
1461
- msgstr ""
1462
-
1463
- #: view/settings_price_rules.php:17
1464
- msgid "Sale badge"
1465
- msgstr ""
1466
-
1467
- #: view/settings_price_rules.php:26
1468
- msgid "Rule Setup"
1469
- msgstr ""
1470
-
1471
- #: view/settings_price_rules.php:58
1472
- msgid "Apply discount based on"
1473
- msgstr ""
1474
-
1475
- #: view/settings_price_rules.php:65
1476
- msgid "Sale price"
1477
- msgstr ""
1478
-
1479
- #: view/settings_price_rules.php:68
1480
- msgid "Regular price"
1481
- msgstr ""
1482
-
1483
- #: view/settings_price_rules.php:73
1484
- msgid ""
1485
- "If sale price is not entered in your products, the regular price will be "
1486
- "taken"
1487
- msgstr ""
1488
-
1489
- #: view/settings_price_rules.php:81
1490
- msgid ""
1491
- "Auto add free product when coupon is applied (For coupon-activated rules)"
1492
- msgstr ""
1493
-
1494
- #: view/settings_price_rules.php:93
1495
- msgid ""
1496
- "Auto add free product when checkout fields changed (For purchase history "
1497
- "rules)"
1498
- msgstr ""
1499
-
1500
- #: view/settings_price_rules.php:105
1501
- msgid "Include variants when just parent products are chosen in the rules"
1502
- msgstr ""
1503
-
1504
- #: view/settings_price_rules.php:122
1505
- msgid "Show Price discount on product pages :"
1506
- msgstr ""
1507
-
1508
- #: view/settings_price_rules.php:128
1509
- msgid "Show when a rule condition is matched"
1510
- msgstr ""
1511
-
1512
- #: view/settings_price_rules.php:131
1513
- msgid "Show after a rule condition is matched"
1514
- msgstr ""
1515
-
1516
- #: view/settings_price_rules.php:134
1517
- msgid "Shown on quantity update (dynamic)"
1518
- msgstr ""
1519
-
1520
- #: view/settings_price_rules.php:137 view/settings_price_rules.php:211
1521
- #: view/settings_price_rules.php:229 view/settings_price_rules.php:247
1522
- #: view/settings_price_rules.php:265
1523
- msgid "Don't Show"
1524
- msgstr ""
1525
-
1526
- #: view/settings_price_rules.php:146
1527
- msgid ""
1528
- "Show a crossed-out original price along with discounted price at line items "
1529
- "in cart"
1530
- msgstr ""
1531
-
1532
- #: view/settings_price_rules.php:163
1533
- msgid "Discount Table :"
1534
  msgstr ""
1535
 
1536
- #: view/settings_price_rules.php:172
1537
- msgid "Default layout"
 
1538
  msgstr ""
1539
 
1540
- #: view/settings_price_rules.php:175
1541
- msgid "Advance layout"
 
1542
  msgstr ""
1543
 
1544
- #: view/settings_price_rules.php:184
1545
- msgid "Table placement:"
 
1546
  msgstr ""
1547
 
1548
- #: view/settings_price_rules.php:190
1549
- msgid "Before cart form"
 
 
 
 
1550
  msgstr ""
1551
 
1552
- #: view/settings_price_rules.php:193
1553
- msgid "After cart form"
 
1554
  msgstr ""
1555
 
1556
- #: view/settings_price_rules.php:202
 
1557
  msgid "Table header :"
1558
  msgstr ""
1559
 
1560
- #: view/settings_price_rules.php:220
1561
- msgid "Title column on table :"
1562
- msgstr ""
1563
-
1564
- #: view/settings_price_rules.php:238
1565
- msgid "Range column on table :"
1566
- msgstr ""
1567
-
1568
- #: view/settings_price_rules.php:256
1569
- msgid "Discount column on table :"
1570
- msgstr ""
1571
-
1572
- #: view/settings_price_rules.php:278
1573
- msgid "Show a Sale badge on product pages :"
1574
- msgstr ""
1575
-
1576
- #: view/settings_price_rules.php:284
1577
- msgid "Do not show"
1578
- msgstr ""
1579
-
1580
- #: view/settings_price_rules.php:287
1581
- msgid "Show only after a rule condition is matched exactly"
1582
- msgstr ""
1583
-
1584
- #: view/settings_price_rules.php:290
1585
- msgid ""
1586
- "Show on products that are covered under any price based discount rule in the "
1587
- "plugin"
1588
- msgstr ""
1589
-
1590
- #: view/settings_price_rules.php:301
1591
- msgid "Do you want to customize the sale badge?"
1592
- msgstr ""
1593
-
1594
- #: view/settings_price_rules.php:308
1595
- msgid "Yes, I would like to customize the sale badge"
1596
- msgstr ""
1597
-
1598
- #: view/settings_price_rules.php:310
1599
- msgid ""
1600
- "Force override the label for sale badge (useful when your theme has override "
1601
- "for sale badge)."
1602
- msgstr ""
1603
-
1604
- #: view/settings_price_rules.php:325
1605
- msgid "Sale badge content (TIP: You can use HTML inside)"
1606
- msgstr ""
1607
-
1608
- #: view/settings_price_rules.php:332
1609
- msgid ""
1610
- "IMPORTANT NOTE: This customized sale badge will be applicable only for "
1611
- "products that are part of the discount rules configured in this plugin"
1612
- msgstr ""
1613
-
1614
- #: view/settings_price_rules.php:336
1615
- msgid "Eg:"
1616
- msgstr ""
1617
-
1618
- #: view/settings_promotion.php:8
1619
- msgid "Promotion settings"
1620
- msgstr ""
1621
-
1622
- #: view/settings_promotion.php:16
1623
- msgid "Display savings text (for price rules)"
1624
- msgstr ""
1625
-
1626
- #: view/settings_promotion.php:25
1627
- msgid "On each line item"
1628
- msgstr ""
1629
-
1630
- #: view/settings_promotion.php:28
1631
- msgid "On after total"
1632
- msgstr ""
1633
-
1634
- #: view/settings_promotion.php:31
1635
- msgid "Both in line item and after total"
1636
- msgstr ""
1637
-
1638
- #: view/settings_promotion.php:39
1639
- msgid "Savings text to show"
1640
- msgstr ""
1641
-
1642
- #: view/settings_promotion.php:47
1643
- msgid "{{total_discount_price}} -> Total discount applied"
1644
- msgstr ""
1645
-
1646
- #: view/settings_promotion.php:55
1647
- msgid "Show a message on applying price rules in cart"
1648
- msgstr ""
1649
-
1650
- #: view/settings_promotion.php:73 view/settings_promotion.php:108
1651
- #: view/view-cart-rules.php:730
1652
- msgid "Message"
1653
- msgstr ""
1654
-
1655
- #: view/settings_promotion.php:81 view/settings_promotion.php:116
1656
- msgid "{{title}} -> Rule title"
1657
- msgstr ""
1658
-
1659
- #: view/settings_promotion.php:82 view/settings_promotion.php:117
1660
- msgid "{{description}} -> Rule description"
1661
- msgstr ""
1662
-
1663
- #: view/settings_promotion.php:90
1664
- msgid "Show a message on applying cart rules in cart"
1665
- msgstr ""
1666
-
1667
- #: view/settings_promotion.php:125
1668
- msgid ""
1669
- "Subtotal based promo text (available only in cart rules -> subtotal based "
1670
- "discounts)"
1671
- msgstr ""
1672
-
1673
- #: view/settings_promotion.php:134
1674
- msgid "Shop page"
1675
- msgstr ""
1676
-
1677
- #: view/settings_promotion.php:137
1678
- msgid "Product page"
1679
- msgstr ""
1680
-
1681
- #: view/settings_promotion.php:140
1682
- msgid "Cart page"
1683
  msgstr ""
1684
 
1685
- #: view/settings_promotion.php:143
1686
- msgid "Checkout page"
 
1687
  msgstr ""
1688
 
1689
- #: view/settings_taxonomy.php:32
1690
- msgid ""
1691
- "Choose taxonomies that can be supported in the discount rules (as categories)"
1692
  msgstr ""
1693
 
1694
- #: view/settings_taxonomy.php:36
1695
- msgid ""
1696
- "Useful when you want to provide a taxonomy based discount. The selected "
1697
- "taxonomies here will be available as categories. So you can use the category "
1698
- "specific discount condition to create discounts based on taxonomies.\n"
1699
- "More examples can be found in the documentation"
1700
  msgstr ""
1701
 
1702
- #: view/template/discount-table.php:23
1703
- msgid "Hide table"
1704
- msgstr ""
1705
-
1706
- #: view/template/discount-table.php:25
1707
  msgid "This effect displays only for you (Admin)"
1708
  msgstr ""
1709
 
1710
- #: view/template/discount-table.php:39
1711
- msgid "Range"
1712
- msgstr ""
1713
-
1714
- #: view/template/discount-table.php:74
1715
- msgid "No Active Discounts."
1716
- msgstr ""
1717
-
1718
- #: view/template/loop/sale-flash.php:23
1719
- #: view/template/single-product/sale-flash.php:23
1720
- msgid "Sale!"
1721
- msgstr ""
1722
-
1723
- #: view/template/sidebar.php:7
1724
- msgid "Looking for more features? Upgrade to PRO"
1725
- msgstr ""
1726
-
1727
- #: view/template/sidebar.php:19
1728
- msgid "With PRO version, you can create:"
1729
  msgstr ""
1730
 
1731
- #: view/template/sidebar.php:20
1732
- msgid "- Categories based discounts"
 
1733
  msgstr ""
1734
 
1735
- #: view/template/sidebar.php:21
1736
- msgid "- User roles based discounts"
 
1737
  msgstr ""
1738
 
1739
- #: view/template/sidebar.php:22
1740
- msgid "- Buy One Get One Free deals"
 
1741
  msgstr ""
1742
 
1743
- #: view/template/sidebar.php:23
1744
- msgid "- Buy X Get Y deals"
 
1745
  msgstr ""
1746
 
1747
- #: view/template/sidebar.php:24
1748
- #, php-format
1749
- msgid "- Buy 2, get 1 at 50% discount"
1750
  msgstr ""
1751
 
1752
- #: view/template/sidebar.php:25
1753
- msgid "- Buy 3 for $10 (Package / Bundle [Set] Discount)"
 
1754
  msgstr ""
1755
 
1756
- #: view/template/sidebar.php:26
1757
- msgid "- Different discounts with one coupon code"
 
1758
  msgstr ""
1759
 
1760
- #: view/template/sidebar.php:27
1761
- msgid "- Purchase history based discounts"
 
1762
  msgstr ""
1763
 
1764
- #: view/template/sidebar.php:28
1765
- msgid "- Free product / gift"
 
1766
  msgstr ""
1767
 
1768
- #: view/template/sidebar.php:29
1769
- msgid "- Discount for variants"
 
1770
  msgstr ""
1771
 
1772
- #: view/template/sidebar.php:30
1773
- msgid "- Conditional discounts"
 
1774
  msgstr ""
1775
 
1776
- #: view/template/sidebar.php:31
1777
- msgid "- Fixed cost discounts"
 
1778
  msgstr ""
1779
 
1780
- #: view/template/sidebar.php:32
1781
- msgid "- Offer fixed price on certain conditions"
 
1782
  msgstr ""
1783
 
1784
- #: view/view-cart-rules.php:56 view/view-pricing-rules.php:38
1785
- msgid "Close and go back to list"
 
1786
  msgstr ""
1787
 
1788
- #: view/view-cart-rules.php:60
1789
- msgid "New Cart Rule"
 
1790
  msgstr ""
1791
 
1792
- #: view/view-cart-rules.php:62
1793
- msgid "Edit Cart Rule"
 
1794
  msgstr ""
1795
 
1796
- #: view/view-cart-rules.php:75 view/view-pricing-rules.php:57
1797
- msgid "This rule is not running currently: "
 
1798
  msgstr ""
1799
 
1800
- #: view/view-cart-rules.php:84 view/view-pricing-rules.php:66
1801
- msgid "Priority :"
 
1802
  msgstr ""
1803
 
1804
- #: view/view-cart-rules.php:86
1805
- msgid ""
1806
- "The Simple Ranking concept to said, which one is going to execute first and "
1807
- "so on."
1808
  msgstr ""
1809
 
1810
- #: view/view-cart-rules.php:98 view/view-pricing-rules.php:81
1811
- msgid "Rule Name"
 
 
1812
  msgstr ""
1813
 
1814
- #: view/view-cart-rules.php:100 view/view-cart-rules.php:112
1815
- #: view/view-pricing-rules.php:95
1816
- msgid "Rule Descriptions."
 
1817
  msgstr ""
1818
 
1819
- #: view/view-cart-rules.php:105 view/view-pricing-rules.php:89
1820
- msgid "ex. Standard Rule."
 
1821
  msgstr ""
1822
 
1823
- #: view/view-cart-rules.php:110 view/view-pricing-rules.php:94
1824
- msgid "Rule Description"
 
1825
  msgstr ""
1826
 
1827
- #: view/view-cart-rules.php:121 view/view-pricing-rules.php:130
 
 
1828
  msgid "Validity"
1829
  msgstr ""
1830
 
1831
- #: view/view-cart-rules.php:122 view/view-pricing-rules.php:131
1832
- msgid "Period of Rule Active. Format: month/day/Year Hour:Min"
 
 
 
1833
  msgstr ""
1834
 
1835
- #: view/view-cart-rules.php:135 view/view-pricing-rules.php:144
1836
- #: view/view-pricing-rules.php:611
1837
- msgid "From"
1838
  msgstr ""
1839
 
1840
- #: view/view-cart-rules.php:139
1841
- msgid "To"
 
 
1842
  msgstr ""
1843
 
1844
- #: view/view-cart-rules.php:140 view/view-pricing-rules.php:149
1845
- #, php-format
1846
- msgid "Current date and time: %s"
1847
  msgstr ""
1848
 
1849
- #: view/view-cart-rules.php:145 view/view-cart-rules.php:750
1850
- #: view/view-pricing-rules.php:183 view/view-pricing-rules.php:660
1851
- msgid "Next"
1852
  msgstr ""
1853
 
1854
- #: view/view-cart-rules.php:149
1855
- msgid "Cart Conditions"
 
1856
  msgstr ""
1857
 
1858
- #: view/view-cart-rules.php:152
1859
- msgid "Add Condition"
 
 
 
1860
  msgstr ""
1861
 
1862
- #: view/view-cart-rules.php:241
1863
- msgid "Categories In Cart"
 
 
 
 
 
 
 
 
1864
  msgstr ""
1865
 
1866
- #: view/view-cart-rules.php:295 view/view-cart-rules.php:297
1867
- msgid "Email with TLD (Eg: edu)"
 
1868
  msgstr ""
1869
 
1870
- #: view/view-cart-rules.php:713
1871
- msgid "Promotion message"
 
 
1872
  msgstr ""
1873
 
1874
- #: view/view-cart-rules.php:718
1875
- msgid "Subtotal from"
 
1876
  msgstr ""
1877
 
1878
- #: view/view-cart-rules.php:724
1879
- #, php-format
1880
- msgid ""
1881
- "Set a threshold from which you want to start showing the promotion "
1882
- "message<br>Example: Let's say, you offer a 10% discount for $1000 and "
1883
- "above. You may want to set 900 here. So that the customer can see the promo "
1884
- "text when his cart subtotal reaches 900"
1885
  msgstr ""
1886
 
1887
- #: view/view-cart-rules.php:735
1888
- #, php-format
1889
- msgid "Spend {{difference_amount}} more and get 10% discount"
 
1890
  msgstr ""
1891
 
1892
- #: view/view-cart-rules.php:737
1893
- msgid "{{difference_amount}} -> Difference amount to get discount"
 
 
 
 
1894
  msgstr ""
1895
 
1896
- #: view/view-cart-rules.php:738
1897
- #, php-format
1898
- msgid "<b>Eg:</b> Spend {{difference_amount}} more and get 10% discount"
1899
  msgstr ""
1900
 
1901
- #: view/view-cart-rules.php:749 view/view-cart-rules.php:846
1902
- #: view/view-pricing-rules.php:659 view/view-pricing-rules.php:964
1903
- msgid "Previous"
 
1904
  msgstr ""
1905
 
1906
- #: view/view-cart-rules.php:752
1907
- msgid "Guide to create cart rules"
 
 
1908
  msgstr ""
1909
 
1910
- #: view/view-cart-rules.php:772
1911
- msgid "Discount Type :"
 
 
1912
  msgstr ""
1913
 
1914
- #: view/view-cart-rules.php:791 view/view-cart-rules.php:793
1915
- msgid "Product Discount"
 
1916
  msgstr ""
1917
 
1918
- #: view/view-cart-rules.php:800 view/view-cart-rules.php:802
1919
- msgid "Free shipping"
 
1920
  msgstr ""
1921
 
1922
- #: view/view-cart-rules.php:811
 
1923
  msgid "value :"
1924
  msgstr ""
1925
 
1926
- #: view/view-cart-rules.php:819
1927
- msgid "Select products :"
1928
- msgstr ""
1929
-
1930
- #: view/view-cart-rules.php:833
1931
- msgid "Quantity :"
1932
- msgstr ""
1933
-
1934
- #: view/view-pricing-rules.php:42
1935
- msgid "New Price Rule"
1936
- msgstr ""
1937
-
1938
- #: view/view-pricing-rules.php:44
1939
- msgid "Edit Price Rule"
1940
- msgstr ""
1941
-
1942
- #: view/view-pricing-rules.php:67
1943
- msgid ""
1944
- "The Simple Ranking concept, which one is going to execute first and so on."
1945
- msgstr ""
1946
-
1947
- #: view/view-pricing-rules.php:82
1948
- msgid "Rule name / title."
1949
- msgstr ""
1950
-
1951
- #: view/view-pricing-rules.php:105
1952
- msgid "Method"
1953
- msgstr ""
1954
-
1955
- #: view/view-pricing-rules.php:106
1956
- msgid "Method to Apply."
1957
- msgstr ""
1958
-
1959
- #: view/view-pricing-rules.php:113
1960
- msgid ""
1961
- "Quantity / category / product / user role based discounts and BOGO deals "
1962
- msgstr ""
1963
-
1964
- #: view/view-pricing-rules.php:120 view/view-pricing-rules.php:122
1965
- msgid "Dependent / conditional based discount (by individual product)"
1966
- msgstr ""
1967
-
1968
- #: view/view-pricing-rules.php:148
1969
- msgid "To - Leave Empty if No Expiry"
1970
- msgstr ""
1971
-
1972
- #: view/view-pricing-rules.php:159
1973
- msgid "Format for advanced table display option (see plugin settings)"
1974
- msgstr ""
1975
-
1976
- #: view/view-pricing-rules.php:161
1977
- msgid "Used when advanced table display option is set in the plugin settings"
1978
- msgstr ""
1979
-
1980
- #: view/view-pricing-rules.php:164
1981
- msgid "Buy {{min_quantity}} or more quantity and get {{discount}} as discount"
1982
- msgstr ""
1983
-
1984
- #: view/view-pricing-rules.php:167
1985
- msgid "{{title}} -> Title"
1986
  msgstr ""
1987
 
1988
- #: view/view-pricing-rules.php:168
 
1989
  msgid "{{description}} -> Description"
1990
  msgstr ""
1991
 
1992
- #: view/view-pricing-rules.php:169
1993
- msgid "{{min_quantity}} -> Minimum quantity"
1994
- msgstr ""
1995
-
1996
- #: view/view-pricing-rules.php:170
1997
- msgid "{{max_quantity}} -> Maximum quantity"
1998
  msgstr ""
1999
 
2000
- #: view/view-pricing-rules.php:171
2001
- msgid "{{discount}} -> Discount"
 
2002
  msgstr ""
2003
 
2004
- #: view/view-pricing-rules.php:172
 
2005
  msgid "{{discounted_price}} -> Discounted price"
2006
  msgstr ""
2007
 
2008
- #: view/view-pricing-rules.php:173
2009
- msgid "{{condition}} -> Rule condition text"
2010
- msgstr ""
2011
-
2012
- #: view/view-pricing-rules.php:188
2013
- msgid "Discount Conditions"
2014
- msgstr ""
2015
-
2016
- #: view/view-pricing-rules.php:193
2017
- msgid "Apply To"
2018
- msgstr ""
2019
-
2020
- #: view/view-pricing-rules.php:199
2021
- msgid "All products"
2022
- msgstr ""
2023
-
2024
- #: view/view-pricing-rules.php:203
2025
- msgid "Specific products"
2026
- msgstr ""
2027
-
2028
- #: view/view-pricing-rules.php:209 view/view-pricing-rules.php:211
2029
- msgid "Specific categories"
2030
- msgstr ""
2031
-
2032
- #: view/view-pricing-rules.php:218 view/view-pricing-rules.php:220
2033
- msgid "Specific attributes"
2034
- msgstr ""
2035
-
2036
- #: view/view-pricing-rules.php:231
2037
- msgid ""
2038
- "Check this box to count item quantities in cart cumulatively across products"
2039
- msgstr ""
2040
-
2041
- #: view/view-pricing-rules.php:243
2042
- msgid "Check this box to count quantities cumulatively across category(ies)"
2043
- msgstr ""
2044
-
2045
- #: view/view-pricing-rules.php:246
2046
- msgid "Check this box to apply child category(ies)"
2047
- msgstr ""
2048
-
2049
- #: view/view-pricing-rules.php:260
2050
- msgid "Check this box to count quantities cumulatively across attribute"
2051
- msgstr ""
2052
-
2053
- #: view/view-pricing-rules.php:289
2054
- msgid "Exclude sale items"
2055
- msgstr ""
2056
-
2057
- #: view/view-pricing-rules.php:294
2058
- msgid "Check this box if the rule should not apply to items on sale."
2059
- msgstr ""
2060
-
2061
- #: view/view-pricing-rules.php:313
2062
- msgid "Customers"
2063
- msgstr ""
2064
-
2065
- #: view/view-pricing-rules.php:318 view/view-pricing-rules.php:632
2066
- msgid "All"
2067
- msgstr ""
2068
-
2069
- #: view/view-pricing-rules.php:325 view/view-pricing-rules.php:327
2070
- msgid "Only Given"
2071
- msgstr ""
2072
-
2073
- #: view/view-pricing-rules.php:341
2074
- msgid "User roles"
2075
- msgstr ""
2076
-
2077
- #: view/view-pricing-rules.php:346 view/view-pricing-rules.php:377
2078
- #: view/view-pricing-rules.php:464 view/view-pricing-rules.php:507
2079
- msgid "Do not use"
2080
- msgstr ""
2081
-
2082
- #: view/view-pricing-rules.php:368
2083
- msgid "Coupon"
2084
- msgstr ""
2085
-
2086
- #: view/view-pricing-rules.php:379
2087
- msgid "Apply if any one coupon applied (Select from WooCommerce)"
2088
- msgstr ""
2089
-
2090
- #: view/view-pricing-rules.php:380
2091
- msgid "Apply if all coupon applied (Select from WooCommerce)"
2092
- msgstr ""
2093
-
2094
- #: view/view-pricing-rules.php:431
2095
- msgid "Make sure you have created the coupon already"
2096
- msgstr ""
2097
-
2098
- #: view/view-pricing-rules.php:452
2099
- msgid "Subtotal"
2100
- msgstr ""
2101
-
2102
- #: view/view-pricing-rules.php:453
2103
- msgid "Applies for the whole cart subtotal (not recommended)."
2104
- msgstr ""
2105
-
2106
- #: view/view-pricing-rules.php:465
2107
- msgid "Subtotal atleast"
2108
- msgstr ""
2109
-
2110
- #: view/view-pricing-rules.php:470
2111
- msgid "Enter the amount"
2112
- msgstr ""
2113
-
2114
- #: view/view-pricing-rules.php:480
2115
- msgid "Supported in WooCommerce 3.x"
2116
- msgstr ""
2117
-
2118
- #: view/view-pricing-rules.php:603
2119
- msgid "Any"
2120
- msgstr ""
2121
-
2122
- #: view/view-pricing-rules.php:604
2123
- msgid "Each"
2124
- msgstr ""
2125
-
2126
- #: view/view-pricing-rules.php:605
2127
- msgid "Combine"
2128
- msgstr ""
2129
-
2130
- #: view/view-pricing-rules.php:608
2131
- msgid "More than or equal to"
2132
- msgstr ""
2133
-
2134
- #: view/view-pricing-rules.php:610
2135
- msgid "Equal"
2136
- msgstr ""
2137
-
2138
- #: view/view-pricing-rules.php:615
2139
- msgid "to"
2140
- msgstr ""
2141
-
2142
- #: view/view-pricing-rules.php:619
2143
- msgid "Product(s) from"
2144
- msgstr ""
2145
-
2146
- #: view/view-pricing-rules.php:625
2147
- msgid "Apply discount in product(s)"
2148
- msgstr ""
2149
-
2150
- #: view/view-pricing-rules.php:626
2151
- msgid "Apply discount in category(ies)"
2152
- msgstr ""
2153
-
2154
- #: view/view-pricing-rules.php:630
2155
- msgid "and get discount on "
2156
- msgstr ""
2157
-
2158
- #: view/view-pricing-rules.php:633
2159
- msgid "First quantity(s)"
2160
- msgstr ""
2161
-
2162
- #: view/view-pricing-rules.php:634
2163
- msgid "Skip first quantity(s)"
2164
- msgstr ""
2165
-
2166
- #: view/view-pricing-rules.php:639
2167
- msgid " Product(s) "
2168
- msgstr ""
2169
-
2170
- #: view/view-pricing-rules.php:643
2171
- msgid "Category(ies)"
2172
- msgstr ""
2173
-
2174
- #: view/view-pricing-rules.php:654
2175
- msgid "Guide for product dependent rules"
2176
- msgstr ""
2177
-
2178
- #: view/view-pricing-rules.php:670
2179
- msgid "Add New Range"
2180
- msgstr ""
2181
-
2182
- #: view/view-pricing-rules.php:675
2183
- msgid ""
2184
- "Bundle (Set) Discount should NOT be mixed with any other adjustment types "
2185
- "when adding ranges. Example: If your first range's adjustment type is Bundle "
2186
- "(Set) Discount, other ranges should also be same type."
2187
- msgstr ""
2188
-
2189
- #: view/view-pricing-rules.php:930
2190
- msgid ""
2191
- "<b>Example for Bundle (Set) Discount:</b> 3 for $10, 6 for $20<br>So "
2192
- "customer can add 3 products / quantities and get them for $10<br><b>NOTE:</"
2193
- "b> You will need to enter the entire package / bundle cost. Example: 10 (for "
2194
- "the 3 for $10 deal)"
2195
  msgstr ""
2196
 
2197
- #: view/view-pricing-rules.php:932 view/view-pricing-rules.php:942
2198
- msgid "Read docs"
 
2199
  msgstr ""
2200
 
2201
- #: view/view-pricing-rules.php:940
2202
- msgid ""
2203
- "<b>Example for Fixed Price Per Unit:</b> Product A cost is $20. If customers "
2204
- "buy 5 to 10, they can get at $15 each (per unit).<br>Customer adds 6 "
2205
- "quantities of Product A. The price per unit will reduce to $15<br><b>NOTE:</"
2206
- "b> Enter the Unit price like 15"
2207
  msgstr ""
2208
 
2209
- #: view/view-pricing-rules.php:947
2210
- msgid "Guide to create perfect BOGO rules"
 
2211
  msgstr ""
2212
 
2213
- #: view/view-pricing-rules.php:957
2214
- msgid "Percent"
 
2215
  msgstr ""
2216
 
2217
- #: view/view-pricing-rules.php:958
2218
- msgid "Fixed"
 
2219
  msgstr ""
11
  "Language: en\n"
12
  "X-Generator: Poedit 1.8.7.1\n"
13
 
14
+ #. Text in echo
15
+ #: woo-discount-rules/view/view-pricing-rules.php:682
16
+ msgid " Product(s) "
17
  msgstr ""
18
 
19
+ #. Text in echo
20
+ #: woo-discount-rules/view/template/sidebar.php:24
21
+ msgid "- Buy 2, get 1 at 50% discount"
22
  msgstr ""
23
 
24
+ #. Text in echo
25
+ #: woo-discount-rules/view/template/sidebar.php:25
26
+ msgid "- Buy 3 for $10 (Package / Bundle [Set] Discount)"
27
  msgstr ""
28
 
29
+ #. Text in echo
30
+ #: woo-discount-rules/view/template/sidebar.php:22
31
+ msgid "- Buy One Get One Free deals"
32
  msgstr ""
33
 
34
+ #. Text in echo
35
+ #: woo-discount-rules/view/template/sidebar.php:23
36
+ msgid "- Buy X Get Y deals"
37
  msgstr ""
38
 
39
+ #. Text in echo
40
+ #: woo-discount-rules/view/template/sidebar.php:20
41
+ msgid "- Categories based discounts"
42
  msgstr ""
43
 
44
+ #. Text in echo
45
+ #: woo-discount-rules/view/template/sidebar.php:30
46
+ msgid "- Conditional discounts"
47
  msgstr ""
48
 
49
+ #. Text in echo
50
+ #: woo-discount-rules/view/template/sidebar.php:26
51
+ msgid "- Different discounts with one coupon code"
52
  msgstr ""
53
 
54
+ #. Text in echo
55
+ #: woo-discount-rules/view/template/sidebar.php:29
56
+ msgid "- Discount for variants"
57
  msgstr ""
58
 
59
+ #. Text in echo
60
+ #: woo-discount-rules/view/template/sidebar.php:31
61
+ msgid "- Fixed cost discounts"
62
  msgstr ""
63
 
64
+ #. Text in echo
65
+ #: woo-discount-rules/view/template/sidebar.php:28
66
+ msgid "- Free product / gift"
67
  msgstr ""
68
 
69
+ #. Text in echo
70
+ #: woo-discount-rules/view/template/sidebar.php:32
71
+ msgid "- Offer fixed price on certain conditions"
72
  msgstr ""
73
 
74
+ #. Text in echo
75
+ #: woo-discount-rules/view/template/sidebar.php:27
76
+ msgid "- Purchase history based discounts"
77
  msgstr ""
78
 
79
+ #. Text in echo
80
+ #: woo-discount-rules/view/settings_cart_rules.php:38
81
+ msgid "- Rule name. If more than one rule applies in cart, then the rule names will be shown separated by comma(,)"
82
  msgstr ""
83
 
84
+ #. Text in echo
85
+ #: woo-discount-rules/view/template/sidebar.php:21
86
+ msgid "- User roles based discounts"
87
  msgstr ""
88
 
89
+ #. Text in echo
90
+ #: woo-discount-rules/view/view-pricing-rules.php:944
91
+ msgid "100% percent"
92
  msgstr ""
93
 
94
+ #. Text in echo
95
+ #: woo-discount-rules/view/view-cart-rules.php:738
96
+ msgid "<b>Eg:</b> Spend {{difference_amount}} more and get 10% discount"
97
  msgstr ""
98
 
99
+ #. Text in function
100
+ #: woo-discount-rules/view/view-pricing-rules.php:973
101
+ msgid "<b>Example for Bundle (Set) Discount:</b> 3 for $10, 6 for $20<br>So customer can add 3 products / quantities and get them for $10<br><b>NOTE:</b> You will need to enter the entire package / bundle cost. Example: 10 (for the 3 for $10 deal)"
102
  msgstr ""
103
 
104
+ #. Text in function
105
+ #: woo-discount-rules/view/view-pricing-rules.php:983
106
+ msgid "<b>Example for Fixed Price Per Unit:</b> Product A cost is $20. If customers buy 5 to 10, they can get at $15 each (per unit).<br>Customer adds 6 quantities of Product A. The price per unit will reduce to $15<br><b>NOTE:</b> Enter the Unit price like 15"
107
  msgstr ""
108
 
109
+ #. Text in echo
110
+ #: woo-discount-rules/view/cart-rules.php:224
111
+ #: woo-discount-rules/view/pricing-rules.php:254
112
+ #: woo-discount-rules/view/view-cart-rules.php:700
113
+ msgid "Action"
114
  msgstr ""
115
 
116
+ #. Text in function
117
+ #: woo-discount-rules/view/cart-rules.php:159
118
+ #: woo-discount-rules/view/pricing-rules.php:189
119
+ msgid "Active"
120
  msgstr ""
121
 
122
+ #. Text in echo
123
+ #: woo-discount-rules/view/view-cart-rules.php:152
124
+ msgid "Add Condition"
125
  msgstr ""
126
 
127
+ #. Text in echo
128
+ #: woo-discount-rules/view/cart-rules.php:68
129
+ #: woo-discount-rules/view/pricing-rules.php:99
130
+ msgid "Add New Rule"
131
  msgstr ""
132
 
133
+ #. Text in echo
134
+ #: woo-discount-rules/view/view-pricing-rules.php:713
135
+ msgid "Add quantity ranges"
136
  msgstr ""
137
 
138
+ #. Text in echo
139
+ #: woo-discount-rules/view/view-pricing-rules.php:754
140
+ msgid "Adjustment Type"
141
  msgstr ""
142
 
143
+ #. Text in echo
144
+ #: woo-discount-rules/view/settings_price_rules.php:175
145
+ msgid "Advance layout"
146
  msgstr ""
147
 
148
+ #. Text in echo
149
+ #: woo-discount-rules/view/settings_price_rules.php:193
150
+ msgid "After cart form"
151
  msgstr ""
152
 
153
+ #. Text in echo
154
+ #: woo-discount-rules/view/view-pricing-rules.php:339
155
+ #: woo-discount-rules/view/view-pricing-rules.php:675
156
+ msgid "All"
157
  msgstr ""
158
 
159
+ #. Text in echo
160
+ #: woo-discount-rules/view/view-pricing-rules.php:202
161
+ msgid "All products"
 
 
162
  msgstr ""
163
 
164
+ #. Text in echo
165
+ #: woo-discount-rules/view/view-cart-rules.php:443
166
+ #: woo-discount-rules/view/view-cart-rules.php:445
167
+ msgid "All selected (Select from WooCommerce)"
168
  msgstr ""
169
 
170
+ #. Text in function
171
+ #: woo-discount-rules/view/includes/header.php:14
172
+ msgid "An another discount plugin %s is active. Please disable this plugin, Woo Discount Rules might get conflict."
173
  msgstr ""
174
 
175
+ #. Text in echo
176
+ #: woo-discount-rules/view/view-pricing-rules.php:646
177
+ msgid "Any"
178
  msgstr ""
179
 
180
+ #. Text in echo
181
+ #: woo-discount-rules/view/cart-rules.php:84
182
+ #: woo-discount-rules/view/pricing-rules.php:114
183
+ msgid "Apply"
184
  msgstr ""
185
 
186
+ #. Text in echo
187
+ #: woo-discount-rules/view/view-pricing-rules.php:193
188
+ msgid "Apply To"
189
  msgstr ""
190
 
191
+ #. Text in echo
192
+ #: woo-discount-rules/view/settings_cart_rules.php:65
193
+ #: woo-discount-rules/view/settings_cart_rules.php:67
194
+ #: woo-discount-rules/view/settings_price_rules.php:38
195
+ #: woo-discount-rules/view/settings_price_rules.php:40
196
+ msgid "Apply all matched rules"
197
  msgstr ""
198
 
199
+ #. Text in echo
200
+ #: woo-discount-rules/view/settings_cart_rules.php:74
201
+ #: woo-discount-rules/view/settings_cart_rules.php:76
202
+ #: woo-discount-rules/view/settings_price_rules.php:47
203
+ #: woo-discount-rules/view/settings_price_rules.php:49
204
+ msgid "Apply biggest discount"
205
  msgstr ""
206
 
207
+ #. Text in echo
208
+ #: woo-discount-rules/view/settings_price_rules.php:58
209
+ msgid "Apply discount based on"
210
  msgstr ""
211
 
212
+ #. Text in echo
213
+ #: woo-discount-rules/view/view-pricing-rules.php:669
214
+ msgid "Apply discount in category(ies)"
215
  msgstr ""
216
 
217
+ #. Text in echo
218
+ #: woo-discount-rules/view/view-pricing-rules.php:668
219
+ msgid "Apply discount in product(s)"
220
  msgstr ""
221
 
222
+ #. Text in echo
223
+ #: woo-discount-rules/view/settings_cart_rules.php:59
224
+ #: woo-discount-rules/view/settings_price_rules.php:32
225
+ msgid "Apply first matched rule"
226
  msgstr ""
227
 
228
+ #. Text in echo
229
+ #: woo-discount-rules/view/view-pricing-rules.php:413
230
+ msgid "Apply if all coupon applied (Select from WooCommerce)"
231
  msgstr ""
232
 
233
+ #. Text in echo
234
+ #: woo-discount-rules/view/view-pricing-rules.php:412
235
+ msgid "Apply if any one coupon applied (Select from WooCommerce)"
236
  msgstr ""
237
 
238
+ #. Text in function
239
+ #: woo-discount-rules/view/documentation.php:57
240
+ msgid "Apply the dynamic discount rules after the customer enters a valid coupon code"
241
  msgstr ""
242
 
243
+ #. Text in echo
244
+ #: woo-discount-rules/view/view-cart-rules.php:433
245
+ #: woo-discount-rules/view/view-cart-rules.php:435
246
+ msgid "Atleast any one (Select from WooCommerce)"
247
  msgstr ""
248
 
249
+ #. Text in echo
250
+ #: woo-discount-rules/view/view-pricing-rules.php:872
251
+ msgid "Auto add all selected products"
252
  msgstr ""
253
 
254
+ #. Text in echo
255
+ #: woo-discount-rules/view/view-pricing-rules.php:878
256
+ msgid "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"
257
  msgstr ""
258
 
259
+ #. Text in echo
260
+ #: woo-discount-rules/view/settings_price_rules.php:93
261
+ msgid "Auto add free product when checkout fields changed (For purchase history rules)"
262
  msgstr ""
263
 
264
+ #. Text in echo
265
+ #: woo-discount-rules/view/settings_price_rules.php:81
266
+ msgid "Auto add free product when coupon is applied (For coupon-activated rules)"
267
  msgstr ""
268
 
269
+ #. Text in echo
270
+ #: woo-discount-rules/view/settings_price_rules.php:190
271
+ msgid "Before cart form"
272
  msgstr ""
273
 
274
+ #. Text in echo
275
+ #: woo-discount-rules/view/view-cart-rules.php:317
276
+ #: woo-discount-rules/view/view-cart-rules.php:319
277
+ msgid "Billing city"
278
  msgstr ""
279
 
280
+ #. Text in echo
281
+ #: woo-discount-rules/view/settings_promotion.php:31
282
+ msgid "Both in line item and after total"
283
  msgstr ""
284
 
285
+ #. Text in echo
286
+ #: woo-discount-rules/view/cart-rules.php:79
287
+ #: woo-discount-rules/view/pricing-rules.php:109
288
+ msgid "Bulk Actions"
289
  msgstr ""
290
 
291
+ #. Text in function
292
+ #: woo-discount-rules/view/documentation.php:45
293
+ msgid "Bulk/Tiered pricing discounts"
294
  msgstr ""
295
 
296
+ #. Text in echo
297
+ #: woo-discount-rules/view/view-pricing-rules.php:788
298
+ #: woo-discount-rules/view/view-pricing-rules.php:790
299
+ msgid "Bundle (Set) Discount"
 
300
  msgstr ""
301
 
302
+ #. Text in echo
303
+ #: woo-discount-rules/view/view-pricing-rules.php:644
304
+ msgid "Buy"
305
  msgstr ""
306
 
307
+ #. Text in function
308
+ #: woo-discount-rules/view/documentation.php:48
309
+ msgid "Buy One Get One deals can be simple to complex. Learn how to get them working correct in your online store"
310
  msgstr ""
311
 
312
+ #. Text in echo
313
+ #: woo-discount-rules/view/view-pricing-rules.php:798
314
+ #: woo-discount-rules/view/view-pricing-rules.php:800
315
+ msgid "Buy X get X (Same product)"
316
  msgstr ""
317
 
318
+ #. Text in echo
319
+ #: woo-discount-rules/view/view-pricing-rules.php:808
320
+ #: woo-discount-rules/view/view-pricing-rules.php:810
321
+ msgid "Buy X get Y (Auto add all selected products)"
322
  msgstr ""
323
 
324
+ #. Text in echo
325
+ #: woo-discount-rules/view/view-pricing-rules.php:164
326
+ msgid "Buy {{min_quantity}} or more quantity and get {{discount}} as discount"
327
  msgstr ""
328
 
329
+ #. Text in echo
330
+ #: woo-discount-rules/view/documentation.php:61
331
+ msgid "Cart Based Rules:"
332
  msgstr ""
333
 
334
+ #. Text in echo
335
+ #: woo-discount-rules/view/view-cart-rules.php:149
336
+ msgid "Cart Conditions"
 
337
  msgstr ""
338
 
339
+ #. Text in echo
340
+ #: woo-discount-rules/view/includes/menu.php:11
341
+ msgid "Cart Discount Rules"
342
  msgstr ""
343
 
344
+ #. Text in echo
345
+ #: woo-discount-rules/view/view-cart-rules.php:186
346
+ msgid "Cart Item Count"
347
  msgstr ""
348
 
349
+ #. Text in echo
350
+ #: woo-discount-rules/view/cart-rules.php:48
351
+ msgid "Cart Rules"
352
  msgstr ""
353
 
354
+ #. Text in echo
355
+ #: woo-discount-rules/view/view-cart-rules.php:176
356
+ msgid "Cart Subtotal"
357
  msgstr ""
358
 
359
+ #. Text in echo
360
+ #: woo-discount-rules/view/settings_promotion.php:140
361
+ msgid "Cart page"
362
  msgstr ""
363
 
364
+ #. Text in echo
365
+ #: woo-discount-rules/view/settings.php:40
366
+ msgid "Cart rules"
367
  msgstr ""
368
 
369
+ #. Text in echo
370
+ #: woo-discount-rules/view/settings_cart_rules.php:8
371
+ msgid "Cart rules settings"
372
  msgstr ""
373
 
374
+ #. Text in echo
375
+ #: woo-discount-rules/view/view-cart-rules.php:241
376
+ msgid "Categories In Cart"
377
  msgstr ""
378
 
379
+ #. Text in echo
380
+ #: woo-discount-rules/view/view-cart-rules.php:246
381
+ msgid "Categories in cart"
382
  msgstr ""
383
 
384
+ #. Text in function
385
+ #: woo-discount-rules/view/documentation.php:72
386
+ msgid "Category Combination"
387
  msgstr ""
388
 
389
+ #. Text in function
390
+ #: woo-discount-rules/view/documentation.php:72
391
+ msgid "Category Combination (get discount only when Category A+ B + C are in the cart)"
392
  msgstr ""
393
 
394
+ #. Text in echo
395
+ #: woo-discount-rules/view/view-pricing-rules.php:686
396
+ msgid "Category(ies)"
397
  msgstr ""
398
 
399
+ #. Text in echo
400
+ #: woo-discount-rules/view/view-pricing-rules.php:838
401
+ #: woo-discount-rules/view/view-pricing-rules.php:840
402
+ #: woo-discount-rules/view/view-pricing-rules.php:876
403
+ msgid "Cheapest among all items in cart"
404
  msgstr ""
405
 
406
+ #. Text in echo
407
+ #: woo-discount-rules/view/view-pricing-rules.php:828
408
+ #: woo-discount-rules/view/view-pricing-rules.php:830
409
+ #: woo-discount-rules/view/view-pricing-rules.php:874
410
+ msgid "Cheapest in cart - selected category(ies)"
411
  msgstr ""
412
 
413
+ #. Text in echo
414
+ #: woo-discount-rules/view/view-pricing-rules.php:818
415
+ #: woo-discount-rules/view/view-pricing-rules.php:820
416
+ #: woo-discount-rules/view/view-pricing-rules.php:875
417
+ msgid "Cheapest in cart - selected item(s)"
418
  msgstr ""
419
 
420
+ #. Text in echo
421
+ #: woo-discount-rules/view/view-pricing-rules.php:309
422
+ msgid "Check this box if the rule should not apply to items on sale."
 
423
  msgstr ""
424
 
425
+ #. Text in echo
426
+ #: woo-discount-rules/view/view-pricing-rules.php:249
427
+ msgid "Check this box to apply child category(ies)"
428
  msgstr ""
429
 
430
+ #. Text in echo
431
+ #: woo-discount-rules/view/view-pricing-rules.php:234
432
+ msgid "Check this box to count item quantities in cart cumulatively across products"
433
  msgstr ""
434
 
435
+ #. Text in echo
436
+ #: woo-discount-rules/view/view-pricing-rules.php:263
437
+ msgid "Check this box to count quantities cumulatively across attribute"
438
  msgstr ""
439
 
440
+ #. Text in echo
441
+ #: woo-discount-rules/view/view-pricing-rules.php:246
442
+ msgid "Check this box to count quantities cumulatively across category(ies)"
443
  msgstr ""
444
 
445
+ #. Text in echo
446
+ #: woo-discount-rules/view/settings_promotion.php:143
447
+ msgid "Checkout page"
448
  msgstr ""
449
 
450
+ #. Text in echo
451
+ #: woo-discount-rules/view/view-pricing-rules.php:929
452
+ msgid "Choose category(ies)"
453
  msgstr ""
454
 
455
+ #. Text in echo
456
+ #: woo-discount-rules/view/settings_general.php:81
457
+ msgid "Choose how discount rules should work when WooCommerce coupons (or third party) coupons are used?"
458
  msgstr ""
459
 
460
+ #. Text in echo
461
+ #: woo-discount-rules/view/view-pricing-rules.php:919
462
+ msgid "Choose product(s)"
463
  msgstr ""
464
 
465
+ #. Text in echo
466
+ #: woo-discount-rules/view/settings_taxonomy.php:32
467
+ msgid "Choose taxonomies that can be supported in the discount rules (as categories)"
468
  msgstr ""
469
 
470
+ #. Text in echo
471
+ #: woo-discount-rules/view/settings_performance.php:28
472
+ #: woo-discount-rules/view/settings_performance.php:32
473
+ msgid "Clear cache"
474
  msgstr ""
475
 
476
+ #. Text in echo
477
+ #: woo-discount-rules/view/view-cart-rules.php:56
478
+ #: woo-discount-rules/view/view-pricing-rules.php:38
479
+ msgid "Close and go back to list"
480
  msgstr ""
481
 
482
+ #. Text in echo
483
+ #: woo-discount-rules/view/view-pricing-rules.php:648
484
+ msgid "Combine"
485
  msgstr ""
486
 
487
+ #. Text in echo
488
+ #: woo-discount-rules/view/includes/sub-menu.php:11
489
+ msgid "Condition"
490
  msgstr ""
491
 
492
+ #. Text in echo
493
+ #: woo-discount-rules/view/includes/cart-menu.php:11
494
+ msgid "Conditions"
495
  msgstr ""
496
 
497
+ #. Text in echo
498
+ #: woo-discount-rules/view/view-pricing-rules.php:395
499
+ msgid "Coupon"
500
  msgstr ""
501
 
502
+ #. Text in function
503
+ #: woo-discount-rules/view/view-cart-rules.php:697
504
+ #: woo-discount-rules/view/view-pricing-rules.php:434
505
+ msgid "Coupon already exists in WooCommerce. Please select another name"
506
  msgstr ""
507
 
508
+ #. Text in echo
509
+ #: woo-discount-rules/view/view-cart-rules.php:417
510
+ msgid "Coupon applied"
511
  msgstr ""
512
 
513
+ #. Text in function
514
+ #: woo-discount-rules/view/documentation.php:57
515
+ msgid "Coupon code based discounts"
516
  msgstr ""
517
 
518
+ #. Text in echo
519
+ #: woo-discount-rules/view/settings_cart_rules.php:31
520
+ msgid "Coupon name to be used in the cart/checkout in the storefront"
521
  msgstr ""
522
 
523
+ #. Text in echo
524
+ #: woo-discount-rules/view/view-cart-rules.php:423
525
+ #: woo-discount-rules/view/view-cart-rules.php:425
526
+ #: woo-discount-rules/view/view-pricing-rules.php:411
527
+ msgid "Create your own coupon"
528
  msgstr ""
529
 
530
+ #. Text in function
531
+ #: woo-discount-rules/view/view-cart-rules.php:140
532
+ #: woo-discount-rules/view/view-pricing-rules.php:149
533
+ msgid "Current date and time: %s"
534
  msgstr ""
535
 
536
+ #. Text in echo
537
+ #: woo-discount-rules/view/view-cart-rules.php:671
538
+ #: woo-discount-rules/view/view-pricing-rules.php:619
539
+ msgid "Custom"
540
  msgstr ""
541
 
542
+ #. Text in echo
543
+ #: woo-discount-rules/view/view-cart-rules.php:311
544
+ msgid "Customer Billing Details"
545
  msgstr ""
546
 
547
+ #. Text in echo
548
+ #: woo-discount-rules/view/view-cart-rules.php:267
549
+ msgid "Customer Details (must be logged in)"
550
  msgstr ""
551
 
552
+ #. Text in echo
553
+ #: woo-discount-rules/view/view-cart-rules.php:289
554
+ msgid "Customer Email"
555
  msgstr ""
556
 
557
+ #. Text in echo
558
+ #: woo-discount-rules/view/view-cart-rules.php:323
559
+ msgid "Customer Shipping Details"
560
  msgstr ""
561
 
562
+ #. Text in echo
563
+ #: woo-discount-rules/view/view-pricing-rules.php:328
564
+ msgid "Customers"
565
  msgstr ""
566
 
567
+ #. Text in echo
568
+ #: woo-discount-rules/view/settings_price_rules.php:172
569
+ msgid "Default layout"
570
  msgstr ""
571
 
572
+ #. Text in echo
573
+ #: woo-discount-rules/view/cart-rules.php:192
574
+ #: woo-discount-rules/view/pricing-rules.php:222
575
+ msgid "Delete"
576
  msgstr ""
577
 
578
+ #. Text in echo
579
+ #: woo-discount-rules/view/cart-rules.php:82
580
+ #: woo-discount-rules/view/pricing-rules.php:112
581
+ msgid "Delete rules"
582
  msgstr ""
583
 
584
+ #. Text in echo
585
+ #: woo-discount-rules/view/view-pricing-rules.php:120
586
+ #: woo-discount-rules/view/view-pricing-rules.php:122
587
+ msgid "Dependent / conditional based discount (by individual product)"
588
  msgstr ""
589
 
590
+ #. Text in function
591
+ #: woo-discount-rules/view/cart-rules.php:118
592
+ #: woo-discount-rules/view/pricing-rules.php:148
593
+ msgid "Disable"
594
  msgstr ""
595
 
596
+ #. Text in echo
597
+ #: woo-discount-rules/view/cart-rules.php:81
598
+ #: woo-discount-rules/view/pricing-rules.php:111
599
+ msgid "Disable rules"
600
  msgstr ""
601
 
602
+ #. Text in echo
603
+ #: woo-discount-rules/view/settings_general.php:94
604
+ msgid "Disable the coupons (discount rules will work)"
605
  msgstr ""
606
 
607
+ #. Text in echo
608
+ #: woo-discount-rules/view/settings_general.php:91
609
+ msgid "Disable the discount rules (coupons will work)"
610
  msgstr ""
611
 
612
+ #. Text in function
613
+ #: woo-discount-rules/view/cart-rules.php:159
614
+ #: woo-discount-rules/view/pricing-rules.php:189
615
+ #: woo-discount-rules/view/settings_cart_rules.php:95
616
+ #: woo-discount-rules/view/settings_cart_rules.php:102
617
+ #: woo-discount-rules/view/settings_price_rules.php:169
618
+ #: woo-discount-rules/view/settings_promotion.php:97
619
+ #: woo-discount-rules/view/settings_promotion.php:132
620
+ msgid "Disabled"
621
  msgstr ""
622
 
623
+ #. Text in echo
624
+ #: woo-discount-rules/view/settings_general.php:61
625
+ msgid "Disabling this setting may affect dropdowns in rule engine (Disabling this setting is not recommended). Change this only if you know what you are doing."
626
  msgstr ""
627
 
628
+ #. Text in echo
629
+ #: woo-discount-rules/view/includes/cart-menu.php:13
630
+ #: woo-discount-rules/view/includes/sub-menu.php:13
631
+ #: woo-discount-rules/view/template/discount-table.php:42
632
+ #: woo-discount-rules/view/view-cart-rules.php:756
633
+ #: woo-discount-rules/view/view-pricing-rules.php:710
634
+ msgid "Discount"
635
  msgstr ""
636
 
637
+ #. Text in echo
638
+ #: woo-discount-rules/view/view-pricing-rules.php:188
639
+ msgid "Discount Conditions"
640
  msgstr ""
641
 
642
+ #. Text in echo
643
+ #: woo-discount-rules/view/settings_cart_rules.php:21
644
+ msgid "Discount Coupon Name"
645
  msgstr ""
646
 
647
+ #. Text in echo
648
+ #: woo-discount-rules/view/settings_price_rules.php:163
649
+ msgid "Discount Table :"
650
  msgstr ""
651
 
652
+ #. Text in echo
653
+ #: woo-discount-rules/view/view-cart-rules.php:772
654
+ msgid "Discount Type :"
655
  msgstr ""
656
 
657
+ #. Text in echo
658
+ #: woo-discount-rules/view/settings_price_rules.php:256
659
+ msgid "Discount column on table :"
660
  msgstr ""
661
 
662
+ #. Text in echo
663
+ #: woo-discount-rules/view/view-pricing-rules.php:903
664
+ msgid "Discount for number of item(s) in cart"
665
  msgstr ""
666
 
667
+ #. Text in echo
668
+ #: woo-discount-rules/view/view-pricing-rules.php:910
669
+ msgid "Discount for number of quantity(ies)"
670
  msgstr ""
671
 
672
+ #. Text in echo
673
+ #: woo-discount-rules/view/settings_cart_rules.php:15
674
+ msgid "Discount identifier in the backend"
675
  msgstr ""
676
 
677
+ #. Text in echo
678
+ #: woo-discount-rules/view/view-pricing-rules.php:942
679
+ msgid "Discount percentage"
680
  msgstr ""
681
 
682
+ #. Text in echo
683
+ #: woo-discount-rules/view/settings_cart_rules.php:35
684
+ msgid "Discounts applied: {rule_name}"
685
  msgstr ""
686
 
687
+ #. Text in echo
688
+ #: woo-discount-rules/view/settings_price_rules.php:15
689
+ msgid "Display"
690
  msgstr ""
691
 
692
+ #. Text in echo
693
+ #: woo-discount-rules/view/settings_promotion.php:16
694
+ msgid "Display savings text (for price rules)"
695
  msgstr ""
696
 
697
+ #. Text in echo
698
+ #: woo-discount-rules/view/settings_price_rules.php:284
699
+ msgid "Do not show"
700
  msgstr ""
701
 
702
+ #. Text in echo
703
+ #: woo-discount-rules/view/view-pricing-rules.php:373
704
+ #: woo-discount-rules/view/view-pricing-rules.php:410
705
+ #: woo-discount-rules/view/view-pricing-rules.php:501
706
+ #: woo-discount-rules/view/view-pricing-rules.php:550
707
+ msgid "Do not use"
708
  msgstr ""
709
 
710
+ #. Text in echo
711
+ #: woo-discount-rules/view/settings_price_rules.php:301
712
+ msgid "Do you want to customize the sale badge?"
713
  msgstr ""
714
 
715
+ #. Text in echo
716
+ #: woo-discount-rules/view/cart-rules.php:53
717
+ #: woo-discount-rules/view/documentation.php:21
718
+ #: woo-discount-rules/view/pricing-rules.php:85
719
+ msgid "Documentation"
720
  msgstr ""
721
 
722
+ #. Text in echo
723
+ #: woo-discount-rules/view/settings_price_rules.php:265
724
+ msgid "Don't Show"
725
  msgstr ""
726
 
727
+ #. Text in echo
728
+ #: woo-discount-rules/view/settings_cart_rules.php:136
729
+ msgid "Draft"
730
  msgstr ""
731
 
732
+ #. Text in echo
733
+ #: woo-discount-rules/view/cart-rules.php:185
734
+ #: woo-discount-rules/view/pricing-rules.php:215
735
+ #: woo-discount-rules/view/view-pricing-rules.php:959
736
+ msgid "Duplicate"
 
 
737
  msgstr ""
738
 
739
+ #. Text in echo
740
+ #: woo-discount-rules/view/view-pricing-rules.php:899
741
+ msgid "Dynamic item count"
742
  msgstr ""
743
 
744
+ #. Text in echo
745
+ #: woo-discount-rules/view/view-pricing-rules.php:647
746
+ msgid "Each"
 
747
  msgstr ""
748
 
749
+ #. Text in echo
750
+ #: woo-discount-rules/view/cart-rules.php:181
751
+ #: woo-discount-rules/view/pricing-rules.php:211
752
+ msgid "Edit"
753
  msgstr ""
754
 
755
+ #. Text in echo
756
+ #: woo-discount-rules/view/view-cart-rules.php:62
757
+ msgid "Edit Cart Rule"
758
  msgstr ""
759
 
760
+ #. Text in echo
761
+ #: woo-discount-rules/view/view-pricing-rules.php:44
762
+ msgid "Edit Price Rule"
763
  msgstr ""
764
 
765
+ #. Text in echo
766
+ #: woo-discount-rules/view/settings_price_rules.php:336
767
+ msgid "Eg:"
768
  msgstr ""
769
 
770
+ #. Text in echo
771
+ #: woo-discount-rules/view/settings_cart_rules.php:42
772
+ msgid "Eg: "
773
  msgstr ""
774
 
775
+ #. Text in echo
776
+ #: woo-discount-rules/view/view-cart-rules.php:305
777
+ #: woo-discount-rules/view/view-cart-rules.php:307
778
+ msgid "Email with Domain (Eg: gmail.com)"
779
  msgstr ""
780
 
781
+ #. Text in echo
782
+ #: woo-discount-rules/view/view-cart-rules.php:295
783
+ #: woo-discount-rules/view/view-cart-rules.php:297
784
+ msgid "Email with TLD (Eg: edu)"
785
  msgstr ""
786
 
787
+ #. Text in function
788
+ #: woo-discount-rules/view/cart-rules.php:118
789
+ #: woo-discount-rules/view/pricing-rules.php:148
790
+ #: woo-discount-rules/view/settings_promotion.php:100
791
+ msgid "Enable"
792
  msgstr ""
793
 
794
+ #. Text in echo
795
+ #: woo-discount-rules/view/settings_performance.php:16
796
+ msgid "Enable cache for variable products table content"
797
  msgstr ""
798
 
799
+ #. Text in echo
800
+ #: woo-discount-rules/view/settings_general.php:52
801
+ msgid "Enable dropdowns (applies only for the rule engine in the backend.)"
802
  msgstr ""
803
 
804
+ #. Text in echo
805
+ #: woo-discount-rules/view/settings_cart_rules.php:85
806
+ msgid "Enable free shipping option"
 
 
807
  msgstr ""
808
 
809
+ #. Text in echo
810
+ #: woo-discount-rules/view/cart-rules.php:80
811
+ #: woo-discount-rules/view/pricing-rules.php:110
812
+ msgid "Enable rules"
 
 
 
 
 
813
  msgstr ""
814
 
815
+ #. Text in echo
816
+ #: woo-discount-rules/view/view-pricing-rules.php:953
817
+ msgid "Enter only numeric values. Eg: <b>50</b> for 50% discount"
818
  msgstr ""
819
 
820
+ #. Text in echo
821
+ #: woo-discount-rules/view/view-pricing-rules.php:578
822
+ msgid "Enter the amount"
823
  msgstr ""
824
 
825
+ #. Text in echo
826
+ #: woo-discount-rules/view/view-pricing-rules.php:653
827
+ msgid "Equal"
828
  msgstr ""
829
 
830
+ #. Text in echo
831
+ #: woo-discount-rules/view/settings_cart_rules.php:146
832
+ msgid "Exclude Draft products in product select box."
833
  msgstr ""
834
 
835
+ #. Text in echo
836
+ #: woo-discount-rules/view/view-cart-rules.php:264
837
+ msgid "Exclude categories in cart"
838
  msgstr ""
839
 
840
+ #. Text in echo
841
+ #: woo-discount-rules/view/view-cart-rules.php:238
842
+ msgid "Exclude on sale products"
843
  msgstr ""
844
 
845
+ #. Text in echo
846
+ #: woo-discount-rules/view/view-cart-rules.php:232
847
+ #: woo-discount-rules/view/view-pricing-rules.php:273
848
+ msgid "Exclude products"
849
  msgstr ""
850
 
851
+ #. Text in echo
852
+ #: woo-discount-rules/view/view-pricing-rules.php:298
853
+ msgid "Exclude sale items"
854
  msgstr ""
855
 
856
+ #. Text in echo
857
+ #: woo-discount-rules/view/cart-rules.php:210
858
+ #: woo-discount-rules/view/pricing-rules.php:240
859
+ msgid "Expired On"
860
  msgstr ""
861
 
862
+ #. Text in echo
863
+ #: woo-discount-rules/view/view-cart-rules.php:371
864
+ #: woo-discount-rules/view/view-cart-rules.php:373
865
+ #: woo-discount-rules/view/view-pricing-rules.php:551
866
+ msgid "First Order discount"
867
  msgstr ""
868
 
869
+ #. Text in echo
870
+ #: woo-discount-rules/view/view-pricing-rules.php:676
871
+ msgid "First quantity(s)"
872
  msgstr ""
873
 
874
+ #. Text in echo
875
+ #: woo-discount-rules/view/view-pricing-rules.php:1001
876
+ msgid "Fixed"
877
  msgstr ""
878
 
879
+ #. Text in echo
880
+ #: woo-discount-rules/view/view-pricing-rules.php:778
881
+ #: woo-discount-rules/view/view-pricing-rules.php:780
882
+ msgid "Fixed Price Per Unit"
883
  msgstr ""
884
 
885
+ #. Text in echo
886
+ #: woo-discount-rules/view/view-pricing-rules.php:900
887
+ msgid "Fixed item count (not recommended)"
888
  msgstr ""
889
 
890
+ #. Text in echo
891
+ #: woo-discount-rules/view/view-pricing-rules.php:902
892
+ msgid "Fixed item count - You need to provide item count manually. Dynamic item count - System will choose dynamically based on cart"
893
  msgstr ""
894
 
895
+ #. Text in echo
896
+ #: woo-discount-rules/view/settings_price_rules.php:310
897
+ msgid "Force override the label for sale badge (useful when your theme has override for sale badge)."
898
  msgstr ""
899
 
900
+ #. Text in echo
901
+ #: woo-discount-rules/view/settings_general.php:69
902
+ msgid "Force refresh the cart widget while add and remove item to cart"
903
  msgstr ""
904
 
905
+ #. Text in echo
906
+ #: woo-discount-rules/view/view-pricing-rules.php:159
907
+ msgid "Format for advanced table display option (see plugin settings)"
908
  msgstr ""
909
 
910
+ #. Text in function
911
+ #: woo-discount-rules/view/documentation.php:63
912
+ #: woo-discount-rules/view/settings_cart_rules.php:126
913
+ msgid "Free Shipping"
914
  msgstr ""
915
 
916
+ #. Text in echo
917
+ #: woo-discount-rules/view/settings_cart_rules.php:129
918
+ msgid "Free Shipping title"
919
  msgstr ""
920
 
921
+ #. Text in function
922
+ #: woo-discount-rules/view/documentation.php:69
923
+ msgid "Free product discount"
924
  msgstr ""
925
 
926
+ #. Text in echo
927
+ #: woo-discount-rules/view/view-pricing-rules.php:880
928
+ msgid "Free quantity"
 
 
929
  msgstr ""
930
 
931
+ #. Text in echo
932
+ #: woo-discount-rules/view/view-cart-rules.php:800
933
+ #: woo-discount-rules/view/view-cart-rules.php:802
934
+ msgid "Free shipping"
 
935
  msgstr ""
936
 
937
+ #. Text in echo
938
+ #: woo-discount-rules/view/settings_cart_rules.php:122
939
+ msgid "Free shipping text to be displayed"
 
 
 
940
  msgstr ""
941
 
942
+ #. Text in echo
943
+ #: woo-discount-rules/view/view-cart-rules.php:135
944
+ #: woo-discount-rules/view/view-pricing-rules.php:144
945
+ #: woo-discount-rules/view/view-pricing-rules.php:654
946
+ msgid "From"
 
947
  msgstr ""
948
 
949
+ #. Text in echo
950
+ #: woo-discount-rules/view/view-cart-rules.php:663
951
+ #: woo-discount-rules/view/view-pricing-rules.php:611
952
+ msgid "From all previous orders"
953
  msgstr ""
954
 
955
+ #. Text in echo
956
+ #: woo-discount-rules/view/includes/cart-menu.php:9
957
+ #: woo-discount-rules/view/includes/sub-menu.php:9
958
+ #: woo-discount-rules/view/settings.php:38
959
+ #: woo-discount-rules/view/view-cart-rules.php:65
960
+ #: woo-discount-rules/view/view-pricing-rules.php:47
961
+ msgid "General"
962
  msgstr ""
963
 
964
+ #. Text in echo
965
+ #: woo-discount-rules/view/settings_general.php:6
966
+ msgid "General Settings"
967
  msgstr ""
968
 
969
+ #. Text in function
970
+ #: woo-discount-rules/view/documentation.php:30
971
+ msgid "Getting started"
972
  msgstr ""
973
 
974
+ #. Text in echo
975
+ #: woo-discount-rules/view/view-cart-rules.php:647
976
+ #: woo-discount-rules/view/view-pricing-rules.php:592
977
+ msgid "Greater than or equal to"
978
  msgstr ""
979
 
980
+ #. Text in function
981
+ #: woo-discount-rules/helper/general-helper.php:1
982
+ msgid "Guest"
983
  msgstr ""
984
 
985
+ #. Text in function
986
+ #: woo-discount-rules/view/view-pricing-rules.php:697
987
+ msgid "Guide for product dependent rules"
988
  msgstr ""
989
 
990
+ #. Text in function
991
+ #: woo-discount-rules/view/view-cart-rules.php:752
992
+ msgid "Guide to create cart rules"
993
  msgstr ""
994
 
995
+ #. Text in function
996
+ #: woo-discount-rules/view/view-pricing-rules.php:990
997
+ msgid "Guide to create perfect BOGO rules"
998
  msgstr ""
999
 
1000
+ #. Text in echo
1001
+ #: woo-discount-rules/view/includes/footer.php:7
1002
+ msgid "Having trouble in setting up the discount? Let us set up the rules for you (for free)!"
1003
  msgstr ""
1004
 
1005
+ #. Text in echo
1006
+ #: woo-discount-rules/view/template/sidebar.php:12
1007
+ msgid "Hide"
1008
  msgstr ""
1009
 
1010
+ #. Text in echo
1011
+ #: woo-discount-rules/view/settings_general.php:103
1012
+ msgid "Hide $0.00 (zero value) of coupon codes in the totals column. Useful when a coupon used with discount rule conditions"
1013
  msgstr ""
1014
 
1015
+ #. Text in echo
1016
+ #: woo-discount-rules/view/template/discount-table.php:23
1017
+ msgid "Hide table"
1018
  msgstr ""
1019
 
1020
+ #. Text in function
1021
+ #: woo-discount-rules/view/documentation.php:48
1022
+ msgid "How to create a perfect BOGO discount rule in WooCommerce"
1023
  msgstr ""
1024
 
1025
+ #. Text in function
1026
+ #: woo-discount-rules/view/documentation.php:69
1027
+ msgid "How to provide a automatic adding free product in cart under certain conditions"
1028
  msgstr ""
1029
 
1030
+ #. Text in echo
1031
+ #: woo-discount-rules/view/settings_price_rules.php:332
1032
+ msgid "IMPORTANT NOTE: This customized sale badge will be applicable only for products that are part of the discount rules configured in this plugin"
1033
  msgstr ""
1034
 
1035
+ #. Text in echo
1036
+ #: woo-discount-rules/view/settings_price_rules.php:73
1037
+ msgid "If sale price is not entered in your products, the regular price will be taken"
1038
  msgstr ""
1039
 
1040
+ #. Text in echo
1041
+ #: woo-discount-rules/view/view-cart-rules.php:258
1042
+ msgid "In each category"
1043
  msgstr ""
1044
 
1045
+ #. Text in echo
1046
+ #: woo-discount-rules/view/settings_price_rules.php:105
1047
+ msgid "Include variants when just parent products are chosen in the rules"
1048
  msgstr ""
1049
 
1050
+ #. Text in echo
1051
+ #: woo-discount-rules/view/view-cart-rules.php:252
1052
+ msgid "Including sub-categories in cart"
1053
  msgstr ""
1054
 
1055
+ #. Text in echo
1056
+ #: woo-discount-rules/view/documentation.php:28
1057
+ msgid "Installation and Intro:"
1058
  msgstr ""
1059
 
1060
+ #. Text in echo
1061
+ #: woo-discount-rules/view/view-pricing-rules.php:903
1062
+ msgid "Item count"
1063
  msgstr ""
1064
 
1065
+ #. Text in echo
1066
+ #: woo-discount-rules/view/view-pricing-rules.php:910
1067
+ msgid "Item quantity"
1068
  msgstr ""
1069
 
1070
+ #. Text in echo
1071
+ #: woo-discount-rules/view/cart-rules.php:214
1072
+ #: woo-discount-rules/view/pricing-rules.php:244
1073
+ msgid "Language"
1074
  msgstr ""
1075
 
1076
+ #. Text in echo
1077
+ #: woo-discount-rules/view/view-cart-rules.php:670
1078
+ #: woo-discount-rules/view/view-pricing-rules.php:618
1079
+ msgid "Last 1 year"
1080
  msgstr ""
1081
 
1082
+ #. Text in echo
1083
+ #: woo-discount-rules/view/view-cart-rules.php:665
1084
+ #: woo-discount-rules/view/view-pricing-rules.php:613
1085
+ msgid "Last 14 days"
1086
  msgstr ""
1087
 
1088
+ #. Text in echo
1089
+ #: woo-discount-rules/view/view-cart-rules.php:669
1090
+ #: woo-discount-rules/view/view-pricing-rules.php:617
1091
+ msgid "Last 180 days"
1092
  msgstr ""
1093
 
1094
+ #. Text in echo
1095
+ #: woo-discount-rules/view/view-cart-rules.php:666
1096
+ #: woo-discount-rules/view/view-pricing-rules.php:614
1097
+ msgid "Last 30 days"
1098
  msgstr ""
1099
 
1100
+ #. Text in echo
1101
+ #: woo-discount-rules/view/view-cart-rules.php:667
1102
+ #: woo-discount-rules/view/view-pricing-rules.php:615
1103
+ msgid "Last 60 days"
1104
  msgstr ""
1105
 
1106
+ #. Text in echo
1107
+ #: woo-discount-rules/view/view-cart-rules.php:664
1108
+ #: woo-discount-rules/view/view-pricing-rules.php:612
1109
+ msgid "Last 7 days"
1110
  msgstr ""
1111
 
1112
+ #. Text in echo
1113
+ #: woo-discount-rules/view/view-cart-rules.php:668
1114
+ #: woo-discount-rules/view/view-pricing-rules.php:616
1115
+ msgid "Last 90 days"
1116
  msgstr ""
1117
 
1118
+ #. Text in function
1119
+ #: woo-discount-rules/view/documentation.php:63
1120
+ msgid "Learn how to create a free shipping cart based rule"
1121
  msgstr ""
1122
 
1123
+ #. Text in function
1124
+ #: woo-discount-rules/view/documentation.php:45
1125
+ msgid "Learn how to create bulk/tiered quantity discounts in WooCommerce"
1126
  msgstr ""
1127
 
1128
+ #. Text in function
1129
+ #: woo-discount-rules/view/documentation.php:66
1130
+ msgid "Learn how to create tiered discount based on the subtotal value"
1131
  msgstr ""
1132
 
1133
+ #. Text in function
1134
+ #: woo-discount-rules/view/documentation.php:51
1135
+ msgid "Learn how to create user role based / customer group based discount in WooCommerce"
1136
  msgstr ""
1137
 
1138
+ #. Text in function
1139
+ #: woo-discount-rules/view/documentation.php:33
1140
+ msgid "Learn how to obtain the license key and activate it"
1141
  msgstr ""
1142
 
1143
+ #. Text in function
1144
+ #: woo-discount-rules/view/documentation.php:36
1145
+ msgid "Learn how to update to latest versions"
1146
  msgstr ""
1147
 
1148
+ #. Text in echo
1149
+ #: woo-discount-rules/view/view-cart-rules.php:648
1150
+ #: woo-discount-rules/view/view-pricing-rules.php:593
1151
+ #: woo-discount-rules/view/view-pricing-rules.php:652
1152
+ msgid "Less than or equal to"
1153
  msgstr ""
1154
 
1155
+ #. Text in echo
1156
+ #: woo-discount-rules/view/settings_general.php:88
1157
+ msgid "Let both coupons and discount rules run together"
1158
  msgstr ""
1159
 
1160
+ #. Text in echo
1161
+ #: woo-discount-rules/view/settings_general.php:13
1162
+ msgid "License Key :"
1163
  msgstr ""
1164
 
1165
+ #. Text in function
1166
+ #: woo-discount-rules/view/documentation.php:33
1167
+ msgid "License Key activation"
1168
  msgstr ""
1169
 
1170
+ #. Text in echo
1171
+ #: woo-discount-rules/view/settings_general.php:31
1172
+ msgid "License key seems to be Invalid. Please enter a valid license key"
1173
  msgstr ""
1174
 
1175
+ #. Text in echo
1176
+ #: woo-discount-rules/view/view-pricing-rules.php:945
1177
+ msgid "Limited percent"
1178
  msgstr ""
1179
 
1180
+ #. Text in echo
1181
+ #: woo-discount-rules/view/template/sidebar.php:7
1182
+ msgid "Looking for more features? Upgrade to PRO"
1183
  msgstr ""
1184
 
1185
+ #. Text in echo
1186
+ #: woo-discount-rules/view/view-pricing-rules.php:578
1187
+ msgid "Make sure you have created the coupon already"
1188
  msgstr ""
1189
 
1190
+ #. Text in echo
1191
+ #: woo-discount-rules/view/view-pricing-rules.php:748
1192
+ msgid "Max Quantity"
1193
  msgstr ""
1194
 
1195
+ #. Text in echo
1196
+ #: woo-discount-rules/view/settings_promotion.php:108
1197
+ #: woo-discount-rules/view/view-cart-rules.php:730
1198
+ msgid "Message"
1199
  msgstr ""
1200
 
1201
+ #. Text in echo
1202
+ #: woo-discount-rules/view/view-pricing-rules.php:105
1203
+ msgid "Method"
1204
  msgstr ""
1205
 
1206
+ #. Text in echo
1207
+ #: woo-discount-rules/view/view-pricing-rules.php:106
1208
+ msgid "Method to Apply."
1209
  msgstr ""
1210
 
1211
+ #. Text in echo
1212
+ #: woo-discount-rules/view/view-pricing-rules.php:741
1213
+ msgid "Min Quantity"
1214
  msgstr ""
1215
 
1216
+ #. Text in echo
1217
+ #: woo-discount-rules/view/view-pricing-rules.php:651
1218
+ msgid "More than or equal to"
1219
  msgstr ""
1220
 
1221
+ #. Text in echo
1222
+ #: woo-discount-rules/view/cart-rules.php:208
1223
+ #: woo-discount-rules/view/pricing-rules.php:238
1224
+ #: woo-discount-rules/view/template/discount-table.php:36
1225
+ msgid "Name"
1226
  msgstr ""
1227
 
1228
+ #. Text in echo
1229
+ #: woo-discount-rules/view/view-cart-rules.php:60
1230
+ msgid "New Cart Rule"
1231
  msgstr ""
1232
 
1233
+ #. Text in echo
1234
+ #: woo-discount-rules/view/view-pricing-rules.php:42
1235
+ msgid "New Price Rule"
1236
  msgstr ""
1237
 
1238
+ #. Text in echo
1239
+ #: woo-discount-rules/view/view-cart-rules.php:145
1240
+ #: woo-discount-rules/view/view-cart-rules.php:750
1241
+ #: woo-discount-rules/view/view-pricing-rules.php:183
1242
+ #: woo-discount-rules/view/view-pricing-rules.php:703
1243
+ msgid "Next"
1244
  msgstr ""
1245
 
1246
+ #. Text in echo
1247
+ #: woo-discount-rules/view/settings_general.php:58
1248
+ #: woo-discount-rules/view/settings_general.php:75
1249
+ #: woo-discount-rules/view/settings_general.php:109
1250
+ #: woo-discount-rules/view/settings_performance.php:22
1251
+ #: woo-discount-rules/view/settings_price_rules.php:87
1252
+ #: woo-discount-rules/view/settings_price_rules.php:99
1253
+ #: woo-discount-rules/view/settings_price_rules.php:111
1254
+ #: woo-discount-rules/view/settings_price_rules.php:152
1255
+ msgid "No"
1256
  msgstr ""
1257
 
1258
+ #. Text in echo
1259
+ #: woo-discount-rules/view/template/discount-table.php:74
1260
+ msgid "No Active Discounts."
1261
  msgstr ""
1262
 
1263
+ #. Text in echo
1264
+ #: woo-discount-rules/view/view-cart-rules.php:655
1265
+ #: woo-discount-rules/view/view-cart-rules.php:559
1266
+ #: woo-discount-rules/view/view-pricing-rules.php:238
1267
+ #: woo-discount-rules/view/view-pricing-rules.php:254
1268
+ #: woo-discount-rules/view/view-pricing-rules.php:604
1269
+ #: woo-discount-rules/view/view-pricing-rules.php:688
1270
+ #: woo-discount-rules/view/view-pricing-rules.php:930
1271
+ msgid "None selected"
1272
  msgstr ""
1273
 
1274
+ #. Text in echo
1275
+ #: woo-discount-rules/view/view-cart-rules.php:189
1276
+ msgid "Number of line items in the cart (not quantity) at least"
1277
  msgstr ""
1278
 
1279
+ #. Text in echo
1280
+ #: woo-discount-rules/view/view-cart-rules.php:193
1281
+ msgid "Number of line items in the cart (not quantity) less than"
1282
  msgstr ""
1283
 
1284
+ #. Text in echo
1285
+ #: woo-discount-rules/view/view-cart-rules.php:391
1286
+ #: woo-discount-rules/view/view-cart-rules.php:393
1287
+ #: woo-discount-rules/view/view-pricing-rules.php:553
1288
+ msgid "Number of previous orders made"
1289
  msgstr ""
1290
 
1291
+ #. Text in echo
1292
+ #: woo-discount-rules/view/view-cart-rules.php:401
1293
+ #: woo-discount-rules/view/view-cart-rules.php:403
1294
+ #: woo-discount-rules/view/view-pricing-rules.php:554
1295
+ msgid "Number of previous orders made with following products"
1296
  msgstr ""
1297
 
1298
+ #. Text in echo
1299
+ #: woo-discount-rules/view/view-pricing-rules.php:880
1300
+ msgid "Number of quantity(ies) in each selected product(s)"
1301
  msgstr ""
1302
 
1303
+ #. Text in echo
1304
+ #: woo-discount-rules/view/view-cart-rules.php:411
1305
+ #: woo-discount-rules/view/view-cart-rules.php:413
1306
+ #: woo-discount-rules/view/view-pricing-rules.php:555
1307
+ msgid "Number of quantity(s) in previous orders made with following products"
1308
  msgstr ""
1309
 
1310
+ #. Text in echo
1311
+ #: woo-discount-rules/view/settings_price_rules.php:16
1312
+ msgid "Offer table"
1313
  msgstr ""
1314
 
1315
+ #. Text in echo
1316
+ #: woo-discount-rules/view/settings_promotion.php:28
1317
+ msgid "On after total"
1318
  msgstr ""
1319
 
1320
+ #. Text in echo
1321
+ #: woo-discount-rules/view/settings_promotion.php:25
1322
+ msgid "On each line item"
1323
  msgstr ""
1324
 
1325
+ #. Text in echo
1326
+ #: woo-discount-rules/view/view-pricing-rules.php:346
1327
+ #: woo-discount-rules/view/view-pricing-rules.php:348
1328
+ msgid "Only Given"
1329
  msgstr ""
1330
 
1331
+ #. Text in function
1332
+ #: woo-discount-rules/view/cart-rules.php:218
1333
+ #: woo-discount-rules/view/pricing-rules.php:248
1334
+ msgid "Order"
1335
  msgstr ""
1336
 
1337
+ #. Text in echo
1338
+ #: woo-discount-rules/view/view-pricing-rules.php:1000
1339
+ msgid "Percent"
1340
  msgstr ""
1341
 
1342
+ #. Text in echo
1343
+ #: woo-discount-rules/view/view-cart-rules.php:776
1344
+ #: woo-discount-rules/view/view-pricing-rules.php:760
1345
+ msgid "Percentage Discount"
1346
  msgstr ""
1347
 
1348
+ #. Text in echo
1349
+ #: woo-discount-rules/view/settings.php:41
1350
+ msgid "Performance"
1351
  msgstr ""
1352
 
1353
+ #. Text in echo
1354
+ #: woo-discount-rules/view/settings_performance.php:8
1355
+ msgid "Performance settings"
1356
  msgstr ""
1357
 
1358
+ #. Text in echo
1359
+ #: woo-discount-rules/view/view-cart-rules.php:122
1360
+ #: woo-discount-rules/view/view-pricing-rules.php:131
1361
+ msgid "Period of Rule Active. Format: month/day/Year Hour:Min"
1362
  msgstr ""
1363
 
1364
+ #. Text in echo
1365
+ #: woo-discount-rules/view/includes/footer.php:7
1366
+ msgid "Please contact our support team"
1367
  msgstr ""
1368
 
1369
+ #. Text in function
1370
+ #: woo-discount-rules/view/documentation.php:39
1371
+ msgid "Popular Discount Rules"
1372
  msgstr ""
1373
 
1374
+ #. Text in echo
1375
+ #: woo-discount-rules/view/view-cart-rules.php:749
1376
+ #: woo-discount-rules/view/view-cart-rules.php:846
1377
+ #: woo-discount-rules/view/view-pricing-rules.php:702
1378
+ #: woo-discount-rules/view/view-pricing-rules.php:1007
1379
+ msgid "Previous"
1380
  msgstr ""
1381
 
1382
+ #. Text in echo
1383
+ #: woo-discount-rules/view/view-cart-rules.php:782
1384
+ #: woo-discount-rules/view/view-cart-rules.php:784
1385
+ #: woo-discount-rules/view/view-pricing-rules.php:768
1386
+ #: woo-discount-rules/view/view-pricing-rules.php:770
1387
+ msgid "Price Discount"
1388
  msgstr ""
1389
 
1390
+ #. Text in echo
1391
+ #: woo-discount-rules/view/includes/menu.php:9
1392
+ msgid "Price Discount Rules"
1393
  msgstr ""
1394
 
1395
+ #. Text in function
1396
+ #: woo-discount-rules/view/documentation.php:54
1397
+ msgid "Price Rule and Cart Rule which gives discount based on the purchase history"
 
1398
  msgstr ""
1399
 
1400
+ #. Text in echo
1401
+ #: woo-discount-rules/view/pricing-rules.php:80
1402
+ msgid "Price Rules"
1403
  msgstr ""
1404
 
1405
+ #. Text in echo
1406
+ #: woo-discount-rules/view/settings.php:39
1407
+ msgid "Price rules"
1408
  msgstr ""
1409
 
1410
+ #. Text in echo
1411
+ #: woo-discount-rules/view/settings_price_rules.php:8
1412
+ msgid "Price rules settings"
1413
  msgstr ""
1414
 
1415
+ #. Text in echo
1416
+ #: woo-discount-rules/view/documentation.php:43
1417
+ msgid "Price rules/BOGO discounts:"
 
1418
  msgstr ""
1419
 
1420
+ #. Text in echo
1421
+ #: woo-discount-rules/view/view-cart-rules.php:84
1422
+ #: woo-discount-rules/view/view-pricing-rules.php:66
1423
+ msgid "Priority :"
1424
  msgstr ""
1425
 
1426
+ #. Text in echo
1427
+ #: woo-discount-rules/view/view-cart-rules.php:791
1428
+ #: woo-discount-rules/view/view-cart-rules.php:793
1429
+ msgid "Product Discount"
1430
  msgstr ""
1431
 
1432
+ #. Text in echo
1433
+ #: woo-discount-rules/view/settings_promotion.php:137
1434
+ msgid "Product page"
1435
  msgstr ""
1436
 
1437
+ #. Text in echo
1438
+ #: woo-discount-rules/view/view-pricing-rules.php:662
1439
+ msgid "Product(s) from"
1440
  msgstr ""
1441
 
1442
+ #. Text in echo
1443
+ #: woo-discount-rules/view/view-cart-rules.php:221
1444
+ msgid "Products"
1445
  msgstr ""
1446
 
1447
+ #. Text in echo
1448
+ #: woo-discount-rules/view/view-cart-rules.php:226
1449
+ msgid "Products in cart"
 
1450
  msgstr ""
1451
 
1452
+ #. Text in echo
1453
+ #: woo-discount-rules/view/settings.php:42
1454
+ msgid "Promotion"
1455
  msgstr ""
1456
 
1457
+ #. Text in echo
1458
+ #: woo-discount-rules/view/view-cart-rules.php:713
1459
+ msgid "Promotion message"
 
1460
  msgstr ""
1461
 
1462
+ #. Text in echo
1463
+ #: woo-discount-rules/view/settings_promotion.php:8
1464
+ msgid "Promotion settings"
 
1465
  msgstr ""
1466
 
1467
+ #. Text in echo
1468
+ #: woo-discount-rules/view/view-cart-rules.php:365
1469
+ #: woo-discount-rules/view/view-pricing-rules.php:537
1470
+ msgid "Purchase History"
1471
  msgstr ""
1472
 
1473
+ #. Text in function
1474
+ #: woo-discount-rules/view/documentation.php:54
1475
+ msgid "Purchase History Based Discount"
 
1476
  msgstr ""
1477
 
1478
+ #. Text in echo
1479
+ #: woo-discount-rules/view/view-cart-rules.php:381
1480
+ #: woo-discount-rules/view/view-cart-rules.php:383
1481
+ #: woo-discount-rules/view/view-pricing-rules.php:552
1482
+ msgid "Purchased amount"
1483
  msgstr ""
1484
 
1485
+ #. Text in echo
1486
+ #: woo-discount-rules/view/view-pricing-rules.php:656
1487
+ #: woo-discount-rules/view/view-pricing-rules.php:659
1488
+ #: woo-discount-rules/view/view-pricing-rules.php:679
1489
+ msgid "Quantity"
1490
  msgstr ""
1491
 
1492
+ #. Text in echo
1493
+ #: woo-discount-rules/view/view-pricing-rules.php:113
1494
+ msgid "Quantity / category / product / user role based discounts and BOGO deals "
 
 
1495
  msgstr ""
1496
 
1497
+ #. Text in echo
1498
+ #: woo-discount-rules/view/view-cart-rules.php:833
1499
+ msgid "Quantity :"
1500
  msgstr ""
1501
 
1502
+ #. Text in echo
1503
+ #: woo-discount-rules/view/view-cart-rules.php:196
1504
+ msgid "Quantity Sum"
1505
  msgstr ""
1506
 
1507
+ #. Text in echo
1508
+ #: woo-discount-rules/view/template/discount-table.php:39
1509
+ msgid "Range"
1510
  msgstr ""
1511
 
1512
+ #. Text in echo
1513
+ #: woo-discount-rules/view/settings_price_rules.php:238
1514
+ msgid "Range column on table :"
1515
  msgstr ""
1516
 
1517
+ #. Text in echo
1518
+ #: woo-discount-rules/view/view-pricing-rules.php:975
1519
+ #: woo-discount-rules/view/view-pricing-rules.php:985
1520
+ msgid "Read docs"
1521
  msgstr ""
1522
 
1523
+ #. Text in echo
1524
+ #: woo-discount-rules/view/includes/menu.php:19
1525
+ msgid "Read documentation"
1526
  msgstr ""
1527
 
1528
+ #. Text in echo
1529
+ #: woo-discount-rules/view/settings_price_rules.php:68
1530
+ msgid "Regular price"
1531
  msgstr ""
1532
 
1533
+ #. Text in echo
1534
+ #: woo-discount-rules/view/view-cart-rules.php:701
1535
+ #: woo-discount-rules/view/view-pricing-rules.php:962
1536
+ msgid "Remove"
1537
  msgstr ""
1538
 
1539
+ #. Text in echo
1540
+ #: woo-discount-rules/view/view-cart-rules.php:110
1541
+ #: woo-discount-rules/view/view-pricing-rules.php:94
1542
+ msgid "Rule Description"
1543
  msgstr ""
1544
 
1545
+ #. Text in echo
1546
+ #: woo-discount-rules/view/view-cart-rules.php:112
1547
+ #: woo-discount-rules/view/view-pricing-rules.php:95
1548
+ msgid "Rule Descriptions."
1549
  msgstr ""
1550
 
1551
+ #. Text in echo
1552
+ #: woo-discount-rules/view/view-cart-rules.php:98
1553
+ #: woo-discount-rules/view/view-pricing-rules.php:81
1554
+ msgid "Rule Name"
1555
  msgstr ""
1556
 
1557
+ #. Text in echo
1558
+ #: woo-discount-rules/view/settings_price_rules.php:26
1559
+ msgid "Rule Setup"
1560
  msgstr ""
1561
 
1562
+ #. Text in echo
1563
+ #: woo-discount-rules/view/settings_cart_rules.php:53
1564
+ msgid "Rule Setup for Cart:"
1565
  msgstr ""
1566
 
1567
+ #. Text in echo
1568
+ #: woo-discount-rules/view/view-pricing-rules.php:82
1569
+ msgid "Rule name / title."
1570
  msgstr ""
1571
 
1572
+ #. Text in echo
1573
+ #: woo-discount-rules/view/settings_price_rules.php:14
1574
+ msgid "Rule setup"
1575
  msgstr ""
1576
 
1577
+ #. Text in echo
1578
+ #: woo-discount-rules/view/settings_price_rules.php:17
1579
+ msgid "Sale badge"
 
1580
  msgstr ""
1581
 
1582
+ #. Text in echo
1583
+ #: woo-discount-rules/view/settings_price_rules.php:325
1584
+ msgid "Sale badge content (TIP: You can use HTML inside)"
1585
  msgstr ""
1586
 
1587
+ #. Text in echo
1588
+ #: woo-discount-rules/view/settings_price_rules.php:65
1589
+ msgid "Sale price"
1590
  msgstr ""
1591
 
1592
+ #. Text in echo
1593
+ #: woo-discount-rules/view/view-pricing-rules.php:873
1594
+ msgid "Same product"
1595
  msgstr ""
1596
 
1597
+ #. Text in echo
1598
+ #: woo-discount-rules/view/settings.php:33
1599
+ #: woo-discount-rules/view/settings_taxonomy.php:21
1600
+ msgid "Save"
1601
  msgstr ""
1602
 
1603
+ #. Text in echo
1604
+ #: woo-discount-rules/view/view-cart-rules.php:55
1605
+ #: woo-discount-rules/view/view-pricing-rules.php:37
1606
+ msgid "Save Rule"
1607
  msgstr ""
1608
 
1609
+ #. Text in echo
1610
+ #: woo-discount-rules/view/settings_promotion.php:39
1611
+ msgid "Savings text to show"
1612
  msgstr ""
1613
 
1614
+ #. Text in echo
1615
+ #: woo-discount-rules/view/view-cart-rules.php:819
1616
+ msgid "Select products :"
 
 
1617
  msgstr ""
1618
 
1619
+ #. Text in echo
1620
+ #: woo-discount-rules/view/includes/menu.php:13
1621
+ msgid "Settings"
1622
  msgstr ""
1623
 
1624
+ #. Text in echo
1625
+ #: woo-discount-rules/view/view-cart-rules.php:329
1626
+ #: woo-discount-rules/view/view-cart-rules.php:331
1627
+ msgid "Shipping city"
1628
  msgstr ""
1629
 
1630
+ #. Text in echo
1631
+ #: woo-discount-rules/view/view-cart-rules.php:349
1632
+ #: woo-discount-rules/view/view-cart-rules.php:351
1633
+ msgid "Shipping country in list"
1634
  msgstr ""
1635
 
1636
+ #. Text in echo
1637
+ #: woo-discount-rules/view/view-cart-rules.php:339
1638
+ #: woo-discount-rules/view/view-cart-rules.php:341
1639
+ msgid "Shipping state"
1640
  msgstr ""
1641
 
1642
+ #. Text in echo
1643
+ #: woo-discount-rules/view/view-cart-rules.php:359
1644
+ #: woo-discount-rules/view/view-cart-rules.php:361
1645
+ msgid "Shipping zip code"
1646
  msgstr ""
1647
 
1648
+ #. Text in echo
1649
+ #: woo-discount-rules/view/settings_promotion.php:134
1650
+ msgid "Shop page"
1651
  msgstr ""
1652
 
1653
+ #. Text in echo
1654
+ #: woo-discount-rules/view/settings_price_rules.php:262
1655
+ msgid "Show"
1656
  msgstr ""
1657
 
1658
+ #. Text in echo
1659
+ #: woo-discount-rules/view/settings_price_rules.php:122
1660
+ msgid "Show Price discount on product pages :"
1661
  msgstr ""
1662
 
1663
+ #. Text in echo
1664
+ #: woo-discount-rules/view/settings_price_rules.php:278
1665
+ msgid "Show a Sale badge on product pages :"
1666
  msgstr ""
1667
 
1668
+ #. Text in echo
1669
+ #: woo-discount-rules/view/settings_price_rules.php:146
1670
+ msgid "Show a crossed-out original price along with discounted price at line items in cart"
1671
  msgstr ""
1672
 
1673
+ #. Text in echo
1674
+ #: woo-discount-rules/view/settings_promotion.php:90
1675
+ msgid "Show a message on applying cart rules in cart"
1676
  msgstr ""
1677
 
1678
+ #. Text in echo
1679
+ #: woo-discount-rules/view/settings_promotion.php:55
1680
+ msgid "Show a message on applying price rules in cart"
1681
  msgstr ""
1682
 
1683
+ #. Text in echo
1684
+ #: woo-discount-rules/view/settings_price_rules.php:131
1685
+ msgid "Show after a rule condition is matched"
 
 
1686
  msgstr ""
1687
 
1688
+ #. Text in echo
1689
+ #: woo-discount-rules/view/settings_price_rules.php:290
1690
+ msgid "Show on products that are covered under any price based discount rule in the plugin"
 
 
1691
  msgstr ""
1692
 
1693
+ #. Text in echo
1694
+ #: woo-discount-rules/view/settings_price_rules.php:287
1695
+ msgid "Show only after a rule condition is matched exactly"
 
1696
  msgstr ""
1697
 
1698
+ #. Text in echo
1699
+ #: woo-discount-rules/view/settings_price_rules.php:128
1700
+ msgid "Show when a rule condition is matched"
1701
  msgstr ""
1702
 
1703
+ #. Text in echo
1704
+ #: woo-discount-rules/view/settings_price_rules.php:134
1705
+ msgid "Shown on quantity update (dynamic)"
 
1706
  msgstr ""
1707
 
1708
+ #. Text in echo
1709
+ #: woo-discount-rules/view/view-pricing-rules.php:677
1710
+ msgid "Skip first quantity(s)"
1711
  msgstr ""
1712
 
1713
+ #. Text in echo
1714
+ #: woo-discount-rules/view/view-pricing-rules.php:221
1715
+ #: woo-discount-rules/view/view-pricing-rules.php:223
1716
+ msgid "Specific attributes"
1717
  msgstr ""
1718
 
1719
+ #. Text in echo
1720
+ #: woo-discount-rules/view/view-pricing-rules.php:212
1721
+ #: woo-discount-rules/view/view-pricing-rules.php:214
1722
+ msgid "Specific categories"
1723
  msgstr ""
1724
 
1725
+ #. Text in echo
1726
+ #: woo-discount-rules/view/view-pricing-rules.php:206
1727
+ msgid "Specific products"
 
1728
  msgstr ""
1729
 
1730
+ #. Text in echo
1731
+ #: woo-discount-rules/view/view-cart-rules.php:735
1732
+ msgid "Spend {{difference_amount}} more and get 10% discount"
1733
  msgstr ""
1734
 
1735
+ #. Text in echo
1736
+ #: woo-discount-rules/view/cart-rules.php:209
1737
+ #: woo-discount-rules/view/pricing-rules.php:239
1738
+ msgid "Start Date"
1739
  msgstr ""
1740
 
1741
+ #. Text in echo
1742
+ #: woo-discount-rules/view/cart-rules.php:211
1743
+ #: woo-discount-rules/view/pricing-rules.php:241
1744
+ msgid "Status"
1745
  msgstr ""
1746
 
1747
+ #. Text in echo
1748
+ #: woo-discount-rules/view/view-pricing-rules.php:485
1749
+ msgid "Subtotal"
1750
  msgstr ""
1751
 
1752
+ #. Text in echo
1753
+ #: woo-discount-rules/view/view-cart-rules.php:179
1754
+ msgid "Subtotal at least"
1755
  msgstr ""
1756
 
1757
+ #. Text in echo
1758
+ #: woo-discount-rules/view/view-pricing-rules.php:502
1759
+ msgid "Subtotal atleast"
1760
  msgstr ""
1761
 
1762
+ #. Text in function
1763
+ #: woo-discount-rules/view/documentation.php:66
1764
+ msgid "Subtotal based - Tiered discounts"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1765
  msgstr ""
1766
 
1767
+ #. Text in echo
1768
+ #: woo-discount-rules/view/settings_promotion.php:125
1769
+ msgid "Subtotal based promo text (available only in cart rules -> subtotal based discounts)"
1770
  msgstr ""
1771
 
1772
+ #. Text in echo
1773
+ #: woo-discount-rules/view/view-cart-rules.php:718
1774
+ msgid "Subtotal from"
1775
  msgstr ""
1776
 
1777
+ #. Text in echo
1778
+ #: woo-discount-rules/view/view-cart-rules.php:183
1779
+ msgid "Subtotal less than"
1780
  msgstr ""
1781
 
1782
+ #. Text in echo
1783
+ #: woo-discount-rules/view/settings_cart_rules.php:140
1784
+ #: woo-discount-rules/view/settings_price_rules.php:311
1785
+ #: woo-discount-rules/view/view-pricing-rules.php:578
1786
+ #: woo-discount-rules/view/view-pricing-rules.php:855
1787
+ msgid "Supported in PRO version"
1788
  msgstr ""
1789
 
1790
+ #. Text in echo
1791
+ #: woo-discount-rules/view/view-pricing-rules.php:578
1792
+ msgid "Supported in WooCommerce 3.x"
1793
  msgstr ""
1794
 
1795
+ #. Text in echo
1796
+ #: woo-discount-rules/view/settings_price_rules.php:202
1797
  msgid "Table header :"
1798
  msgstr ""
1799
 
1800
+ #. Text in echo
1801
+ #: woo-discount-rules/view/settings_price_rules.php:184
1802
+ msgid "Table placement:"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1803
  msgstr ""
1804
 
1805
+ #. Text in echo
1806
+ #: woo-discount-rules/view/includes/menu.php:17
1807
+ msgid "Taxonomy Settings"
1808
  msgstr ""
1809
 
1810
+ #. Text in echo
1811
+ #: woo-discount-rules/view/view-cart-rules.php:86
1812
+ msgid "The Simple Ranking concept to said, which one is going to execute first and so on."
1813
  msgstr ""
1814
 
1815
+ #. Text in echo
1816
+ #: woo-discount-rules/view/view-pricing-rules.php:67
1817
+ msgid "The Simple Ranking concept, which one is going to execute first and so on."
 
 
 
1818
  msgstr ""
1819
 
1820
+ #. Text in echo
1821
+ #: woo-discount-rules/view/template/discount-table.php:25
 
 
 
1822
  msgid "This effect displays only for you (Admin)"
1823
  msgstr ""
1824
 
1825
+ #. Text in function
1826
+ #: woo-discount-rules/view/view-cart-rules.php:547
1827
+ msgid "This will exclude the on sale products from discount"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1828
  msgstr ""
1829
 
1830
+ #. Text in function
1831
+ #: woo-discount-rules/view/view-pricing-rules.php:301
1832
+ msgid "Tick this checkbox if you wish to exclude products that already have a sale price set via WooCommerce."
1833
  msgstr ""
1834
 
1835
+ #. Text in echo
1836
+ #: woo-discount-rules/view/settings_general.php:44
1837
+ msgid "Tip: Install pro package before validating the licence"
1838
  msgstr ""
1839
 
1840
+ #. Text in echo
1841
+ #: woo-discount-rules/view/settings_price_rules.php:220
1842
+ msgid "Title column on table :"
1843
  msgstr ""
1844
 
1845
+ #. Text in echo
1846
+ #: woo-discount-rules/view/view-cart-rules.php:139
1847
+ msgid "To"
1848
  msgstr ""
1849
 
1850
+ #. Text in echo
1851
+ #: woo-discount-rules/view/view-pricing-rules.php:148
1852
+ msgid "To - Leave Empty if No Expiry"
1853
  msgstr ""
1854
 
1855
+ #. Text in echo
1856
+ #: woo-discount-rules/view/view-cart-rules.php:205
1857
+ msgid "Total number of quantities in the cart at least"
1858
  msgstr ""
1859
 
1860
+ #. Text in echo
1861
+ #: woo-discount-rules/view/view-cart-rules.php:217
1862
+ msgid "Total number of quantities in the cart less than"
1863
  msgstr ""
1864
 
1865
+ #. Text in echo
1866
+ #: woo-discount-rules/view/view-cart-rules.php:172
1867
+ msgid "Type"
1868
  msgstr ""
1869
 
1870
+ #. Text in echo
1871
+ #: woo-discount-rules/view/settings_cart_rules.php:108
1872
+ msgid "Use Woo-Discount free shipping"
1873
  msgstr ""
1874
 
1875
+ #. Text in echo
1876
+ #: woo-discount-rules/view/settings_cart_rules.php:105
1877
+ msgid "Use Woocommerce free shipping"
1878
  msgstr ""
1879
 
1880
+ #. Text in function
1881
+ #: woo-discount-rules/view/view-pricing-rules.php:331
1882
+ msgid "Use this option to apply the rule for specific customers. <a href=\"%s\">Read docs</a>."
1883
  msgstr ""
1884
 
1885
+ #. Text in function
1886
+ #: woo-discount-rules/view/view-pricing-rules.php:276
1887
+ msgid "Use this option to exclude selected products from getting a discount. <a href=\"%s\">Read docs</a>."
1888
  msgstr ""
1889
 
1890
+ #. Text in function
1891
+ #: woo-discount-rules/view/view-pricing-rules.php:365
1892
+ msgid "Use this option to set a discount based on user roles. <a href=\"%s\">Read docs</a>."
1893
  msgstr ""
1894
 
1895
+ #. Text in echo
1896
+ #: woo-discount-rules/view/view-pricing-rules.php:161
1897
+ msgid "Used when advanced table display option is set in the plugin settings"
1898
  msgstr ""
1899
 
1900
+ #. Text in function
1901
+ #: woo-discount-rules/view/view-pricing-rules.php:540
1902
+ msgid "Useful for providing discounts based on previous purchase history.<br><b>Example:</b> First order discount, discount based on customer’s total spent so far. <a href=\"%s\">Read docs</a>."
1903
  msgstr ""
1904
 
1905
+ #. Text in function
1906
+ #: woo-discount-rules/view/view-pricing-rules.php:398
1907
+ msgid "Useful if you wish to activate this discount rule via coupon code.<br>You can create your own coupon code here or select coupons created from WooCommerce -> Coupons. <a href=\"%s\">Read docs</a>."
1908
  msgstr ""
1909
 
1910
+ #. Text in function
1911
+ #: woo-discount-rules/view/view-pricing-rules.php:488
1912
+ msgid "Useful when you want to limit the rule based on subtotal. (Use this only when absolutely necessary.)<br>See cart based discount rule tab (link to cart based rule tab) for effective subtotal based discount rules."
1913
  msgstr ""
1914
 
1915
+ #. Text in echo
1916
+ #: woo-discount-rules/view/settings_taxonomy.php:36
1917
+ msgid "Useful when you want to provide a taxonomy based discount. The selected taxonomies here will be available as categories. So you can use the category specific discount condition to create discounts based on taxonomies. More examples can be found in the documentation"
1918
  msgstr ""
1919
 
1920
+ #. Text in function
1921
+ #: woo-discount-rules/view/documentation.php:51
1922
+ msgid "User Role based discount rules"
 
1923
  msgstr ""
1924
 
1925
+ #. Text in echo
1926
+ #: woo-discount-rules/view/view-cart-rules.php:273
1927
+ #: woo-discount-rules/view/view-cart-rules.php:275
1928
+ msgid "User in list"
1929
  msgstr ""
1930
 
1931
+ #. Text in echo
1932
+ #: woo-discount-rules/view/view-cart-rules.php:283
1933
+ #: woo-discount-rules/view/view-cart-rules.php:285
1934
+ msgid "User role in list"
1935
  msgstr ""
1936
 
1937
+ #. Text in echo
1938
+ #: woo-discount-rules/view/view-pricing-rules.php:362
1939
+ msgid "User roles"
1940
  msgstr ""
1941
 
1942
+ #. Text in echo
1943
+ #: woo-discount-rules/view/settings_general.php:20
1944
+ msgid "Validate Key"
1945
  msgstr ""
1946
 
1947
+ #. Text in echo
1948
+ #: woo-discount-rules/view/view-cart-rules.php:121
1949
+ #: woo-discount-rules/view/view-pricing-rules.php:130
1950
  msgid "Validity"
1951
  msgstr ""
1952
 
1953
+ #. Text in echo
1954
+ #: woo-discount-rules/view/view-cart-rules.php:462
1955
+ #: woo-discount-rules/view/view-pricing-rules.php:848
1956
+ #: woo-discount-rules/view/view-pricing-rules.php:1002
1957
+ msgid "Value"
1958
  msgstr ""
1959
 
1960
+ #. Text in function
1961
+ #: woo-discount-rules/view/documentation.php:36
1962
+ msgid "Version Updates!"
1963
  msgstr ""
1964
 
1965
+ #. Text in echo
1966
+ #: woo-discount-rules/view/cart-rules.php:52
1967
+ #: woo-discount-rules/view/pricing-rules.php:84
1968
+ msgid "View Examples"
1969
  msgstr ""
1970
 
1971
+ #. Text in function
1972
+ #: woo-discount-rules/view/documentation.php:30
1973
+ msgid "Welcome onboard"
1974
  msgstr ""
1975
 
1976
+ #. Text in function
1977
+ #: woo-discount-rules/view/documentation.php:39
1978
+ msgid "What type of discount scenarios are most commonly used"
1979
  msgstr ""
1980
 
1981
+ #. Text in echo
1982
+ #: woo-discount-rules/view/template/sidebar.php:19
1983
+ msgid "With PRO version, you can create:"
1984
  msgstr ""
1985
 
1986
+ #. Text in echo
1987
+ #: woo-discount-rules/view/includes/cart-menu.php:5
1988
+ #: woo-discount-rules/view/includes/menu.php:6
1989
+ #: woo-discount-rules/view/includes/sub-menu.php:5
1990
+ msgid "Woo Discount Rules"
1991
  msgstr ""
1992
 
1993
+ #. Text in echo
1994
+ #: woo-discount-rules/view/settings_general.php:57
1995
+ #: woo-discount-rules/view/settings_general.php:74
1996
+ #: woo-discount-rules/view/settings_general.php:108
1997
+ #: woo-discount-rules/view/settings_performance.php:21
1998
+ #: woo-discount-rules/view/settings_price_rules.php:86
1999
+ #: woo-discount-rules/view/settings_price_rules.php:98
2000
+ #: woo-discount-rules/view/settings_price_rules.php:110
2001
+ #: woo-discount-rules/view/settings_price_rules.php:151
2002
+ msgid "Yes"
2003
  msgstr ""
2004
 
2005
+ #. Text in echo
2006
+ #: woo-discount-rules/view/settings_price_rules.php:308
2007
+ msgid "Yes, I would like to customize the sale badge"
2008
  msgstr ""
2009
 
2010
+ #. Text in echo
2011
+ #: woo-discount-rules/view/cart-rules.php:63
2012
+ #: woo-discount-rules/view/pricing-rules.php:95
2013
+ msgid "You Reach Max. Rule Limit"
2014
  msgstr ""
2015
 
2016
+ #. Text in echo
2017
+ #: woo-discount-rules/view/settings_general.php:19
2018
+ msgid "Your Unique License Key"
2019
  msgstr ""
2020
 
2021
+ #. Text in echo
2022
+ #: woo-discount-rules/view/view-pricing-rules.php:673
2023
+ msgid "and get discount on "
 
 
 
 
2024
  msgstr ""
2025
 
2026
+ #. Text in echo
2027
+ #: woo-discount-rules/view/view-cart-rules.php:650
2028
+ #: woo-discount-rules/view/view-pricing-rules.php:596
2029
+ msgid "and the order status should be"
2030
  msgstr ""
2031
 
2032
+ #. Text in echo
2033
+ #: woo-discount-rules/view/view-cart-rules.php:92
2034
+ #: woo-discount-rules/view/view-pricing-rules.php:74
2035
+ #: woo-discount-rules/view/view-pricing-rules.php:746
2036
+ #: woo-discount-rules/view/view-pricing-rules.php:915
2037
+ msgid "ex. 1"
2038
  msgstr ""
2039
 
2040
+ #. Text in echo
2041
+ #: woo-discount-rules/view/view-pricing-rules.php:953
2042
+ msgid "ex. 10"
2043
  msgstr ""
2044
 
2045
+ #. Text in echo
2046
+ #: woo-discount-rules/view/view-pricing-rules.php:753
2047
+ #: woo-discount-rules/view/view-pricing-rules.php:853
2048
+ msgid "ex. 50"
2049
  msgstr ""
2050
 
2051
+ #. Text in echo
2052
+ #: woo-discount-rules/view/view-cart-rules.php:105
2053
+ #: woo-discount-rules/view/view-pricing-rules.php:89
2054
+ msgid "ex. Standard Rule."
2055
  msgstr ""
2056
 
2057
+ #. Text in echo
2058
+ #: woo-discount-rules/view/view-cart-rules.php:674
2059
+ #: woo-discount-rules/view/view-pricing-rules.php:623
2060
+ msgid "in days"
2061
  msgstr ""
2062
 
2063
+ #. Text in echo
2064
+ #: woo-discount-rules/view/view-pricing-rules.php:870
2065
+ msgid "receive discount for"
2066
  msgstr ""
2067
 
2068
+ #. Text in echo
2069
+ #: woo-discount-rules/view/view-pricing-rules.php:658
2070
+ msgid "to"
2071
  msgstr ""
2072
 
2073
+ #. Text in echo
2074
+ #: woo-discount-rules/view/view-cart-rules.php:811
2075
  msgid "value :"
2076
  msgstr ""
2077
 
2078
+ #. Text in echo
2079
+ #: woo-discount-rules/view/view-pricing-rules.php:173
2080
+ msgid "{{condition}} -> Rule condition text"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2081
  msgstr ""
2082
 
2083
+ #. Text in echo
2084
+ #: woo-discount-rules/view/view-pricing-rules.php:168
2085
  msgid "{{description}} -> Description"
2086
  msgstr ""
2087
 
2088
+ #. Text in echo
2089
+ #: woo-discount-rules/view/settings_promotion.php:117
2090
+ msgid "{{description}} -> Rule description"
 
 
 
2091
  msgstr ""
2092
 
2093
+ #. Text in echo
2094
+ #: woo-discount-rules/view/view-cart-rules.php:737
2095
+ msgid "{{difference_amount}} -> Difference amount to get discount"
2096
  msgstr ""
2097
 
2098
+ #. Text in echo
2099
+ #: woo-discount-rules/view/view-pricing-rules.php:172
2100
  msgid "{{discounted_price}} -> Discounted price"
2101
  msgstr ""
2102
 
2103
+ #. Text in echo
2104
+ #: woo-discount-rules/view/view-pricing-rules.php:171
2105
+ msgid "{{discount}} -> Discount"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2106
  msgstr ""
2107
 
2108
+ #. Text in echo
2109
+ #: woo-discount-rules/view/view-pricing-rules.php:170
2110
+ msgid "{{max_quantity}} -> Maximum quantity"
2111
  msgstr ""
2112
 
2113
+ #. Text in echo
2114
+ #: woo-discount-rules/view/view-pricing-rules.php:169
2115
+ msgid "{{min_quantity}} -> Minimum quantity"
 
 
 
2116
  msgstr ""
2117
 
2118
+ #. Text in echo
2119
+ #: woo-discount-rules/view/settings_promotion.php:116
2120
+ msgid "{{title}} -> Rule title"
2121
  msgstr ""
2122
 
2123
+ #. Text in echo
2124
+ #: woo-discount-rules/view/view-pricing-rules.php:167
2125
+ msgid "{{title}} -> Title"
2126
  msgstr ""
2127
 
2128
+ #. Text in echo
2129
+ #: woo-discount-rules/view/settings_promotion.php:47
2130
+ msgid "{{total_discount_price}} -> Total discount applied"
2131
  msgstr ""
includes/cart-rules.php CHANGED
@@ -76,6 +76,7 @@ if (!class_exists('FlycartWooDiscountRulesCartRules')) {
76
  public static $cartRules;
77
 
78
  public $has_free_shipping = 0;
 
79
  public $bogo_coupon_codes = array();
80
  public static $applied_coupon = array();
81
 
@@ -185,7 +186,11 @@ if (!class_exists('FlycartWooDiscountRulesCartRules')) {
185
  $result['message'] = esc_html__('Failed to save', 'woo-discount-rules');
186
  $result['error_message'] = $validate_dynamic_coupon['message'];
187
  $result['invalid_field'] = 'create_dynamic_coupon';
188
- echo json_encode($result);
 
 
 
 
189
  die();
190
  }
191
  } else {
@@ -233,7 +238,14 @@ if (!class_exists('FlycartWooDiscountRulesCartRules')) {
233
  }
234
  }
235
 
236
- if (isset($request['discount_rule'])) $request['discount_rule'] = json_encode($request['discount_rule']);
 
 
 
 
 
 
 
237
 
238
  if (is_null($id) || !isset($id)) return false;
239
  FlycartWooDiscountRulesGeneralHelper::resetUsedCoupons($id, $coupons_used);
@@ -249,8 +261,11 @@ if (!class_exists('FlycartWooDiscountRulesCartRules')) {
249
  }
250
  }
251
  }
252
-
253
- echo json_encode($result);
 
 
 
254
  }
255
 
256
  /**
@@ -403,13 +418,13 @@ if (!class_exists('FlycartWooDiscountRulesCartRules')) {
403
  $discount_type = 'fixed_cart';
404
  $amount = $this->discount_total;
405
  if(FlycartWoocommerceVersion::wcVersion('3.2')){
406
- if(!$this->has_category_in_rule){
407
  $discount_type = 'percent';
408
  //To calculate the percent from total
409
  if($this->sub_total > 0) {
410
  $amount = ((100 * $this->discount_total) / $this->sub_total);
411
  }
412
- }
413
  }
414
 
415
  $coupon = array(
@@ -691,6 +706,11 @@ if (!class_exists('FlycartWooDiscountRulesCartRules')) {
691
  // If Order ID is '-', then this rule not going to implement.
692
  if ($rule->rule_order !== '-') {
693
  $rule_set[] = $rule;
 
 
 
 
 
694
  }
695
  }
696
  }
76
  public static $cartRules;
77
 
78
  public $has_free_shipping = 0;
79
+ public $has_free_shipping_rule = 0;
80
  public $bogo_coupon_codes = array();
81
  public static $applied_coupon = array();
82
 
186
  $result['message'] = esc_html__('Failed to save', 'woo-discount-rules');
187
  $result['error_message'] = $validate_dynamic_coupon['message'];
188
  $result['invalid_field'] = 'create_dynamic_coupon';
189
+ if(defined('JSON_UNESCAPED_UNICODE')){
190
+ echo json_encode($result, JSON_UNESCAPED_UNICODE);
191
+ } else {
192
+ echo json_encode($result);
193
+ }
194
  die();
195
  }
196
  } else {
238
  }
239
  }
240
 
241
+ if (isset($request['discount_rule'])){
242
+ if(defined('JSON_UNESCAPED_UNICODE')){
243
+ $request['discount_rule'] = json_encode($request['discount_rule'], JSON_UNESCAPED_UNICODE);
244
+ } else {
245
+ $request['discount_rule'] = json_encode($request['discount_rule']);
246
+ }
247
+
248
+ }
249
 
250
  if (is_null($id) || !isset($id)) return false;
251
  FlycartWooDiscountRulesGeneralHelper::resetUsedCoupons($id, $coupons_used);
261
  }
262
  }
263
  }
264
+ if(defined('JSON_UNESCAPED_UNICODE')){
265
+ echo json_encode($result, JSON_UNESCAPED_UNICODE);
266
+ } else {
267
+ echo json_encode($result);
268
+ }
269
  }
270
 
271
  /**
418
  $discount_type = 'fixed_cart';
419
  $amount = $this->discount_total;
420
  if(FlycartWoocommerceVersion::wcVersion('3.2')){
421
+ // if(!$this->has_category_in_rule){
422
  $discount_type = 'percent';
423
  //To calculate the percent from total
424
  if($this->sub_total > 0) {
425
  $amount = ((100 * $this->discount_total) / $this->sub_total);
426
  }
427
+ // }
428
  }
429
 
430
  $coupon = array(
706
  // If Order ID is '-', then this rule not going to implement.
707
  if ($rule->rule_order !== '-') {
708
  $rule_set[] = $rule;
709
+ if(!empty($rule->discount_type)){
710
+ if ($rule->discount_type == 'shipping_price') {
711
+ $this->has_free_shipping_rule = 1;
712
+ }
713
+ }
714
  }
715
  }
716
  }
includes/discount-base.php CHANGED
@@ -26,6 +26,7 @@ if (!class_exists('FlycartWooDiscountBase')) {
26
  private $instance = array();
27
 
28
  public $has_free_shipping = 0;
 
29
 
30
  protected static $self_instance;
31
 
@@ -85,6 +86,7 @@ if (!class_exists('FlycartWooDiscountBase')) {
85
  global $woocommerce;
86
  $cart_discount = $this->getInstance('FlycartWooDiscountRulesCartRules');
87
  $cart_discount->analyse($woocommerce, $free_shipping_check);
 
88
  if($free_shipping_check){
89
  $this->has_free_shipping = $cart_discount->has_free_shipping;
90
  }
@@ -826,7 +828,7 @@ if (!class_exists('FlycartWooDiscountBase')) {
826
  if (!$isPro) {
827
  $pricing_rule = $this->getInstance('FlycartWooDiscountRulesPricingRules');
828
  $data = $pricing_rule->getRules();
829
- if (count($data) >= 3) die('You are restricted to process this action.');
830
  }
831
  break;
832
 
@@ -857,7 +859,7 @@ if (!class_exists('FlycartWooDiscountBase')) {
857
  if (!$isPro) {
858
  $cart_rule = $this->getInstance('FlycartWooDiscountRulesCartRules');
859
  $total_record = $cart_rule->getRules(true);
860
- if ($total_record >= 3) wp_die('You are restricted to process this action.');
861
  }
862
  }
863
 
@@ -872,7 +874,7 @@ if (!class_exists('FlycartWooDiscountBase')) {
872
  if (!$isPro) {
873
  $cart_rule = $this->getInstance('FlycartWooDiscountRulesCartRules');
874
  $total_record = $cart_rule->getRules(true);
875
- if ($total_record >= 3) wp_die('You are restricted to process this action.');
876
  }
877
  break;
878
 
@@ -1137,6 +1139,10 @@ if (!class_exists('FlycartWooDiscountBase')) {
1137
  'more_than_one_cheapest_tool_tip_text' => __('Provide a specific product free when purchasing another product.<br><br>Instead of automatically adding, if you wish to choose the free product, you can select this option.<br><br>Note : Product will be discounted only when the user manually adds the product to cart.', 'woo-discount-rules'),
1138
  'more_than_one_cheapest_from_cat_tool_tip_text' => __('Used to provide BOGO discount within categories.<br><br>Example 1: Buy 2 from Category A and get 1 free from the same Category A.<br>Example 2: Buy any items from Category A and get 20% (limited percent) discount on Category B.', 'woo-discount-rules'),
1139
  'more_than_one_cheapest_from_all_tool_tip_text' => __('This allows you to offer the cheapest product in cart for free (or at a limited percentage like 50%)', 'woo-discount-rules'),
 
 
 
 
1140
  );
1141
  }
1142
 
26
  private $instance = array();
27
 
28
  public $has_free_shipping = 0;
29
+ public $has_free_shipping_rule = 0;
30
 
31
  protected static $self_instance;
32
 
86
  global $woocommerce;
87
  $cart_discount = $this->getInstance('FlycartWooDiscountRulesCartRules');
88
  $cart_discount->analyse($woocommerce, $free_shipping_check);
89
+ $this->has_free_shipping_rule = $cart_discount->has_free_shipping_rule;
90
  if($free_shipping_check){
91
  $this->has_free_shipping = $cart_discount->has_free_shipping;
92
  }
828
  if (!$isPro) {
829
  $pricing_rule = $this->getInstance('FlycartWooDiscountRulesPricingRules');
830
  $data = $pricing_rule->getRules();
831
+ if (count($data) >= 6) die('You are restricted to process this action.');
832
  }
833
  break;
834
 
859
  if (!$isPro) {
860
  $cart_rule = $this->getInstance('FlycartWooDiscountRulesCartRules');
861
  $total_record = $cart_rule->getRules(true);
862
+ if ($total_record >= 6) wp_die('You are restricted to process this action.');
863
  }
864
  }
865
 
874
  if (!$isPro) {
875
  $cart_rule = $this->getInstance('FlycartWooDiscountRulesCartRules');
876
  $total_record = $cart_rule->getRules(true);
877
+ if ($total_record >= 6) wp_die('You are restricted to process this action.');
878
  }
879
  break;
880
 
1139
  'more_than_one_cheapest_tool_tip_text' => __('Provide a specific product free when purchasing another product.<br><br>Instead of automatically adding, if you wish to choose the free product, you can select this option.<br><br>Note : Product will be discounted only when the user manually adds the product to cart.', 'woo-discount-rules'),
1140
  'more_than_one_cheapest_from_cat_tool_tip_text' => __('Used to provide BOGO discount within categories.<br><br>Example 1: Buy 2 from Category A and get 1 free from the same Category A.<br>Example 2: Buy any items from Category A and get 20% (limited percent) discount on Category B.', 'woo-discount-rules'),
1141
  'more_than_one_cheapest_from_all_tool_tip_text' => __('This allows you to offer the cheapest product in cart for free (or at a limited percentage like 50%)', 'woo-discount-rules'),
1142
+ 'apply_to_hint_all_products' => sprintf(__('<span class="wdr_desc_text">Useful for providing a discount on store wide or on all products.</span> <span class="wdr_desc_text"> <a href="%s">Read docs</a>.</span>', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/1459869-storewide-global-discount-for-all-products', 'discount_for_all_products')),
1143
+ 'apply_to_hint_specific_products' => sprintf(__('<span class="wdr_desc_text">Useful for providing a discount on selected products. Check the box to count quantities together across products.</span><br><span class="wdr_desc_text"><b>Note:</b> For variable products, you can auto include variants by enabling it in the settings. <a href="%s">Read docs</a>.</span>', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/1459887-product-specific-discount-get-discount-in-t-shirts', 'discount_for_specific_products')),
1144
+ 'apply_to_hint_specific_category' => sprintf(__('<span class="wdr_desc_text">Useful for providing a discount on a specific category or multiple categories.</span><br><span class="wdr_desc_text"><b>Example:</b> 10%% discount for products from category A or category B. <a href="%s">Read docs</a>.</span>', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/1459878-category-specific-discount', 'discount_for_specific_products')),
1145
+ 'apply_to_hint_specific_attribute' => sprintf(__('<span class="wdr_desc_text">Useful to offer discount based on attributes. <b>Example:</b> 10%% discount on Small Size T-shirts.</span><br><span class="wdr_desc_text"><b>Note:</b> Please make sure that the attributes are pre-defined in WooCommerce -> Attributes. <a href="%s">Read docs</a>.</span>', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/1993883-specific-attribute-based-discount', 'discount_for_specific_attributes')),
1146
  );
1147
  }
1148
 
includes/pricing-rules.php CHANGED
@@ -1364,7 +1364,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1364
  if(!empty($this->rule_sets))
1365
  foreach ($this->rule_sets as $id => $rule) {
1366
  $quantity = (isset($item['quantity']) ? $item['quantity'] : 0);
1367
-
1368
  //Exclude product from discount
1369
  $exclude_product_item = apply_filters('woo_discount_rules_exclude_product_from_discount', false, $item['data'], $id, $rule, $item);
1370
  if($exclude_product_item) continue;
@@ -1406,10 +1406,11 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1406
  case 'specific_products':
1407
  if ($this->isItemInProductList($rule['type']['specific_products'], $item)) {
1408
  if(isset($rule['is_cumulative_for_products']) && $rule['is_cumulative_for_products']){
 
1409
  if($bogo) $quantity = $this->getProductQuantityForCumulativeSpecificProducts($item, 0, $rule, $rule['type']['specific_products']);
1410
  else $quantity = $this->getProductQuantityForCumulativeSpecificProducts($item, $product_page, $rule, $rule['type']['specific_products']);
1411
  }
1412
- $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo);
1413
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1414
  }
1415
  break;
@@ -1420,6 +1421,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1420
  if ($this->isItemInCategoryList($rule['type']['specific_category'], $item) && $notInProductList && $is_not_in_exclude_sale_items) {
1421
  $alreadyExists = 0;
1422
  if(isset($rule['type']['is_cumulative']) && $rule['type']['is_cumulative']){
 
1423
  $totalQuantityInThisCategory = $this->getProductQuantityInThisCategory($rule['type']['specific_category'], $rule['product_to_exclude'], $rule['exclude_sale_items']);
1424
  if($product_page && !$bogo){
1425
  if(FlycartWooDiscountRulesGeneralHelper::addAQuantityForProductStrikeOut()){
@@ -1450,7 +1452,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1450
  }
1451
  }
1452
  if(!$alreadyExists){
1453
- $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo, $rule['product_to_exclude']);
1454
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1455
  }
1456
  }
@@ -1461,6 +1463,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1461
  if ($this->isItemInAttributeList($rule['type']['specific_attribute'], $item, $id) && $notInProductList && $is_not_in_exclude_sale_items) {
1462
  $alreadyExists = 0;
1463
  if(isset($rule['type']['is_cumulative']) && $rule['type']['is_cumulative']){
 
1464
  $totalQuantityInThisAttribute = $this->getProductQuantityInThisAttribute($rule['type']['specific_attribute'], $rule['product_to_exclude'], $rule['exclude_sale_items'], $id);
1465
  if($product_page && !$bogo){
1466
  if(FlycartWooDiscountRulesGeneralHelper::addAQuantityForProductStrikeOut()){
@@ -1491,7 +1494,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1491
  }
1492
  }
1493
  if(!$alreadyExists){
1494
- $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo, $rule['product_to_exclude']);
1495
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1496
  }
1497
  }
@@ -1502,10 +1505,11 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1502
  $is_not_in_exclude_sale_items = !$this->isItemInSaleItems($rule['exclude_sale_items'], $item['data']);
1503
  if (!$this->isItemInProductList($rule['product_to_exclude'], $item) && $is_not_in_exclude_sale_items) {
1504
  if(isset($rule['is_cumulative_for_products']) && $rule['is_cumulative_for_products']){
 
1505
  if($bogo) $quantity = $this->getProductQuantityForCumulativeProducts($item, 0, $rule);
1506
  else $quantity = $this->getProductQuantityForCumulativeProducts($item, $product_page, $rule);
1507
  }
1508
- $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo, $rule['product_to_exclude']);
1509
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1510
  }
1511
 
@@ -1934,13 +1938,13 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1934
  * @param $product_page
1935
  * @return array|bool
1936
  */
1937
- public function getAdjustmentAmount($item, $quantity, $discount_ranges, $rule, $product_page, $bogo, $product_to_exclude = array())
1938
  {
1939
  $adjustment = array();
1940
  if(FlycartWooDiscountRulesGeneralHelper::is_countable($discount_ranges)){
1941
  if($product_page){
1942
  if($this->custom_qty > 0){
1943
- $quantity += ($this->custom_qty-1);
1944
  }
1945
  }
1946
  $has_set_discount = $set_discount_min_qty = 0;
@@ -3405,6 +3409,24 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
3405
  }
3406
  }
3407
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3408
  /**
3409
  * Start Implement adjustment on individual items in the cart.
3410
  *
@@ -3444,6 +3466,13 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
3444
  $adjustment_set = $this->resetTheDiscountIfProductDiscountAdjustmentExists($adjustment_set, $product_id, $cart_item_key);
3445
  $additionalDetails = $rules_info = $additionalInfo = array();
3446
  $product_page = 0;
 
 
 
 
 
 
 
3447
  if ($type == 'first') {
3448
  // For Apply the First Rule.
3449
  $discount = $this->getAmount($adjustment_set, $price, 'first');
1364
  if(!empty($this->rule_sets))
1365
  foreach ($this->rule_sets as $id => $rule) {
1366
  $quantity = (isset($item['quantity']) ? $item['quantity'] : 0);
1367
+ $is_cumulative = false;
1368
  //Exclude product from discount
1369
  $exclude_product_item = apply_filters('woo_discount_rules_exclude_product_from_discount', false, $item['data'], $id, $rule, $item);
1370
  if($exclude_product_item) continue;
1406
  case 'specific_products':
1407
  if ($this->isItemInProductList($rule['type']['specific_products'], $item)) {
1408
  if(isset($rule['is_cumulative_for_products']) && $rule['is_cumulative_for_products']){
1409
+ $is_cumulative = true;
1410
  if($bogo) $quantity = $this->getProductQuantityForCumulativeSpecificProducts($item, 0, $rule, $rule['type']['specific_products']);
1411
  else $quantity = $this->getProductQuantityForCumulativeSpecificProducts($item, $product_page, $rule, $rule['type']['specific_products']);
1412
  }
1413
+ $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo, array(), $is_cumulative);
1414
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1415
  }
1416
  break;
1421
  if ($this->isItemInCategoryList($rule['type']['specific_category'], $item) && $notInProductList && $is_not_in_exclude_sale_items) {
1422
  $alreadyExists = 0;
1423
  if(isset($rule['type']['is_cumulative']) && $rule['type']['is_cumulative']){
1424
+ $is_cumulative = true;
1425
  $totalQuantityInThisCategory = $this->getProductQuantityInThisCategory($rule['type']['specific_category'], $rule['product_to_exclude'], $rule['exclude_sale_items']);
1426
  if($product_page && !$bogo){
1427
  if(FlycartWooDiscountRulesGeneralHelper::addAQuantityForProductStrikeOut()){
1452
  }
1453
  }
1454
  if(!$alreadyExists){
1455
+ $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo, $rule['product_to_exclude'], $is_cumulative);
1456
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1457
  }
1458
  }
1463
  if ($this->isItemInAttributeList($rule['type']['specific_attribute'], $item, $id) && $notInProductList && $is_not_in_exclude_sale_items) {
1464
  $alreadyExists = 0;
1465
  if(isset($rule['type']['is_cumulative']) && $rule['type']['is_cumulative']){
1466
+ $is_cumulative = true;
1467
  $totalQuantityInThisAttribute = $this->getProductQuantityInThisAttribute($rule['type']['specific_attribute'], $rule['product_to_exclude'], $rule['exclude_sale_items'], $id);
1468
  if($product_page && !$bogo){
1469
  if(FlycartWooDiscountRulesGeneralHelper::addAQuantityForProductStrikeOut()){
1494
  }
1495
  }
1496
  if(!$alreadyExists){
1497
+ $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo, $rule['product_to_exclude'], $is_cumulative);
1498
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1499
  }
1500
  }
1505
  $is_not_in_exclude_sale_items = !$this->isItemInSaleItems($rule['exclude_sale_items'], $item['data']);
1506
  if (!$this->isItemInProductList($rule['product_to_exclude'], $item) && $is_not_in_exclude_sale_items) {
1507
  if(isset($rule['is_cumulative_for_products']) && $rule['is_cumulative_for_products']){
1508
+ $is_cumulative = true;
1509
  if($bogo) $quantity = $this->getProductQuantityForCumulativeProducts($item, 0, $rule);
1510
  else $quantity = $this->getProductQuantityForCumulativeProducts($item, $product_page, $rule);
1511
  }
1512
+ $discount_amount = $this->getAdjustmentAmount($item, $quantity, $this->array_first($rule['discount']), $rule, $product_page, $bogo, $rule['product_to_exclude'], $is_cumulative);
1513
  $applied_rules[$i] = $this->formatRulesToApply($discount_amount, $rule['name'], $index, $item['product_id'], $id);
1514
  }
1515
 
1938
  * @param $product_page
1939
  * @return array|bool
1940
  */
1941
+ public function getAdjustmentAmount($item, $quantity, $discount_ranges, $rule, $product_page, $bogo, $product_to_exclude = array(), $is_cumulative = false)
1942
  {
1943
  $adjustment = array();
1944
  if(FlycartWooDiscountRulesGeneralHelper::is_countable($discount_ranges)){
1945
  if($product_page){
1946
  if($this->custom_qty > 0){
1947
+ if($is_cumulative == true) $quantity += ($this->custom_qty-1);
1948
  }
1949
  }
1950
  $has_set_discount = $set_discount_min_qty = 0;
3409
  }
3410
  }
3411
 
3412
+ /**
3413
+ * Check has BOGO in adjustment set
3414
+ * */
3415
+ public function hasBOGOInAdjustmentSet($adjustment_sets){
3416
+ $has_bogo = false;
3417
+ foreach ($adjustment_sets as $key => $adjustment_set){
3418
+ if(isset($adjustment_set['amount'])){
3419
+ if(isset($adjustment_set['amount']['product_ids'])){
3420
+ if(!empty($adjustment_set['amount']['product_ids'])){
3421
+ $has_bogo = true;
3422
+ }
3423
+ }
3424
+ }
3425
+ }
3426
+
3427
+ return $has_bogo;
3428
+ }
3429
+
3430
  /**
3431
  * Start Implement adjustment on individual items in the cart.
3432
  *
3466
  $adjustment_set = $this->resetTheDiscountIfProductDiscountAdjustmentExists($adjustment_set, $product_id, $cart_item_key);
3467
  $additionalDetails = $rules_info = $additionalInfo = array();
3468
  $product_page = 0;
3469
+ if(!in_array($type, array('first', 'biggest'))){
3470
+ $has_bogo = $this->hasBOGOInAdjustmentSet($adjustment_set);
3471
+ if($has_bogo === true){
3472
+ $type = 'biggest';
3473
+ }
3474
+ }
3475
+
3476
  if ($type == 'first') {
3477
  // For Apply the First Rule.
3478
  $discount = $this->getAmount($adjustment_set, $price, 'first');
loader.php CHANGED
@@ -454,6 +454,19 @@ if(!class_exists('FlycartWooDiscountRules')){
454
  if (isset($_REQUEST['wc-ajax']) && ($_REQUEST['wc-ajax'] == 'add_to_cart' || $_REQUEST['wc-ajax'] == 'remove_from_cart')) {
455
  add_action('woocommerce_before_mini_cart', array($this, 'applyRulesBeforeMiniCart'), 10);
456
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  }
458
 
459
  add_action('wp_ajax_loadWooDiscountStrikeoutPriceOfProduct', array($this->pricingRules, 'getWooDiscountStrikeoutPriceOfProduct'));
454
  if (isset($_REQUEST['wc-ajax']) && ($_REQUEST['wc-ajax'] == 'add_to_cart' || $_REQUEST['wc-ajax'] == 'remove_from_cart')) {
455
  add_action('woocommerce_before_mini_cart', array($this, 'applyRulesBeforeMiniCart'), 10);
456
  }
457
+ // Refresh the cart when a coupon applied
458
+ add_action('woocommerce_applied_coupon', function (){
459
+ add_action('woocommerce_before_cart', function (){
460
+ ?>
461
+ <script type="text/javascript">
462
+ jQuery( document ).ready(function() {
463
+ jQuery("[name='update_cart']").removeAttr('disabled');
464
+ jQuery("[name='update_cart']").trigger("click");
465
+ });
466
+ </script>
467
+ <?php
468
+ });
469
+ });
470
  }
471
 
472
  add_action('wp_ajax_loadWooDiscountStrikeoutPriceOfProduct', array($this->pricingRules, 'getWooDiscountStrikeoutPriceOfProduct'));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flycart.org/
4
  Tags: woocommerce, coupons, discounts, dynamic pricing, Buy One Get One Free, pricing deals, bulk discount, discount
5
  Requires at least: 4.4.1
6
  Tested up to: 5.3
7
- Stable tag: 1.9.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -336,6 +336,17 @@ Discount - Enter minimum & Maximum quantity -> Adjustment Type -> Product Discou
336
 
337
  == Changelog ==
338
 
 
 
 
 
 
 
 
 
 
 
 
339
  = 1.9.2 - 07/01/20 =
340
  * Fix - Disable discount rules coupon will work option doesn't works for cart rules.
341
  * Fix - Division by zero in cart rule BOGO.
4
  Tags: woocommerce, coupons, discounts, dynamic pricing, Buy One Get One Free, pricing deals, bulk discount, discount
5
  Requires at least: 4.4.1
6
  Tested up to: 5.3
7
+ Stable tag: 1.9.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
336
 
337
  == Changelog ==
338
 
339
+ = 1.9.3 - 29/01/20 =
340
+ * Fix - Disabled default free shipping even when the rule is disabled.
341
+ * Fix - Wrong strikeout on quantity update in product page.
342
+ * Fix - Dynamic coupon name with different language (Arabic) is not saved correctly in cart rule.
343
+ * Fix - Calculating wrong discount for category based rule in cart while having tax settings(displays incl tax in cart).
344
+ * Improvement - Refresh the cart on coupon applied when force refresh option is enabled.
345
+ * Improvement - Apply biggest discount when an item has BOGO rule.
346
+ * Improvement - Increased the free limit to 6.
347
+ * Improvement - Sample rules while activate the plugin.
348
+ * Improvement - Hints for user friendly.
349
+
350
  = 1.9.2 - 07/01/20 =
351
  * Fix - Disable discount rules coupon will work option doesn't works for cart rules.
352
  * Fix - Division by zero in cart rule BOGO.
view/cart-rules.php CHANGED
@@ -58,7 +58,7 @@ $current_language = FlycartWooDiscountRulesGeneralHelper::getWPMLLanguage();
58
  <div class="row">
59
  <div class="col-md-4" id="add_new_rule_div">
60
  <?php if (isset($rule_list)) {
61
- if (count($rule_list) >= 3 && !$pro) { ?>
62
  <a href="javascript:void(0)" class="btn btn-primary">
63
  <?php esc_html_e('You Reach Max. Rule Limit', 'woo-discount-rules'); ?>
64
  </a>
@@ -120,7 +120,7 @@ $current_language = FlycartWooDiscountRulesGeneralHelper::getWPMLLanguage();
120
  if (is_array($rule_list)) {
121
  if (count($rule_list) > 0) {
122
  foreach ($rule_list as $index => $rule) {
123
- if (!$pro && $i > 3) continue;
124
  $meta = $rule->meta;
125
  $status = isset($meta['status'][0]) ? $meta['status'][0] : 'disable';
126
  $class = 'btn btn-success';
58
  <div class="row">
59
  <div class="col-md-4" id="add_new_rule_div">
60
  <?php if (isset($rule_list)) {
61
+ if (count($rule_list) >= 6 && !$pro) { ?>
62
  <a href="javascript:void(0)" class="btn btn-primary">
63
  <?php esc_html_e('You Reach Max. Rule Limit', 'woo-discount-rules'); ?>
64
  </a>
120
  if (is_array($rule_list)) {
121
  if (count($rule_list) > 0) {
122
  foreach ($rule_list as $index => $rule) {
123
+ if (!$pro && $i > 6) continue;
124
  $meta = $rule->meta;
125
  $status = isset($meta['status'][0]) ? $meta['status'][0] : 'disable';
126
  $class = 'btn btn-success';
view/pricing-rules.php CHANGED
@@ -91,7 +91,7 @@ $current_language = FlycartWooDiscountRulesGeneralHelper::getWPMLLanguage();
91
  <div class="row">
92
  <div class="col-md-4">
93
  <?php if (isset($rule_list)) {
94
- if (count($rule_list) >= 3 && !$pro) { ?>
95
  <a href=javascript:void(0) class="btn btn-primary"><?php esc_html_e('You Reach Max. Rule Limit', 'woo-discount-rules'); ?></a>
96
  <?php } else {
97
  ?>
@@ -150,7 +150,7 @@ $current_language = FlycartWooDiscountRulesGeneralHelper::getWPMLLanguage();
150
  if (is_array($rule_list)) {
151
  if (count($rule_list) > 0) {
152
  foreach ($rule_list as $index => $rule) {
153
- if (!$pro && $i > 3) continue;
154
  $meta = $rule->meta;
155
  $status = isset($meta['status'][0]) ? $meta['status'][0] : 'disable';
156
  $class = 'btn btn-success';
91
  <div class="row">
92
  <div class="col-md-4">
93
  <?php if (isset($rule_list)) {
94
+ if (count($rule_list) >= 6 && !$pro) { ?>
95
  <a href=javascript:void(0) class="btn btn-primary"><?php esc_html_e('You Reach Max. Rule Limit', 'woo-discount-rules'); ?></a>
96
  <?php } else {
97
  ?>
150
  if (is_array($rule_list)) {
151
  if (count($rule_list) > 0) {
152
  foreach ($rule_list as $index => $rule) {
153
+ if (!$pro && $i > 6) continue;
154
  $meta = $rule->meta;
155
  $status = isset($meta['status'][0]) ? $meta['status'][0] : 'disable';
156
  $class = 'btn btn-success';
view/view-pricing-rules.php CHANGED
@@ -190,7 +190,10 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
190
  <div class="qty_based_condition_cont price_discount_condition_con">
191
  <div class="form-group">
192
  <div class="row">
193
- <div class="col-md-3"><label> <?php esc_html_e('Apply To', 'woo-discount-rules'); ?> </label></div>
 
 
 
194
  <?php $opt = (isset($data->apply_to) ? $data->apply_to : ''); ?>
195
  <div class="col-md-9"><select class="selectpicker"
196
  name="apply_to" id="apply_to">
@@ -267,7 +270,13 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
267
  <div class="form-group" id="product_exclude_list">
268
  <div class="form-group">
269
  <div class="row">
270
- <div class="col-md-3"><label><?php esc_html_e('Exclude products', 'woo-discount-rules'); ?></label></div>
 
 
 
 
 
 
271
  <div class="col-md-9">
272
  <?php
273
  if(isset($data->product_to_exclude)){
@@ -286,7 +295,13 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
286
  </div>
287
  <div class="form-group">
288
  <div class="row">
289
- <div class="col-md-3"><label for="exclude_sale_items"><?php esc_html_e('Exclude sale items', 'woo-discount-rules'); ?></label></div>
 
 
 
 
 
 
290
  <div class="col-md-9">
291
  <?php
292
  if($pro){
@@ -310,7 +325,13 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
310
 
311
  <div class="form-group">
312
  <div class="row">
313
- <div class="col-md-3"><label> <?php esc_html_e('Customers', 'woo-discount-rules'); ?> </label></div>
 
 
 
 
 
 
314
  <?php $opt = (isset($data->customer) ? $data->customer : ''); ?>
315
  <div class="col-md-9"><select class="selectpicker"
316
  name="customer" id="apply_customer">
@@ -338,7 +359,13 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
338
  </div>
339
  <div class="form-group">
340
  <div class="row">
341
- <div class="col-md-3"><label> <?php esc_html_e('User roles', 'woo-discount-rules') ?> </label></div>
 
 
 
 
 
 
342
  <div class="col-md-9">
343
  <?php
344
  if($pro){
@@ -365,7 +392,13 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
365
  </div>
366
  <div class="form-group">
367
  <div class="row">
368
- <div class="col-md-3"><label> <?php esc_html_e('Coupon', 'woo-discount-rules') ?> </label></div>
 
 
 
 
 
 
369
  <div class="col-md-9">
370
  <?php
371
  if($pro){
@@ -449,9 +482,13 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
449
  </div>
450
  <div class="form-group">
451
  <div class="row">
452
- <div class="col-md-3"><label> <?php esc_html_e('Subtotal', 'woo-discount-rules') ?>
453
- <span class="woocommerce-help-tip" data-tip="<?php esc_attr_e('Applies for the whole cart subtotal (not recommended).', 'woo-discount-rules'); ?>"></span>
454
- </label></div>
 
 
 
 
455
  <div class="col-md-9">
456
  <?php
457
  if($pro){
@@ -497,7 +534,13 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
497
  </div>
498
  <div class="form-group">
499
  <div class="row">
500
- <div class="col-md-3"><label><?php esc_html_e('Purchase History', 'woo-discount-rules'); ?></label></div>
 
 
 
 
 
 
501
  <?php $based_on_purchase_history = (isset($data->based_on_purchase_history) ? $data->based_on_purchase_history : 0); ?>
502
  <div class="col-md-9">
503
  <?php
@@ -667,7 +710,7 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
667
  <h4 class="text text-muted"> <?php esc_html_e('Discount', 'woo-discount-rules'); ?></h4>
668
  <div class="qty_based_discount_cont price_discounts_con">
669
  <a href=javascript:void(0) class="button button-primary" id="addNewDiscountRange"><i
670
- class="glyphicon glyphicon-plus"></i> <?php esc_html_e('Add New Range', 'woo-discount-rules'); ?></a>
671
  <hr>
672
  <div class="set_discount_with_range_warning">
673
  <div class="notice inline notice-warning notice-alt">
@@ -912,12 +955,12 @@ $current_date_and_time = FlycartWooDiscountRulesGeneralHelper::getCurrentDateAnd
912
  </div>
913
  </div>
914
  </label>
915
- <label><a href=javascript:void(0)
916
- class="btn btn-danger form-control remove_discount_range"><?php esc_html_e('Remove', 'woo-discount-rules'); ?></a>
917
- </label>
918
  <label><a href="javascript:void(0)" data-id="<?php echo $fieldIndex; ?>"
919
  class="btn btn-primary form-control create_duplicate_discount_range"><?php esc_html_e('Duplicate', 'woo-discount-rules'); ?></a>
920
  </label>
 
 
 
921
 
922
 
923
  </div>
190
  <div class="qty_based_condition_cont price_discount_condition_con">
191
  <div class="form-group">
192
  <div class="row">
193
+ <div class="col-md-3"><label> <?php esc_html_e('Apply To', 'woo-discount-rules'); ?> </label>
194
+ <div class="wdr_desc_text_con apply_to_hint">
195
+ </div>
196
+ </div>
197
  <?php $opt = (isset($data->apply_to) ? $data->apply_to : ''); ?>
198
  <div class="col-md-9"><select class="selectpicker"
199
  name="apply_to" id="apply_to">
270
  <div class="form-group" id="product_exclude_list">
271
  <div class="form-group">
272
  <div class="row">
273
+ <div class="col-md-3"><label><?php esc_html_e('Exclude products', 'woo-discount-rules'); ?></label>
274
+ <div class="wdr_desc_text_con">
275
+ <span class="wdr_desc_text">
276
+ <?php echo sprintf(__('Use this option to exclude selected products from getting a discount. <a href="%s">Read docs</a>.', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/3357868-how-to-exclude-products-from-the-discount', 'exclude_products')); ?>
277
+ </span>
278
+ </div>
279
+ </div>
280
  <div class="col-md-9">
281
  <?php
282
  if(isset($data->product_to_exclude)){
295
  </div>
296
  <div class="form-group">
297
  <div class="row">
298
+ <div class="col-md-3"><label for="exclude_sale_items"><?php esc_html_e('Exclude sale items', 'woo-discount-rules'); ?></label>
299
+ <div class="wdr_desc_text_con">
300
+ <span class="wdr_desc_text">
301
+ <?php echo __('Tick this checkbox if you wish to exclude products that already have a sale price set via WooCommerce.', 'woo-discount-rules'); ?>
302
+ </span>
303
+ </div>
304
+ </div>
305
  <div class="col-md-9">
306
  <?php
307
  if($pro){
325
 
326
  <div class="form-group">
327
  <div class="row">
328
+ <div class="col-md-3"><label> <?php esc_html_e('Customers', 'woo-discount-rules'); ?> </label>
329
+ <div class="wdr_desc_text_con">
330
+ <span class="wdr_desc_text">
331
+ <?php echo sprintf(__('Use this option to apply the rule for specific customers. <a href="%s">Read docs</a>.', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/2002022-customer-based-discount-specific-users', 'customer_based_discount')); ?>
332
+ </span>
333
+ </div>
334
+ </div>
335
  <?php $opt = (isset($data->customer) ? $data->customer : ''); ?>
336
  <div class="col-md-9"><select class="selectpicker"
337
  name="customer" id="apply_customer">
359
  </div>
360
  <div class="form-group">
361
  <div class="row">
362
+ <div class="col-md-3"><label> <?php esc_html_e('User roles', 'woo-discount-rules') ?> </label>
363
+ <div class="wdr_desc_text_con">
364
+ <span class="wdr_desc_text">
365
+ <?php echo sprintf(__('Use this option to set a discount based on user roles. <a href="%s">Read docs</a>.', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/1933842-user-role-based-discount-rules', 'user_role_based_discount')); ?>
366
+ </span>
367
+ </div>
368
+ </div>
369
  <div class="col-md-9">
370
  <?php
371
  if($pro){
392
  </div>
393
  <div class="form-group">
394
  <div class="row">
395
+ <div class="col-md-3"><label> <?php esc_html_e('Coupon', 'woo-discount-rules') ?> </label>
396
+ <div class="wdr_desc_text_con">
397
+ <span class="wdr_desc_text">
398
+ <?php echo sprintf(__('Useful if you wish to activate this discount rule via coupon code.<br>You can create your own coupon code here or select coupons created from WooCommerce -> Coupons. <a href="%s">Read docs</a>.', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/1818998-activate-discount-rule-using-a-coupon-code-in-woocommerce', 'coupon_based_discount')); ?>
399
+ </span>
400
+ </div>
401
+ </div>
402
  <div class="col-md-9">
403
  <?php
404
  if($pro){
482
  </div>
483
  <div class="form-group">
484
  <div class="row">
485
+ <div class="col-md-3"><label> <?php esc_html_e('Subtotal', 'woo-discount-rules') ?></label>
486
+ <div class="wdr_desc_text_con">
487
+ <span class="wdr_desc_text">
488
+ <?php echo __('Useful when you want to limit the rule based on subtotal. (Use this only when absolutely necessary.)<br>See cart based discount rule tab (link to cart based rule tab) for effective subtotal based discount rules.', 'woo-discount-rules'); ?>
489
+ </span>
490
+ </div>
491
+ </div>
492
  <div class="col-md-9">
493
  <?php
494
  if($pro){
534
  </div>
535
  <div class="form-group">
536
  <div class="row">
537
+ <div class="col-md-3"><label><?php esc_html_e('Purchase History', 'woo-discount-rules'); ?></label>
538
+ <div class="wdr_desc_text_con">
539
+ <span class="wdr_desc_text">
540
+ <?php echo sprintf(__('Useful for providing discounts based on previous purchase history.<br><b>Example:</b> First order discount, discount based on customer’s total spent so far. <a href="%s">Read docs</a>.', 'woo-discount-rules'), FlycartWooDiscountRulesGeneralHelper::docsDirectURL('https://docs.flycart.org/en/articles/1993999-purchase-history-based-discount', 'purchase_history_based_discount')); ?>
541
+ </span>
542
+ </div>
543
+ </div>
544
  <?php $based_on_purchase_history = (isset($data->based_on_purchase_history) ? $data->based_on_purchase_history : 0); ?>
545
  <div class="col-md-9">
546
  <?php
710
  <h4 class="text text-muted"> <?php esc_html_e('Discount', 'woo-discount-rules'); ?></h4>
711
  <div class="qty_based_discount_cont price_discounts_con">
712
  <a href=javascript:void(0) class="button button-primary" id="addNewDiscountRange"><i
713
+ class="glyphicon glyphicon-plus"></i> <?php esc_html_e('Add quantity ranges', 'woo-discount-rules'); ?></a>
714
  <hr>
715
  <div class="set_discount_with_range_warning">
716
  <div class="notice inline notice-warning notice-alt">
955
  </div>
956
  </div>
957
  </label>
 
 
 
958
  <label><a href="javascript:void(0)" data-id="<?php echo $fieldIndex; ?>"
959
  class="btn btn-primary form-control create_duplicate_discount_range"><?php esc_html_e('Duplicate', 'woo-discount-rules'); ?></a>
960
  </label>
961
+ <label><a href=javascript:void(0)
962
+ class="btn btn-danger form-control remove_discount_range"><?php esc_html_e('Remove', 'woo-discount-rules'); ?></a>
963
+ </label>
964
 
965
 
966
  </div>
woo-discount-rules.php CHANGED
@@ -5,13 +5,13 @@
5
  * Description: Simple Discount Rules for WooCommerce.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
- * Version: 1.9.2
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Domain Path: /i18n/languages/
12
  * Requires at least: 4.6.1
13
  * WC requires at least: 2.4
14
- * WC tested up to: 3.8
15
  */
16
 
17
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
@@ -23,4 +23,7 @@ define('WOO_DISCOUNT_PLUGIN_BASENAME', plugin_basename(__FILE__));
23
 
24
  include_once(dirname(__FILE__).'/helper/activation-helper.php');
25
 
 
 
 
26
  include_once(dirname(__FILE__).'/loader.php');
5
  * Description: Simple Discount Rules for WooCommerce.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
+ * Version: 1.9.3
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Domain Path: /i18n/languages/
12
  * Requires at least: 4.6.1
13
  * WC requires at least: 2.4
14
+ * WC tested up to: 3.9
15
  */
16
 
17
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
23
 
24
  include_once(dirname(__FILE__).'/helper/activation-helper.php');
25
 
26
+ register_activation_hook(__FILE__, 'onWooDiscountActivate');
27
+ register_deactivation_hook(__FILE__, 'onWooDiscountDeactivation');
28
+
29
  include_once(dirname(__FILE__).'/loader.php');