Booster for WooCommerce - Version 4.9.0

Version Description

  • 19/05/2020 =
  • Fix - CART & CHECKOUT - EU VAT Number - Add 'Restrictive Loading' option allowing to enqueue the module scripts on some conditions.
  • Fix - CART & CHECKOUT - Avoid possible cURL error on site-health by starting session only on frontend.
  • Fix - EMAILS & MISC. - Booster WPML - General Options - Improve 'Auto Switch Booster Currency' option using the wcml_client_currency filter to get the currency as well.
  • Fix - PAYMENT GATEWAYS - Custom Gateways - Add compatibility with "Load Modules on Init Hook" option.
  • Fix - PRICES & CURRENCIES - Global Discount - Fix possible php warning: Illegal string offset wcj_global_discount_price_hash.
  • Fix - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Get per product regular price instead of sale price when scheduled sale price is not valid.
  • Fix - PRICES & CURRENCIES - Wholesale Price - Display the [wcj_product_wholesale_price_table] shortcode only to products that really need the module.
  • Fix - PRODUCTS - Product Addons - Add Addon field to cart using its default value when the product is not on $_POST.
  • Fix - SHIPPING & ORDERS - Shipping by Cities - Improve city detection by also getting it when customer changes city.
  • Dev - CART & CHECKOUT - Checkout Core Fields - Add 'Checking Relation' option as a Plus feature, allowing to check only one condition to be true or all of them.
  • Dev - EMAILS & MISC. - Admin Tools - Add 'Shop Manager Editable Roles' option allowing to change the roles the Shop Manager role can edit.
  • Dev - PAYMENT GATEWAYS - Custom Gateways - Minimum order amount - Add option allowing to exclude Discounts from Yith Gift Cards on plus version.
  • Dev - PDF INVOICING & PACKING SLIPS - Create option allowing to choose to display some meta from 'WooCommerce Extra Product Options' on item_name paramater from wcj_order_items_table shortcode.
  • Dev - PDF INVOICING & PACKING SLIPS - Create option allowing to choose the separator from item_meta parameter from wcj_order_items_table.
  • Dev - PRICES & CURRENCIES - Wholesale Price - Add 'Price Table Format' option allowing to setup the title from [wcj_product_wholesale_price_table] shortcode.
  • Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add compatibility option with WooCommerce Coupons regarding min and max amount values.
  • Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add 'Convert Shipping Values' option.
  • Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add Compatibility option with 'WooCommerce Tree Table Rate Shipping' plugin.
  • Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add wcj_multicurrency_compatibility_wc_ttrs_instances filter.
  • Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add Compatibility option with 'Flexible Shipping' plugin.
  • Dev - PRICES & CURRENCIES - Prices and Currencies by Country - Add compatibility option with 'Woo Discount Rules' plugin.
  • Dev - PRICES & CURRENCIES - Prices and Currencies by Country - Add option 'Advanced: Saved Calculated Products Prices'.
  • Dev - PRODUCTS - Product Visibility by Country - Make the Country Switcher widget change the currency from the module.
  • Dev - PRODUCTS - Product Visibility by User Role - Add option to ignore the editable_roles filter allowing for example the shop_manager to see all roles.
  • Dev - PRODUCTS - Product MSRP - Add 'Treat Variable Products as Simple Products' option.
  • Dev - PRODUCTS - Product MSRP - Add 'Archive Field' option allowing to register a value that will be displayed only on archive.
  • Dev - PRODUCTS - Product MSRP - Add formula options for %you_save% and %you_save_percent% template variables.
  • Dev - SHIPPING & ORDERS - Shipping Methods by Users - Replace "Shipping Methods by Users" options by ajax settings.
  • Dev - Functions - Admin - Allow wcj_get_ajax_settings() searching customers by ajax passing woocommerce_json_search_customers on $search_type parameter.
  • Dev - Functions - Date Time - Add wcj_pretty_utc_date() function that takes into consideration configured language, timezone, and date format.
  • Tested up to: 5.4.
  • WC tested up to: 4.1
Download this release

Release Info

Developer pluggabl
Plugin Icon 128x128 Booster for WooCommerce
Version 4.9.0
Comparing to
See all releases

Code changes from version 4.8.0 to 4.9.0

Files changed (38) hide show
  1. includes/class-wcj-admin-tools.php +22 -2
  2. includes/class-wcj-checkout-core-fields.php +25 -8
  3. includes/class-wcj-eu-vat-number.php +42 -15
  4. includes/class-wcj-global-discount.php +6 -4
  5. includes/class-wcj-multicurrency.php +146 -7
  6. includes/class-wcj-order-min-amount.php +22 -3
  7. includes/class-wcj-product-addons.php +12 -8
  8. includes/class-wcj-product-by-country.php +5 -2
  9. includes/class-wcj-product-by-user-role.php +35 -3
  10. includes/class-wcj-product-msrp.php +57 -10
  11. includes/class-wcj-shipping-by-cities.php +5 -5
  12. includes/class-wcj-shipping-by-user-role.php +2 -4
  13. includes/class-wcj-wholesale-price.php +4 -3
  14. includes/class-wcj-wpml.php +6 -2
  15. includes/functions/wcj-functions-admin.php +9 -3
  16. includes/functions/wcj-functions-date-time.php +30 -1
  17. includes/functions/wcj-functions-orders.php +3 -3
  18. includes/functions/wcj-functions-products.php +18 -14
  19. includes/functions/wcj-functions-users.php +17 -7
  20. includes/gateways/class-wc-gateway-wcj-custom.php +8 -3
  21. includes/price-by-country/class-wcj-price-by-country-core.php +24 -3
  22. includes/settings/meta-box/wcj-settings-meta-box-product-msrp.php +15 -2
  23. includes/settings/wcj-settings-admin-tools.php +21 -1
  24. includes/settings/wcj-settings-checkout-core-fields.php +14 -1
  25. includes/settings/wcj-settings-eu-vat-number.php +23 -1
  26. includes/settings/wcj-settings-multicurrency.php +43 -7
  27. includes/settings/wcj-settings-order-min-amount.php +9 -1
  28. includes/settings/wcj-settings-pdf-invoicing-advanced.php +17 -1
  29. includes/settings/wcj-settings-price-by-country.php +18 -1
  30. includes/settings/wcj-settings-product-msrp.php +53 -1
  31. includes/settings/wcj-settings-shipping-by-condition.php +50 -26
  32. includes/settings/wcj-settings-wholesale-price.php +33 -1
  33. includes/shortcodes/class-wcj-shortcodes-order-items.php +24 -22
  34. includes/shortcodes/class-wcj-shortcodes-orders.php +4 -3
  35. includes/shortcodes/class-wcj-shortcodes-products.php +4 -3
  36. langs/woocommerce-jetpack.pot +592 -299
  37. readme.txt +38 -4
  38. woocommerce-jetpack.php +3 -3
includes/class-wcj-admin-tools.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Admin Tools
4
  *
5
- * @version 4.8.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -15,7 +15,7 @@ class WCJ_Admin_Tools extends WCJ_Module {
15
  /**
16
  * Constructor.
17
  *
18
- * @version 4.1.0
19
  * @todo [feature] (maybe) add editable (product and order) metas
20
  */
21
  function __construct() {
@@ -65,9 +65,29 @@ class WCJ_Admin_Tools extends WCJ_Module {
65
  }
66
  // Enable interface by user role
67
  add_filter( 'wcj_can_create_admin_interface', array( $this, 'enable_interface_by_user_roles' ) );
 
 
68
  }
69
  }
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  /**
72
  * enable_interface_by_user_roles.
73
  *
2
  /**
3
  * Booster for WooCommerce - Module - Admin Tools
4
  *
5
+ * @version 4.9.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
15
  /**
16
  * Constructor.
17
  *
18
+ * @version 4.9.0
19
  * @todo [feature] (maybe) add editable (product and order) metas
20
  */
21
  function __construct() {
65
  }
66
  // Enable interface by user role
67
  add_filter( 'wcj_can_create_admin_interface', array( $this, 'enable_interface_by_user_roles' ) );
68
+ // Shop Manager Editable Roles
69
+ add_filter( 'woocommerce_shop_manager_editable_roles', array( $this, 'change_shop_manager_editable_roles' ) );
70
  }
71
  }
72
 
73
+ /**
74
+ * change_shop_manager_editable_roles.
75
+ *
76
+ * @see wc_modify_editable_roles()
77
+ *
78
+ * @version 4.9.0
79
+ * @since 4.9.0
80
+ *
81
+ * @param $roles
82
+ *
83
+ * @return mixed
84
+ */
85
+ function change_shop_manager_editable_roles( $roles ) {
86
+ remove_filter( 'woocommerce_shop_manager_editable_roles', array( $this, 'change_shop_manager_editable_roles' ) );
87
+ $roles = get_option( 'wcj_admin_tools_shop_manager_editable_roles', apply_filters( 'woocommerce_shop_manager_editable_roles', array( 'customer' ) ) );
88
+ return $roles;
89
+ }
90
+
91
  /**
92
  * enable_interface_by_user_roles.
93
  *
includes/class-wcj-checkout-core-fields.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Checkout Core Fields
4
  *
5
- * @version 3.6.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -137,7 +137,7 @@ class WCJ_Checkout_Core_Fields extends WCJ_Module {
137
  /**
138
  * custom_override_checkout_fields.
139
  *
140
- * @version 3.6.0
141
  * @todo add "per products", "per products tags"
142
  * @todo (maybe) fix - priority seems to not affect tab order (same in Checkout Custom Fields module)
143
  * @todo (maybe) enable if was not enabled by default, i.e. `! isset( $checkout_fields[ $section ][ $field ] )`
@@ -161,7 +161,7 @@ class WCJ_Checkout_Core_Fields extends WCJ_Module {
161
  'exclude_categories' => apply_filters( 'booster_option', '', get_option( 'wcj_checkout_fields_' . $field . '_' . 'cats_excl', '' ) ),
162
  'include_tags' => '',
163
  'exclude_tags' => '',
164
- ) )
165
  ) {
166
  unset( $checkout_fields[ $section ][ $field ] );
167
  continue;
@@ -207,23 +207,40 @@ class WCJ_Checkout_Core_Fields extends WCJ_Module {
207
  /**
208
  * is_visible.
209
  *
210
- * @version 3.4.0
211
  * @since 3.4.0
212
  * @todo (maybe) save `$this->cart_product_ids` array (instead of calling `WC()->cart->get_cart()` for each field)
 
 
 
 
 
213
  */
214
- function is_visible( $args ) {
 
 
215
  foreach ( $args as $arg ) {
216
  if ( ! empty( $arg ) ) {
 
217
  // At least one arg is filled - checking products in cart
218
  foreach ( WC()->cart->get_cart() as $cart_item_key => $values ) {
219
- if ( ! wcj_is_enabled_for_product( $values['product_id'], $args ) ) {
220
- return false;
 
 
 
 
 
 
221
  }
222
  }
223
  break;
224
  }
225
  }
226
- return true;
 
 
 
227
  }
228
 
229
  /**
2
  /**
3
  * Booster for WooCommerce - Module - Checkout Core Fields
4
  *
5
+ * @version 4.9.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
137
  /**
138
  * custom_override_checkout_fields.
139
  *
140
+ * @version 4.9.0
141
  * @todo add "per products", "per products tags"
142
  * @todo (maybe) fix - priority seems to not affect tab order (same in Checkout Custom Fields module)
143
  * @todo (maybe) enable if was not enabled by default, i.e. `! isset( $checkout_fields[ $section ][ $field ] )`
161
  'exclude_categories' => apply_filters( 'booster_option', '', get_option( 'wcj_checkout_fields_' . $field . '_' . 'cats_excl', '' ) ),
162
  'include_tags' => '',
163
  'exclude_tags' => '',
164
+ ), get_option( 'wcj_checkout_core_fields_checking_relation', 'all' ) )
165
  ) {
166
  unset( $checkout_fields[ $section ][ $field ] );
167
  continue;
207
  /**
208
  * is_visible.
209
  *
210
+ * @version 4.9.0
211
  * @since 3.4.0
212
  * @todo (maybe) save `$this->cart_product_ids` array (instead of calling `WC()->cart->get_cart()` for each field)
213
+ *
214
+ * @param $args
215
+ * @param string $relation
216
+ *
217
+ * @return bool
218
  */
219
+ function is_visible( $args, $relation = 'and' ) {
220
+ $relation = strtolower( $relation );
221
+ $all_empty = true;
222
  foreach ( $args as $arg ) {
223
  if ( ! empty( $arg ) ) {
224
+ $all_empty = false;
225
  // At least one arg is filled - checking products in cart
226
  foreach ( WC()->cart->get_cart() as $cart_item_key => $values ) {
227
+ if ( 'and' === $relation ) {
228
+ if ( ! wcj_is_enabled_for_product( $values['product_id'], $args ) ) {
229
+ return false;
230
+ }
231
+ } elseif ( 'or' === $relation ) {
232
+ if ( wcj_is_enabled_for_product( $values['product_id'], $args ) ) {
233
+ return true;
234
+ }
235
  }
236
  }
237
  break;
238
  }
239
  }
240
+ if ( $all_empty ) {
241
+ return true;
242
+ }
243
+ return 'and' === $relation ? true : false;
244
  }
245
 
246
  /**
includes/class-wcj-eu-vat-number.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - EU VAT Number
4
  *
5
- * @version 4.7.1
6
  * @since 2.3.9
7
  * @author Algoritmika Ltd.
8
  */
@@ -347,9 +347,12 @@ class WCJ_EU_VAT_Number extends WCJ_Module {
347
  /**
348
  * start_session.
349
  *
350
- * @version 3.4.0
351
  */
352
  function start_session() {
 
 
 
353
  wcj_session_maybe_start();
354
  $args = array();
355
  if ( isset( $_POST['post_data'] ) ) {
@@ -361,25 +364,49 @@ class WCJ_EU_VAT_Number extends WCJ_Module {
361
  }
362
  }
363
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  /**
365
  * enqueue_scripts.
366
  *
367
- * @version 4.6.1
368
  */
369
  function enqueue_scripts() {
370
- if ( 'yes' === get_option( 'wcj_eu_vat_number_validate', 'yes' ) ) {
371
- wp_enqueue_script( 'wcj-eu-vat-number', wcj_plugin_url() . '/includes/js/wcj-eu-vat-number.js', array(), WCJ()->version, true );
372
- wp_localize_script( 'wcj-eu-vat-number', 'ajax_object', array(
373
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
374
- 'eu_countries' => wcj_get_european_union_countries(),
375
- 'show_vat_field_for_eu_only' => get_option( 'wcj_eu_vat_number_show_vat_field_for_eu_only', 'no' ),
376
- 'add_progress_text' => get_option( 'wcj_eu_vat_number_add_progress_text', 'no' ),
377
- 'progress_text_validating' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_validating', __( 'Validating VAT. Please wait...', 'woocommerce-jetpack' ) ) ),
378
- 'progress_text_valid' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_valid', __( 'VAT is valid.', 'woocommerce-jetpack' ) ) ),
379
- 'progress_text_not_valid' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_not_valid', __( 'VAT is not valid.', 'woocommerce-jetpack' ) ) ),
380
- 'progress_text_validation_failed' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_validation_failed', __( 'Validation failed. Please try again.', 'woocommerce-jetpack' ) ) ),
381
- ) );
382
  }
 
 
 
 
 
 
 
 
 
 
 
383
  }
384
 
385
  /**
2
  /**
3
  * Booster for WooCommerce - Module - EU VAT Number
4
  *
5
+ * @version 4.9.0
6
  * @since 2.3.9
7
  * @author Algoritmika Ltd.
8
  */
347
  /**
348
  * start_session.
349
  *
350
+ * @version 4.9.0
351
  */
352
  function start_session() {
353
+ if ( is_admin() ) {
354
+ return;
355
+ }
356
  wcj_session_maybe_start();
357
  $args = array();
358
  if ( isset( $_POST['post_data'] ) ) {
364
  }
365
  }
366
 
367
+ /**
368
+ * restrictive_loading_valid.
369
+ *
370
+ * @version 4.9.0
371
+ * @since 4.9.0
372
+ *
373
+ * @return bool
374
+ */
375
+ function restrictive_loading_valid() {
376
+ if ( empty( $restrictive_loading_conditions = get_option( 'wcj_eu_vat_number_restrictive_loading', array() ) ) ) {
377
+ return true;
378
+ }
379
+ foreach ( $restrictive_loading_conditions as $condition ) {
380
+ if ( $condition() ) {
381
+ return true;
382
+ }
383
+ }
384
+ return false;
385
+ }
386
+
387
  /**
388
  * enqueue_scripts.
389
  *
390
+ * @version 4.9.0
391
  */
392
  function enqueue_scripts() {
393
+ if (
394
+ 'no' === get_option( 'wcj_eu_vat_number_validate', 'yes' ) ||
395
+ ! $this->restrictive_loading_valid()
396
+ ) {
397
+ return;
 
 
 
 
 
 
 
398
  }
399
+ wp_enqueue_script( 'wcj-eu-vat-number', wcj_plugin_url() . '/includes/js/wcj-eu-vat-number.js', array(), WCJ()->version, true );
400
+ wp_localize_script( 'wcj-eu-vat-number', 'ajax_object', array(
401
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
402
+ 'eu_countries' => wcj_get_european_union_countries(),
403
+ 'show_vat_field_for_eu_only' => get_option( 'wcj_eu_vat_number_show_vat_field_for_eu_only', 'no' ),
404
+ 'add_progress_text' => get_option( 'wcj_eu_vat_number_add_progress_text', 'no' ),
405
+ 'progress_text_validating' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_validating', __( 'Validating VAT. Please wait...', 'woocommerce-jetpack' ) ) ),
406
+ 'progress_text_valid' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_valid', __( 'VAT is valid.', 'woocommerce-jetpack' ) ) ),
407
+ 'progress_text_not_valid' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_not_valid', __( 'VAT is not valid.', 'woocommerce-jetpack' ) ) ),
408
+ 'progress_text_validation_failed' => do_shortcode( get_option( 'wcj_eu_vat_number_progress_text_validation_failed', __( 'Validation failed. Please try again.', 'woocommerce-jetpack' ) ) ),
409
+ ) );
410
  }
411
 
412
  /**
includes/class-wcj-global-discount.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Global Discount
4
  *
5
- * @version 4.8.0
6
  * @since 2.5.7
7
  * @author Algoritmika Ltd.
8
  */
@@ -409,12 +409,14 @@ class WCJ_Global_Discount extends WCJ_Module {
409
  /**
410
  * get_variation_prices_hash.
411
  *
412
- * @version 4.8.0
413
  * @since 2.5.7
414
  */
415
  function get_variation_prices_hash( $price_hash, $_product, $display ) {
416
- $options = $this->get_global_discount_options();
417
- $price_hash['wcj_global_discount_price_hash'] = $options;
 
 
418
  return $price_hash;
419
  }
420
 
2
  /**
3
  * Booster for WooCommerce - Module - Global Discount
4
  *
5
+ * @version 4.9.0
6
  * @since 2.5.7
7
  * @author Algoritmika Ltd.
8
  */
409
  /**
410
  * get_variation_prices_hash.
411
  *
412
+ * @version 4.9.0
413
  * @since 2.5.7
414
  */
415
  function get_variation_prices_hash( $price_hash, $_product, $display ) {
416
+ $options = $this->get_global_discount_options();
417
+ if ( is_array( $price_hash ) ) {
418
+ $price_hash['wcj_global_discount_price_hash'] = $options;
419
+ }
420
  return $price_hash;
421
  }
422
 
includes/class-wcj-multicurrency.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Multicurrency (Currency Switcher)
4
  *
5
- * @version 4.6.0
6
  * @since 2.4.3
7
  * @author Algoritmika Ltd.
8
  */
@@ -91,7 +91,7 @@ class WCJ_Multicurrency extends WCJ_Module {
91
  /**
92
  * Handles third party compatibility
93
  *
94
- * @version 4.6.0
95
  * @since 4.3.0
96
  */
97
  function handle_third_party_compatibility(){
@@ -101,6 +101,7 @@ class WCJ_Multicurrency extends WCJ_Module {
101
  }
102
 
103
  // WooCommerce Coupons
 
104
  add_action( 'woocommerce_coupon_get_discount_amount', array( $this, 'fix_wc_coupon_currency' ), 10, 5 );
105
 
106
  // WooCommerce Price Filter Widget
@@ -131,6 +132,137 @@ class WCJ_Multicurrency extends WCJ_Module {
131
  wcj_remove_class_filter( 'woocommerce_add_to_cart', 'WPcleverWoosb', 'woosb_add_to_cart' );
132
  }
133
  }, 99 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  }
135
 
136
  /**
@@ -884,7 +1016,7 @@ class WCJ_Multicurrency extends WCJ_Module {
884
  /**
885
  * change_price.
886
  *
887
- * @version 4.6.0
888
  */
889
  function change_price( $price, $_product ) {
890
  if ( '' === $price ) {
@@ -920,8 +1052,12 @@ class WCJ_Multicurrency extends WCJ_Module {
920
  $this->save_price( $price, $_product_id, $_current_filter );
921
  return $price;
922
  } elseif ( WCJ_PRODUCT_GET_PRICE_FILTER == $_current_filter || 'woocommerce_variation_prices_price' == $_current_filter || 'woocommerce_product_variation_get_price' == $_current_filter || in_array( $_current_filter, $this->additional_price_filters ) ) {
923
- $sale_price_per_product = get_post_meta( $_product_id, '_' . 'wcj_multicurrency_per_product_sale_price_' . $this->get_current_currency_code(), true );
924
- $price = ( '' != $sale_price_per_product && $sale_price_per_product < $regular_price_per_product ) ? $sale_price_per_product : $regular_price_per_product;
 
 
 
 
925
  $this->save_price( $price, $_product_id, $_current_filter );
926
  return $price;
927
  } elseif ( WCJ_PRODUCT_GET_REGULAR_PRICE_FILTER == $_current_filter || 'woocommerce_variation_prices_regular_price' == $_current_filter || 'woocommerce_product_variation_get_regular_price' == $_current_filter ) {
@@ -998,10 +1134,13 @@ class WCJ_Multicurrency extends WCJ_Module {
998
  /**
999
  * change_price_shipping.
1000
  *
1001
- * @version 3.2.0
1002
  */
1003
  function change_price_shipping( $package_rates, $package ) {
1004
- if ( $this->do_revert() ) {
 
 
 
1005
  return $package_rates;
1006
  }
1007
  $currency_exchange_rate = $this->get_currency_exchange_rate( $this->get_current_currency_code() );
2
  /**
3
  * Booster for WooCommerce - Module - Multicurrency (Currency Switcher)
4
  *
5
+ * @version 4.9.0
6
  * @since 2.4.3
7
  * @author Algoritmika Ltd.
8
  */
91
  /**
92
  * Handles third party compatibility
93
  *
94
+ * @version 4.9.0
95
  * @since 4.3.0
96
  */
97
  function handle_third_party_compatibility(){
101
  }
102
 
103
  // WooCommerce Coupons
104
+ add_filter( 'woocommerce_coupon_is_valid', array( $this, 'check_woocommerce_coupon_min_max_amount' ), 10, 3 );
105
  add_action( 'woocommerce_coupon_get_discount_amount', array( $this, 'fix_wc_coupon_currency' ), 10, 5 );
106
 
107
  // WooCommerce Price Filter Widget
132
  wcj_remove_class_filter( 'woocommerce_add_to_cart', 'WPcleverWoosb', 'woosb_add_to_cart' );
133
  }
134
  }, 99 );
135
+
136
+ // WooCommerce Tree Table Rate Shipping (https://tablerateshipping.com/)
137
+ $this->wc_tree_table_rate_shipping_compatibility();
138
+
139
+ // Flexible Shipping plugin https://flexibleshipping.com/
140
+ add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_compatibility' ) );
141
+ }
142
+
143
+ /**
144
+ * wcj_multicurrency_compatibility_flexible_shipping.
145
+ *
146
+ * @see https://flexibleshipping.com
147
+ *
148
+ * @version 4.9.0
149
+ * @since 4.9.0
150
+ *
151
+ */
152
+ function flexible_shipping_compatibility( $value ) {
153
+ if ( 'yes' !== get_option( 'wcj_multicurrency_compatibility_flexible_shipping', 'no' ) ) {
154
+ return $value;
155
+ }
156
+ $value *= $this->get_currency_exchange_rate( $this->get_current_currency_code() );
157
+ return $value;
158
+ }
159
+
160
+ /**
161
+ * wc_tree_table_rate_shipping_compatibility.
162
+ *
163
+ * @see https://tablerateshipping.com/
164
+ *
165
+ * @version 4.9.0
166
+ * @since 4.9.0
167
+ */
168
+ function wc_tree_table_rate_shipping_compatibility() {
169
+ $shipping_instance_max = apply_filters( 'wcj_multicurrency_compatibility_wc_ttrs_instances', 90 );
170
+ for ( $i = 1; $i <= $shipping_instance_max; $i ++ ) {
171
+ add_filter( 'option_' . 'woocommerce_tree_table_rate_' . $i . '_settings', array( $this, 'convert_wc_tree_table_rate_settings' ) );
172
+ }
173
+ }
174
+
175
+ /**
176
+ * get_wc_tree_table_rate_settings.
177
+ *
178
+ * @version 4.9.0
179
+ * @since 4.9.0
180
+ *
181
+ * @param $option
182
+ *
183
+ * @return mixed
184
+ */
185
+ function convert_wc_tree_table_rate_settings( $option ) {
186
+ if ( 'no' === get_option( 'wcj_multicurrency_compatibility_wc_ttrs', 'no' ) ) {
187
+ return $option;
188
+ }
189
+ $rule = json_decode( $option['rule'] );
190
+ $modified_rule = $this->recursively_convert_wc_tree_settings( $rule, array(
191
+ 'change_keys' => array( 'value', 'min', 'max' ),
192
+ 'exchange_rate' => $this->get_currency_exchange_rate( $this->get_current_currency_code() )
193
+ ) );
194
+ $option['rule'] = json_encode( $modified_rule );
195
+ return $option;
196
+ }
197
+
198
+ /**
199
+ * recursively_convert_wc_tree_settings.
200
+ *
201
+ * @version 4.9.0
202
+ * @since 4.9.0
203
+ *
204
+ * @param $array
205
+ * @param null $args
206
+ *
207
+ * @return array
208
+ */
209
+ function recursively_convert_wc_tree_settings( $array, $args = null ) {
210
+ $args = wp_parse_args( $args, array(
211
+ 'change_keys' => array(),
212
+ 'exchange_rate' => 1,
213
+ ) );
214
+ $change_keys = $args['change_keys'];
215
+ $exchange_rate = $args['exchange_rate'];
216
+ foreach ( $array as $key => $value ) {
217
+ $array_test = is_array( $array ) ? $array : get_object_vars( $array );
218
+ if (
219
+ in_array( $key, $change_keys ) &&
220
+ ( isset( $array_test['condition'] ) && ( 'price' == $array_test['condition'] ) )
221
+ ) {
222
+ if ( is_array( $array ) ) {
223
+ if ( ! empty( $value ) && is_numeric( $value ) ) {
224
+ $array[ $key ] = $value * $exchange_rate;
225
+ }
226
+ } elseif ( is_a( $array, 'stdClass' ) ) {
227
+ if ( ! empty( $value ) && is_numeric( $value ) ) {
228
+ $array->$key = $value * $exchange_rate;
229
+ }
230
+ }
231
+ }
232
+ if ( is_array( $value ) || is_a( $value, 'stdClass' ) ) {
233
+ $this->recursively_convert_wc_tree_settings( $value, $args );
234
+ }
235
+ }
236
+ return $array;
237
+ }
238
+
239
+ /**
240
+ * @version 4.9.0
241
+ * @since 4.9.0
242
+ *
243
+ * @param $valid
244
+ * @param WC_Coupon $coupon
245
+ * @param WC_Discounts $wc_discounts
246
+ *
247
+ * @return bool
248
+ * @throws Exception
249
+ */
250
+ function check_woocommerce_coupon_min_max_amount( $valid, WC_Coupon $coupon, WC_Discounts $wc_discounts ) {
251
+ if ( 'yes' !== get_option( 'wcj_multicurrency_compatibility_wc_coupons', 'no' ) ) {
252
+ return $valid;
253
+ }
254
+ remove_filter( 'woocommerce_coupon_is_valid', array( $this, 'check_woocommerce_coupon_min_max_amount' ), 10 );
255
+ if ( ! empty( $minimum_amount = $coupon->get_minimum_amount() ) ) {
256
+ $coupon->set_minimum_amount( $this->change_price( $minimum_amount, null ) );
257
+ }
258
+ if ( ! empty( $maximum_amount = $coupon->get_maximum_amount() ) ) {
259
+ $coupon->set_maximum_amount( $this->change_price( $maximum_amount, null ) );
260
+ }
261
+ $is_coupon_valid = $wc_discounts->is_coupon_valid( $coupon );
262
+ if ( is_wp_error( $is_coupon_valid ) ) {
263
+ return false;
264
+ }
265
+ return $valid;
266
  }
267
 
268
  /**
1016
  /**
1017
  * change_price.
1018
  *
1019
+ * @version 4.9.0
1020
  */
1021
  function change_price( $price, $_product ) {
1022
  if ( '' === $price ) {
1052
  $this->save_price( $price, $_product_id, $_current_filter );
1053
  return $price;
1054
  } elseif ( WCJ_PRODUCT_GET_PRICE_FILTER == $_current_filter || 'woocommerce_variation_prices_price' == $_current_filter || 'woocommerce_product_variation_get_price' == $_current_filter || in_array( $_current_filter, $this->additional_price_filters ) ) {
1055
+ if ( $_product->is_on_sale() ) {
1056
+ $sale_price_per_product = get_post_meta( $_product_id, '_' . 'wcj_multicurrency_per_product_sale_price_' . $this->get_current_currency_code(), true );
1057
+ $price = ( '' != $sale_price_per_product && $sale_price_per_product < $regular_price_per_product ) ? $sale_price_per_product : $regular_price_per_product;
1058
+ } else {
1059
+ $price = $regular_price_per_product;
1060
+ }
1061
  $this->save_price( $price, $_product_id, $_current_filter );
1062
  return $price;
1063
  } elseif ( WCJ_PRODUCT_GET_REGULAR_PRICE_FILTER == $_current_filter || 'woocommerce_variation_prices_regular_price' == $_current_filter || 'woocommerce_product_variation_get_regular_price' == $_current_filter ) {
1134
  /**
1135
  * change_price_shipping.
1136
  *
1137
+ * @version 4.9.0
1138
  */
1139
  function change_price_shipping( $package_rates, $package ) {
1140
+ if (
1141
+ $this->do_revert() ||
1142
+ 'no' === get_option( 'wcj_multicurrency_convert_shipping_values', 'yes' )
1143
+ ) {
1144
  return $package_rates;
1145
  }
1146
  $currency_exchange_rate = $this->get_currency_exchange_rate( $this->get_current_currency_code() );
includes/class-wcj-order-min-amount.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Order Minimum Amount
4
  *
5
- * @version 4.1.0
6
  * @since 2.5.7
7
  * @author Algoritmika Ltd.
8
  * @todo order max amount
@@ -14,6 +14,8 @@ if ( ! class_exists( 'WCJ_Order_Min_Amount' ) ) :
14
 
15
  class WCJ_Order_Min_Amount extends WCJ_Module {
16
 
 
 
17
  /**
18
  * Constructor.
19
  *
@@ -36,7 +38,7 @@ class WCJ_Order_Min_Amount extends WCJ_Module {
36
  /**
37
  * add_order_minimum_amount_hooks.
38
  *
39
- * @version 2.6.0
40
  * @since 2.5.3
41
  * @todo (maybe) `template_redirect` instead of `wp`
42
  */
@@ -59,6 +61,20 @@ class WCJ_Order_Min_Amount extends WCJ_Module {
59
  add_action( 'wp', array( $this, 'stop_from_seeing_checkout' ), 100 );
60
  }
61
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
63
 
64
  /**
@@ -93,7 +109,7 @@ class WCJ_Order_Min_Amount extends WCJ_Module {
93
  /**
94
  * get_cart_total_for_minimal_order_amount.
95
  *
96
- * @version 3.2.4
97
  * @since 2.5.5
98
  */
99
  function get_cart_total_for_minimal_order_amount() {
@@ -110,6 +126,9 @@ class WCJ_Order_Min_Amount extends WCJ_Module {
110
  if ( 'yes' === get_option( 'wcj_order_minimum_amount_exclude_discounts', 'no' ) ) {
111
  $cart_total += ( WC()->cart->get_cart_discount_total() + WC()->cart->get_cart_discount_tax_total() );
112
  }
 
 
 
113
  return $cart_total;
114
  }
115
 
2
  /**
3
  * Booster for WooCommerce - Module - Order Minimum Amount
4
  *
5
+ * @version 4.9.0
6
  * @since 2.5.7
7
  * @author Algoritmika Ltd.
8
  * @todo order max amount
14
 
15
  class WCJ_Order_Min_Amount extends WCJ_Module {
16
 
17
+ private $yith_gift_card_discount = 0;
18
+
19
  /**
20
  * Constructor.
21
  *
38
  /**
39
  * add_order_minimum_amount_hooks.
40
  *
41
+ * @version 4.9.0
42
  * @since 2.5.3
43
  * @todo (maybe) `template_redirect` instead of `wp`
44
  */
61
  add_action( 'wp', array( $this, 'stop_from_seeing_checkout' ), 100 );
62
  }
63
  }
64
+ add_action( 'yith_ywgc_apply_gift_card_discount_after_cart_total', array( $this, 'get_yith_gift_cards_discount' ), 10, 2 );
65
+ }
66
+
67
+ /**
68
+ * get_yith_gift_cards_discount
69
+ *
70
+ * @version 4.9.0
71
+ * @since 4.9.0
72
+ *
73
+ * @param $cart
74
+ * @param $discount
75
+ */
76
+ function get_yith_gift_cards_discount( $cart, $discount ) {
77
+ $this->yith_gift_card_discount = $discount;
78
  }
79
 
80
  /**
109
  /**
110
  * get_cart_total_for_minimal_order_amount.
111
  *
112
+ * @version 4.9.0
113
  * @since 2.5.5
114
  */
115
  function get_cart_total_for_minimal_order_amount() {
126
  if ( 'yes' === get_option( 'wcj_order_minimum_amount_exclude_discounts', 'no' ) ) {
127
  $cart_total += ( WC()->cart->get_cart_discount_total() + WC()->cart->get_cart_discount_tax_total() );
128
  }
129
+ if ('yes' === get_option( 'wcj_order_minimum_amount_exclude_yith_gift_card_discount', 'no' ) ) {
130
+ $cart_total += $this->yith_gift_card_discount;
131
+ }
132
  return $cart_total;
133
  }
134
 
includes/class-wcj-product-addons.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Product Addons
4
  *
5
- * @version 4.8.0
6
  * @since 2.5.3
7
  * @author Algoritmika Ltd.
8
  * @todo admin order view (names)
@@ -256,7 +256,7 @@ class WCJ_Product_Addons extends WCJ_Module {
256
  /**
257
  * validate_on_add_to_cart.
258
  *
259
- * @version 4.6.1
260
  * @since 2.5.5
261
  */
262
  function validate_on_add_to_cart( $passed, $product_id, $quantity ) {
@@ -274,7 +274,7 @@ class WCJ_Product_Addons extends WCJ_Module {
274
  continue;
275
  }
276
  if ( 'yes' === $addon['is_required'] ) {
277
- if ( ! isset( $_POST[ $addon['checkbox_key'] ] ) ) {
278
  wc_add_notice( __( 'Some of the required addons are not selected!', 'woocommerce-jetpack' ), 'error' );
279
  return false;
280
  }
@@ -649,7 +649,7 @@ class WCJ_Product_Addons extends WCJ_Module {
649
  /**
650
  * add_addons_price_to_cart_item_data.
651
  *
652
- * @version 4.6.1
653
  * @since 2.5.3
654
  */
655
  function add_addons_price_to_cart_item_data( $cart_item_data, $product_id, $variation_id ) {
@@ -664,19 +664,23 @@ class WCJ_Product_Addons extends WCJ_Module {
664
  continue;
665
  }
666
  $price_value = $this->replace_price_template_vars( $addon['price_value'], $variation_id ? $variation_id : $product_id );
667
- if ( isset( $_POST[ $addon['checkbox_key'] ] ) ) {
668
- if ( ( 'checkbox' === $addon['type'] || '' == $addon['type'] ) || ( 'text' == $addon['type'] && '' != $_POST[ $addon['checkbox_key'] ] ) ) {
 
 
 
 
669
  $cart_item_data[ $addon['price_key'] ] = $price_value;
670
  $cart_item_data[ $addon['label_key'] ] = $addon['label_value'];
671
  if ( 'text' == $addon['type'] ) {
672
- $cart_item_data[ $addon['label_key'] ] .= ' (' . $_POST[ $addon['checkbox_key'] ] . ')';
673
  }
674
  } elseif ( 'radio' === $addon['type'] || 'select' === $addon['type'] ) {
675
  $prices = $this->clean_and_explode( PHP_EOL, $price_value );
676
  $labels = $this->clean_and_explode( PHP_EOL, $addon['label_value'] );
677
  if ( count( $labels ) === count( $prices ) ) {
678
  foreach ( $labels as $i => $label ) {
679
- if ( $_POST[ $addon['checkbox_key'] ] == sanitize_title( $label ) ) {
680
  $cart_item_data[ $addon['price_key'] ] = $prices[ $i ];
681
  $cart_item_data[ $addon['label_key'] ] = $labels[ $i ];
682
  break;
2
  /**
3
  * Booster for WooCommerce - Module - Product Addons
4
  *
5
+ * @version 4.9.0
6
  * @since 2.5.3
7
  * @author Algoritmika Ltd.
8
  * @todo admin order view (names)
256
  /**
257
  * validate_on_add_to_cart.
258
  *
259
+ * @version 4.9.0
260
  * @since 2.5.5
261
  */
262
  function validate_on_add_to_cart( $passed, $product_id, $quantity ) {
274
  continue;
275
  }
276
  if ( 'yes' === $addon['is_required'] ) {
277
+ if ( ! isset( $_POST[ $addon['checkbox_key'] ] ) && empty( $addon['default'] ) ) {
278
  wc_add_notice( __( 'Some of the required addons are not selected!', 'woocommerce-jetpack' ), 'error' );
279
  return false;
280
  }
649
  /**
650
  * add_addons_price_to_cart_item_data.
651
  *
652
+ * @version 4.9.0
653
  * @since 2.5.3
654
  */
655
  function add_addons_price_to_cart_item_data( $cart_item_data, $product_id, $variation_id ) {
664
  continue;
665
  }
666
  $price_value = $this->replace_price_template_vars( $addon['price_value'], $variation_id ? $variation_id : $product_id );
667
+ if (
668
+ isset( $_POST[ $addon['checkbox_key'] ] ) ||
669
+ ! empty( $addon['default'] )
670
+ ) {
671
+ $checkbox_key = isset( $_POST[ $addon['checkbox_key'] ] ) ? $_POST[ $addon['checkbox_key'] ] : ( ! empty( $addon['default'] ) ? $addon['default'] : null );
672
+ if ( ( 'checkbox' === $addon['type'] || '' == $addon['type'] ) || ( 'text' == $addon['type'] && '' != $checkbox_key ) ) {
673
  $cart_item_data[ $addon['price_key'] ] = $price_value;
674
  $cart_item_data[ $addon['label_key'] ] = $addon['label_value'];
675
  if ( 'text' == $addon['type'] ) {
676
+ $cart_item_data[ $addon['label_key'] ] .= ' (' . $checkbox_key . ')';
677
  }
678
  } elseif ( 'radio' === $addon['type'] || 'select' === $addon['type'] ) {
679
  $prices = $this->clean_and_explode( PHP_EOL, $price_value );
680
  $labels = $this->clean_and_explode( PHP_EOL, $addon['label_value'] );
681
  if ( count( $labels ) === count( $prices ) ) {
682
  foreach ( $labels as $i => $label ) {
683
+ if ( $checkbox_key == sanitize_title( $label ) ) {
684
  $cart_item_data[ $addon['price_key'] ] = $prices[ $i ];
685
  $cart_item_data[ $addon['label_key'] ] = $labels[ $i ];
686
  break;
includes/class-wcj-product-by-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Product Visibility by Country
4
  *
5
- * @version 4.6.1
6
  * @since 2.5.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -108,7 +108,7 @@ class WCJ_Product_By_Country extends WCJ_Module_Product_By_Condition {
108
  /**
109
  * save_country_in_session.
110
  *
111
- * @version 3.2.4
112
  * @since 3.1.0
113
  */
114
  function save_country_in_session() {
@@ -116,6 +116,9 @@ class WCJ_Product_By_Country extends WCJ_Module_Product_By_Condition {
116
  if ( isset( $_REQUEST['wcj_country_selector'] ) ) {
117
  wcj_session_set( 'wcj_selected_country', $_REQUEST['wcj_country_selector'] );
118
  }
 
 
 
119
  }
120
 
121
  /**
2
  /**
3
  * Booster for WooCommerce - Module - Product Visibility by Country
4
  *
5
+ * @version 4.9.0
6
  * @since 2.5.0
7
  * @author Algoritmika Ltd.
8
  */
108
  /**
109
  * save_country_in_session.
110
  *
111
+ * @version 4.9.0
112
  * @since 3.1.0
113
  */
114
  function save_country_in_session() {
116
  if ( isset( $_REQUEST['wcj_country_selector'] ) ) {
117
  wcj_session_set( 'wcj_selected_country', $_REQUEST['wcj_country_selector'] );
118
  }
119
+ if ( isset( $_REQUEST['wcj-country'] ) ) {
120
+ wcj_session_set( 'wcj_selected_country', $_REQUEST['wcj-country'] );
121
+ }
122
  }
123
 
124
  /**
includes/class-wcj-product-by-user-role.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Product Visibility by User Role
4
  *
5
- * @version 3.6.0
6
  * @since 2.5.5
7
  * @author Algoritmika Ltd.
8
  */
@@ -33,14 +33,46 @@ class WCJ_Product_By_User_Role extends WCJ_Module_Product_By_Condition {
33
 
34
  }
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  /**
37
  * get_options_list.
38
  *
39
- * @version 3.6.0
40
  * @since 3.6.0
41
  */
42
  function get_options_list() {
43
- return wcj_get_user_roles_options();
 
44
  }
45
 
46
  /**
2
  /**
3
  * Booster for WooCommerce - Module - Product Visibility by User Role
4
  *
5
+ * @version 4.9.0
6
  * @since 2.5.5
7
  * @author Algoritmika Ltd.
8
  */
33
 
34
  }
35
 
36
+ /**
37
+ * maybe_add_extra_settings.
38
+ *
39
+ * @version 4.9.0
40
+ * @since 4.9.0
41
+ *
42
+ * @return array
43
+ */
44
+ public function maybe_add_extra_settings() {
45
+ return array(
46
+ array(
47
+ 'title' => __( 'User Options', 'woocommerce-jetpack' ),
48
+ 'type' => 'title',
49
+ 'id' => 'wcj_' . $this->id . '_user_options',
50
+ ),
51
+ array(
52
+ 'title' => __( 'Skip Editable Roles Filter', 'woocommerce-jetpack' ),
53
+ 'desc_tip' => __( 'Ignores <code>editable_roles</code> filter on admin.', 'woocommerce-jetpack' ) . '<br />' . sprintf( __( 'Enable this option for example if the shop manager can\'t see some role but only if you\'ve already tried the <strong>Shop Manager Editable Roles</strong> on <a href="%s">Admin Tools</a> module.', 'woocommerce-jetpack' ), admin_url( 'admin.php?page=wc-settings&tab=jetpack&wcj-cat=emails_and_misc&section=admin_tools' ) ),
54
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enable', 'woocommerce-jetpack' ) : $message,
55
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
56
+ 'id' => 'wcj_' . $this->id . '_user_options_skip_editable_roles',
57
+ 'default' => 'no',
58
+ 'type' => 'checkbox',
59
+ ),
60
+ array(
61
+ 'type' => 'sectionend',
62
+ 'id' => 'wcj_' . $this->id . '_user_options',
63
+ ),
64
+ );
65
+ }
66
+
67
  /**
68
  * get_options_list.
69
  *
70
+ * @version 4.9.0
71
  * @since 3.6.0
72
  */
73
  function get_options_list() {
74
+ $user_roles_options_args = 'no' === get_option( 'wcj_' . $this->id . '_user_options_skip_editable_roles', 'no' ) ? null : array( 'skip_editable_roles_filter' => true );
75
+ return wcj_get_user_roles_options( $user_roles_options_args );
76
  }
77
 
78
  /**
includes/class-wcj-product-msrp.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Product MSRP
4
  *
5
- * @version 4.4.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -13,6 +13,8 @@ if ( ! class_exists( 'WCJ_Product_MSRP' ) ) :
13
 
14
  class WCJ_Product_MSRP extends WCJ_Module {
15
 
 
 
16
  /**
17
  * Constructor.
18
  *
@@ -52,10 +54,24 @@ class WCJ_Product_MSRP extends WCJ_Module {
52
 
53
  // Make _wcj_msrp compatible with other modules or third party plugins
54
  add_filter( 'wcj_product_msrp', array( $this, 'make_wcj_msrp_price_compatible_with_3rd_party' ), 10, 2 );
 
 
 
55
  }
56
 
57
  }
58
 
 
 
 
 
 
 
 
 
 
 
 
59
  /**
60
  * Add compatibility between third party modules / plugins and _wcj_msrp
61
  *
@@ -139,37 +155,68 @@ class WCJ_Product_MSRP extends WCJ_Module {
139
  /**
140
  * display.
141
  *
142
- * @version 4.4.0
143
  * @since 3.6.0
144
  * @todo (maybe) multicurrency
145
  * @todo (feature) (maybe) variable product's msrp: add another option to enter MSRP directly for the whole variable product, instead of taking first variation's MSRP
146
  */
147
  function display( $price_html, $product ) {
148
- $section_id = empty( get_queried_object_id() ) || get_queried_object_id() != wcj_get_product_id( $product ) ? 'archives' : 'single';
149
  $display = get_option( 'wcj_product_msrp_display_on_' . $section_id, 'show' );
150
  if ( 'hide' == $display ) {
151
  return $price_html;
152
  }
153
  $product_id = false;
154
  if ( $product->is_type( 'variable' ) && $product->get_variation_price( 'min' ) === $product->get_variation_price( 'max' ) ) {
155
- foreach ( $product->get_available_variations() as $variation ) {
156
- // grab first variation's ID
157
- $product_id = $variation['variation_id'];
158
- break;
 
 
 
 
159
  }
 
 
160
  }
 
161
  if ( ! $product_id ) {
162
  $product_id = wcj_get_product_id( $product );
163
  }
164
- $msrp = apply_filters( 'wcj_product_msrp', get_post_meta( $product_id, '_' . 'wcj_msrp', true ), $product );
 
 
 
 
 
 
 
 
 
 
165
  $msrp = str_replace( ',', '.', $msrp );
166
  if ( '' == $msrp || 0 == $msrp ) {
167
  return $price_html;
168
  }
 
169
  $price = $product->get_price();
170
  if ( ( 'show_if_diff' == $display && $msrp == $price ) || ( 'show_if_higher' == $display && $msrp <= $price ) ) {
171
  return $price_html;
172
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  $position = get_option( 'wcj_product_msrp_display_on_' . $section_id . '_position', 'after_price' );
174
  $default_template = '<div class="price"><label for="wcj_product_msrp">MSRP</label>: <span id="wcj_product_msrp"><del>%msrp%</del>%you_save%</span></div>';
175
  $template = apply_filters( 'booster_option', $default_template, get_option( 'wcj_product_msrp_display_on_' . $section_id . '_template', $default_template ) );
@@ -179,8 +226,8 @@ class WCJ_Product_MSRP extends WCJ_Module {
179
  $you_save_round = get_option( 'wcj_product_msrp_display_on_' . $section_id . '_you_save_percent_round', 0 );
180
  $replaced_values = array(
181
  '%msrp%' => wc_price( $msrp ),
182
- '%you_save%' => str_replace( '%you_save_raw%', wc_price( $diff ), $you_save ),
183
- '%you_save_percent%' => str_replace( '%you_save_percent_raw%', round( $diff / $msrp * 100, $you_save_round ), $you_save_percent ),
184
  );
185
  return ( 'before_price' == $position ?
186
  wcj_handle_replacements( $replaced_values, $template ) . $price_html :
2
  /**
3
  * Booster for WooCommerce - Module - Product MSRP
4
  *
5
+ * @version 4.9.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  */
13
 
14
  class WCJ_Product_MSRP extends WCJ_Module {
15
 
16
+ private $current_template_path = '';
17
+
18
  /**
19
  * Constructor.
20
  *
54
 
55
  // Make _wcj_msrp compatible with other modules or third party plugins
56
  add_filter( 'wcj_product_msrp', array( $this, 'make_wcj_msrp_price_compatible_with_3rd_party' ), 10, 2 );
57
+
58
+ // Get current template path
59
+ add_action( 'woocommerce_before_template_part', array( $this, 'get_current_template_path' ), 10 );
60
  }
61
 
62
  }
63
 
64
+ /**
65
+ * get_current_template_path.
66
+ *
67
+ * @version 4.9.0
68
+ * @since 4.9.0
69
+ */
70
+ function get_current_template_path( $template_name ) {
71
+ $this->current_template_path = $template_name;
72
+ return $template_name;
73
+ }
74
+
75
  /**
76
  * Add compatibility between third party modules / plugins and _wcj_msrp
77
  *
155
  /**
156
  * display.
157
  *
158
+ * @version 4.9.0
159
  * @since 3.6.0
160
  * @todo (maybe) multicurrency
161
  * @todo (feature) (maybe) variable product's msrp: add another option to enter MSRP directly for the whole variable product, instead of taking first variation's MSRP
162
  */
163
  function display( $price_html, $product ) {
164
+ $section_id = false !== strpos( $this->current_template_path, 'loop' ) ? 'archives' : 'single';
165
  $display = get_option( 'wcj_product_msrp_display_on_' . $section_id, 'show' );
166
  if ( 'hide' == $display ) {
167
  return $price_html;
168
  }
169
  $product_id = false;
170
  if ( $product->is_type( 'variable' ) && $product->get_variation_price( 'min' ) === $product->get_variation_price( 'max' ) ) {
171
+ if ( 'yes' === get_option( 'wcj_product_msrp_variable_as_simple_enabled', 'no' ) ) {
172
+ $product_id = wcj_get_product_id( $product );
173
+ } else {
174
+ foreach ( $product->get_available_variations() as $variation ) {
175
+ // grab first variation's ID
176
+ $product_id = $variation['variation_id'];
177
+ break;
178
+ }
179
  }
180
+ } elseif ( $product->is_type( 'variation' ) && 'yes' === get_option( 'wcj_product_msrp_variable_as_simple_enabled', 'no' ) ) {
181
+ return $price_html;
182
  }
183
+
184
  if ( ! $product_id ) {
185
  $product_id = wcj_get_product_id( $product );
186
  }
187
+
188
+ // MSRP
189
+ $msrp_product_meta_name = '_wcj_msrp';
190
+ if (
191
+ 'yes' === get_option( 'wcj_product_msrp_archive_page_field', 'no' ) &&
192
+ 'archives' === $section_id
193
+ ) {
194
+ $product_id = wcj_get_product_id( $product );
195
+ $msrp_product_meta_name = '_wcj_msrp_archive';
196
+ }
197
+ $msrp = apply_filters( 'wcj_product_msrp', get_post_meta( $product_id, $msrp_product_meta_name, true ), $product );
198
  $msrp = str_replace( ',', '.', $msrp );
199
  if ( '' == $msrp || 0 == $msrp ) {
200
  return $price_html;
201
  }
202
+
203
  $price = $product->get_price();
204
  if ( ( 'show_if_diff' == $display && $msrp == $price ) || ( 'show_if_higher' == $display && $msrp <= $price ) ) {
205
  return $price_html;
206
  }
207
+
208
+ //WCJ Math
209
+ require_once( wcj_plugin_path() . '/includes/lib/PHPMathParser/Math.php' );
210
+ $math = new WCJ_Math();
211
+
212
+ // You Save Formula
213
+ $you_save_option = get_option( 'wcj_product_msrp_formula_you_save', '%msrp% - %product_price%' );
214
+ $you_save_formula_result = $math->evaluate( str_replace( array( '%msrp%', '%product_price%' ), array( $msrp, $price ), $you_save_option ) );
215
+
216
+ // You Save Percent Formula
217
+ $you_save_percent_option = get_option( 'wcj_product_msrp_formula_you_save_percent', '(%msrp% - %product_price%) / %msrp% * 100' );
218
+ $you_save_percent_formula_result = $math->evaluate( str_replace( array( '%msrp%', '%product_price%' ), array( $msrp, $price ), $you_save_percent_option ) );
219
+
220
  $position = get_option( 'wcj_product_msrp_display_on_' . $section_id . '_position', 'after_price' );
221
  $default_template = '<div class="price"><label for="wcj_product_msrp">MSRP</label>: <span id="wcj_product_msrp"><del>%msrp%</del>%you_save%</span></div>';
222
  $template = apply_filters( 'booster_option', $default_template, get_option( 'wcj_product_msrp_display_on_' . $section_id . '_template', $default_template ) );
226
  $you_save_round = get_option( 'wcj_product_msrp_display_on_' . $section_id . '_you_save_percent_round', 0 );
227
  $replaced_values = array(
228
  '%msrp%' => wc_price( $msrp ),
229
+ '%you_save%' => str_replace( '%you_save_raw%', wc_price( $you_save_formula_result ), $you_save ),
230
+ '%you_save_percent%' => str_replace( '%you_save_percent_raw%', round( $you_save_percent_formula_result, $you_save_round ), $you_save_percent ),
231
  );
232
  return ( 'before_price' == $position ?
233
  wcj_handle_replacements( $replaced_values, $template ) . $price_html :
includes/class-wcj-shipping-by-cities.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Shipping by Cities
4
  *
5
- * @version 4.7.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -51,20 +51,20 @@ class WCJ_Shipping_By_Cities extends WCJ_Module_Shipping_By_Condition {
51
  /**
52
  * check.
53
  *
54
- * @version 4.7.0
55
  * @since 3.6.0
56
  * @todo `$_REQUEST['city']` (i.e. billing city)
57
  * @todo `get_base_city()` - do we really need this?
58
  */
59
  function check( $options_id, $values, $include_or_exclude, $package ) {
60
- switch( $options_id ) {
61
  case 'cities':
62
- $customer_city = strtoupper( isset( $_REQUEST['s_city'] ) ? $_REQUEST['s_city'] : WC()->countries->get_base_city() );
63
  $values = array_map( 'strtoupper', array_map( 'trim', explode( PHP_EOL, $values ) ) );
64
  return in_array( $customer_city, $values );
65
  case 'postcodes':
66
  $customer_postcode = strtoupper( isset( $_REQUEST['s_postcode'] ) ? $_REQUEST['s_postcode'] : ( ! empty( $customer_shipping_postcode = WC()->customer->get_shipping_postcode() ) ? $customer_shipping_postcode : WC()->countries->get_base_postcode() ) );
67
- $postcodes = array_map( 'strtoupper', array_map( 'trim', explode( PHP_EOL, $values ) ) );
68
  return wcj_check_postcode( $customer_postcode, $postcodes );
69
  }
70
  }
2
  /**
3
  * Booster for WooCommerce - Module - Shipping by Cities
4
  *
5
+ * @version 4.9.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  */
51
  /**
52
  * check.
53
  *
54
+ * @version 4.9.0
55
  * @since 3.6.0
56
  * @todo `$_REQUEST['city']` (i.e. billing city)
57
  * @todo `get_base_city()` - do we really need this?
58
  */
59
  function check( $options_id, $values, $include_or_exclude, $package ) {
60
+ switch ( $options_id ) {
61
  case 'cities':
62
+ $customer_city = strtoupper( isset( $_REQUEST['s_city'] ) ? $_REQUEST['s_city'] : ( isset ( $_REQUEST['calc_shipping_city'] ) ? $_REQUEST['calc_shipping_city'] : ( ! empty( $user_city = WC()->customer->get_billing_city() ) ? $user_city : WC()->countries->get_base_city() ) ) );
63
  $values = array_map( 'strtoupper', array_map( 'trim', explode( PHP_EOL, $values ) ) );
64
  return in_array( $customer_city, $values );
65
  case 'postcodes':
66
  $customer_postcode = strtoupper( isset( $_REQUEST['s_postcode'] ) ? $_REQUEST['s_postcode'] : ( ! empty( $customer_shipping_postcode = WC()->customer->get_shipping_postcode() ) ? $customer_shipping_postcode : WC()->countries->get_base_postcode() ) );
67
+ $postcodes = array_map( 'strtoupper', array_map( 'trim', explode( PHP_EOL, $values ) ) );
68
  return wcj_check_postcode( $customer_postcode, $postcodes );
69
  }
70
  }
includes/class-wcj-shipping-by-user-role.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Shipping by User Role
4
  *
5
- * @version 4.8.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -101,15 +101,13 @@ class WCJ_Shipping_By_User_Role extends WCJ_Module_Shipping_By_Condition {
101
  /**
102
  * get_condition_options.
103
  *
104
- * @version 3.2.1
105
  * @since 3.2.0
106
  */
107
  function get_condition_options( $options_id ) {
108
  switch( $options_id ) {
109
  case 'user_roles':
110
  return wcj_get_user_roles_options();
111
- case 'user_id':
112
- return wcj_get_users_as_options();
113
  case 'user_membership':
114
  $membership_plans = array();
115
  $block_size = 512;
2
  /**
3
  * Booster for WooCommerce - Module - Shipping by User Role
4
  *
5
+ * @version 4.9.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
101
  /**
102
  * get_condition_options.
103
  *
104
+ * @version 4.9.0
105
  * @since 3.2.0
106
  */
107
  function get_condition_options( $options_id ) {
108
  switch( $options_id ) {
109
  case 'user_roles':
110
  return wcj_get_user_roles_options();
 
 
111
  case 'user_membership':
112
  $membership_plans = array();
113
  $block_size = 512;
includes/class-wcj-wholesale-price.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Wholesale Price
4
  *
5
- * @version 4.7.1
6
  * @since 2.2.0
7
  * @author Algoritmika Ltd.
8
  * @todo per variation
@@ -95,7 +95,7 @@ class WCJ_Wholesale_Price extends WCJ_Module {
95
  /**
96
  * add_discount_info_to_cart_page.
97
  *
98
- * @version 3.9.0
99
  */
100
  function add_discount_info_to_cart_page( $price_html, $cart_item, $cart_item_key ) {
101
 
@@ -118,7 +118,8 @@ class WCJ_Wholesale_Price extends WCJ_Module {
118
  $_product->wcj_wholesale_price = $saved_wcj_wholesale_price;
119
  }
120
  } elseif ( 'fixed' === $discount_type ) {
121
- $discount = wc_price( $this->get_price_for_cart( $discount, $_product ) );
 
122
  } else {
123
  $discount = $discount . '%';
124
  }
2
  /**
3
  * Booster for WooCommerce - Module - Wholesale Price
4
  *
5
+ * @version 4.9.0
6
  * @since 2.2.0
7
  * @author Algoritmika Ltd.
8
  * @todo per variation
95
  /**
96
  * add_discount_info_to_cart_page.
97
  *
98
+ * @version 4.9.0
99
  */
100
  function add_discount_info_to_cart_page( $price_html, $cart_item, $cart_item_key ) {
101
 
118
  $_product->wcj_wholesale_price = $saved_wcj_wholesale_price;
119
  }
120
  } elseif ( 'fixed' === $discount_type ) {
121
+ $price = 'do_not_consider_qty' === get_option( 'wcj_wholesale_price_template_vars_discount_value_fdt', 'do_not_consider_qty' ) ? $discount : $discount * $the_quantity;
122
+ $discount = wc_price( $this->get_price_for_cart( $price, $_product ) );
123
  } else {
124
  $discount = $discount . '%';
125
  }
includes/class-wcj-wpml.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - WPML
4
  *
5
- * @version 4.5.0
6
  * @since 2.2.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -16,7 +16,7 @@ class WCJ_WPML extends WCJ_Module {
16
  /**
17
  * Constructor.
18
  *
19
- * @version 3.8.0
20
  */
21
  function __construct() {
22
 
@@ -32,6 +32,10 @@ class WCJ_WPML extends WCJ_Module {
32
  add_action( 'wcj_version_updated', array( $this, 'create_wpml_xml_file' ) );
33
  }
34
  add_action( 'wcml_switch_currency', array( $this, 'switch_currency' ) );
 
 
 
 
35
  }
36
 
37
  $this->notice = '';
2
  /**
3
  * Booster for WooCommerce - Module - WPML
4
  *
5
+ * @version 4.9.0
6
  * @since 2.2.0
7
  * @author Algoritmika Ltd.
8
  */
16
  /**
17
  * Constructor.
18
  *
19
+ * @version 4.9.0
20
  */
21
  function __construct() {
22
 
32
  add_action( 'wcj_version_updated', array( $this, 'create_wpml_xml_file' ) );
33
  }
34
  add_action( 'wcml_switch_currency', array( $this, 'switch_currency' ) );
35
+ add_filter( 'wcml_client_currency', function ( $currency ) {
36
+ $this->switch_currency( $currency );
37
+ return $currency;
38
+ } );
39
  }
40
 
41
  $this->notice = '';
includes/functions/wcj-functions-admin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Functions - Admin
4
  *
5
- * @version 4.4.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -121,11 +121,11 @@ if ( ! function_exists( 'wcj_get_ajax_settings' ) ) {
121
  /**
122
  * wcj_get_ajax_settings
123
  *
124
- * @version 4.4.0
125
  * @since 4.3.0
126
  *
127
  * @param $values
128
- * @param string $search_type Possible values 'woocommerce_json_search_products', 'woocommerce_json_search_products_and_variations' , 'woocommerce_json_search_categories'
129
  * @param bool $allow_multiple_values
130
  *
131
  * @return array
@@ -148,6 +148,12 @@ if ( ! function_exists( 'wcj_get_ajax_settings' ) ) {
148
  $term = get_term_by( 'slug', $term_id, 'product_cat' );
149
  $options[ $term_id ] = wp_kses_post( $term->name );
150
  }
 
 
 
 
 
 
151
  }
152
  $placeholder = isset( $values['placeholder'] ) ? isset( $values['placeholder'] ) : __( "Search&hellip;", 'woocommerce-jetpack' );
153
  return array_merge( $values, array(
2
  /**
3
  * Booster for WooCommerce - Functions - Admin
4
  *
5
+ * @version 4.9.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
121
  /**
122
  * wcj_get_ajax_settings
123
  *
124
+ * @version 4.9.0
125
  * @since 4.3.0
126
  *
127
  * @param $values
128
+ * @param string $search_type Possible values 'woocommerce_json_search_products', 'woocommerce_json_search_products_and_variations' , 'woocommerce_json_search_categories', 'woocommerce_json_search_customers'
129
  * @param bool $allow_multiple_values
130
  *
131
  * @return array
148
  $term = get_term_by( 'slug', $term_id, 'product_cat' );
149
  $options[ $term_id ] = wp_kses_post( $term->name );
150
  }
151
+ } elseif ( $search_type == 'woocommerce_json_search_customers' ) {
152
+ $class = 'wc-customer-search';
153
+ foreach ( $options_raw as $term_id ) {
154
+ $user = get_user_by( 'id', $term_id );
155
+ $options[ $term_id ] = wp_kses_post( $user->display_name );
156
+ }
157
  }
158
  $placeholder = isset( $values['placeholder'] ) ? isset( $values['placeholder'] ) : __( "Search&hellip;", 'woocommerce-jetpack' );
159
  return array_merge( $values, array(
includes/functions/wcj-functions-date-time.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Functions - Date and Time
4
  *
5
- * @version 4.7.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -261,4 +261,33 @@ if ( ! function_exists( 'wcj_timezone' ) ) {
261
  }
262
  return new DateTimeZone( $timezone );
263
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  }
2
  /**
3
  * Booster for WooCommerce - Functions - Date and Time
4
  *
5
+ * @version 4.9.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
261
  }
262
  return new DateTimeZone( $timezone );
263
  }
264
+ }
265
+
266
+ if ( ! function_exists( 'wcj_pretty_utc_date' ) ) {
267
+ /**
268
+ * Formats dates taking into consideration configured language, timezone, and date format.
269
+ *
270
+ * @see https://wordpress.stackexchange.com/a/339190/25264
271
+ *
272
+ * @version 4.9.0
273
+ * @since 4.9.0
274
+ *
275
+ * @param string $utc_date
276
+ * @param null $format
277
+ *
278
+ * @return string
279
+ */
280
+ function wcj_pretty_utc_date( string $utc_date, $format = null ) {
281
+ if ( ! preg_match( '/^\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d$/', $utc_date ) ) {
282
+ throw new InvalidArgumentException( "Expected argument to be in YYYY-MM-DD hh:mm:ss format" );
283
+ }
284
+ $date_in_local_timezone = get_date_from_gmt( $utc_date );
285
+ $seconds_since_local_1_jan_1970 =
286
+ ( new DateTime( $date_in_local_timezone, new DateTimeZone( 'UTC' ) ) )
287
+ ->getTimestamp();
288
+ if ( empty( $format ) ) {
289
+ $format = get_option( 'date_format' ) . ' ' . get_option( 'time_format' );
290
+ }
291
+ return date_i18n( $format, $seconds_since_local_1_jan_1970 );
292
+ }
293
  }
includes/functions/wcj-functions-orders.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Functions - Orders
4
  *
5
- * @version 4.5.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -108,7 +108,7 @@ if ( ! function_exists( 'wcj_get_order_item_meta_info' ) ) {
108
  *
109
  * from woocommerce\includes\admin\meta-boxes\views\html-order-item-meta.php
110
  *
111
- * @version 3.2.4
112
  * @since 2.5.9
113
  */
114
  function wcj_get_order_item_meta_info( $item_id, $item, $_order, $exclude_wcj_meta = false, $_product = null, $exclude_meta = array() ) {
@@ -170,7 +170,7 @@ if ( ! function_exists( 'wcj_get_order_item_meta_info' ) ) {
170
  }
171
  $meta_info[] = wp_kses_post( rawurldecode( $_meta_key ) ) . ': ' . wp_kses_post( rawurldecode( $_meta_value ) );
172
  }
173
- $meta_info = implode( ', ', $meta_info );
174
  }
175
  return $meta_info;
176
  }
2
  /**
3
  * Booster for WooCommerce - Functions - Orders
4
  *
5
+ * @version 4.9.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
108
  *
109
  * from woocommerce\includes\admin\meta-boxes\views\html-order-item-meta.php
110
  *
111
+ * @version 4.9.0
112
  * @since 2.5.9
113
  */
114
  function wcj_get_order_item_meta_info( $item_id, $item, $_order, $exclude_wcj_meta = false, $_product = null, $exclude_meta = array() ) {
170
  }
171
  $meta_info[] = wp_kses_post( rawurldecode( $_meta_key ) ) . ': ' . wp_kses_post( rawurldecode( $_meta_value ) );
172
  }
173
+ $meta_info = implode( get_option( 'wcj_general_item_meta_separator', ', ' ), $meta_info );
174
  }
175
  return $meta_info;
176
  }
includes/functions/wcj-functions-products.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Functions - Products
4
  *
5
- * @version 4.1.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -424,7 +424,7 @@ if ( ! function_exists( 'wcj_is_product_wholesale_enabled' ) ) {
424
  /**
425
  * wcj_is_product_wholesale_enabled.
426
  *
427
- * @version 3.7.0
428
  */
429
  function wcj_is_product_wholesale_enabled( $product_id ) {
430
  if ( wcj_is_module_enabled( 'wholesale_price' ) ) {
@@ -432,26 +432,30 @@ if ( ! function_exists( 'wcj_is_product_wholesale_enabled' ) ) {
432
  return true;
433
  } else {
434
  $products_to_include_passed = false;
435
- $products_to_include = get_option( 'wcj_wholesale_price_products_to_include', array() );
436
- if ( empty( $products_to_include ) || in_array( $product_id, $products_to_include ) ) {
437
  $products_to_include_passed = true;
438
  }
439
- $products_to_exclude_passed = false;
440
- $products_to_exclude = get_option( 'wcj_wholesale_price_products_to_exclude', array() );
441
- if ( empty( $products_to_exclude ) || ! in_array( $product_id, $products_to_exclude ) ) {
442
- $products_to_exclude_passed = true;
443
- }
444
  $product_cats_to_include_passed = false;
445
- $product_cats_to_include = get_option( 'wcj_wholesale_price_product_cats_to_include', array() );
446
- if ( empty( $product_cats_to_include ) || wcj_is_product_term( $product_id, $product_cats_to_include, 'product_cat' ) ) {
447
  $product_cats_to_include_passed = true;
448
  }
 
449
  $product_cats_to_exclude_passed = false;
450
- $product_cats_to_exclude = get_option( 'wcj_wholesale_price_product_cats_to_exclude', array() );
451
- if ( empty( $product_cats_to_exclude ) || ! wcj_is_product_term( $product_id, $product_cats_to_exclude, 'product_cat' ) ) {
 
 
 
 
452
  $product_cats_to_exclude_passed = true;
 
 
 
 
453
  }
454
- return ( $products_to_include_passed && $products_to_exclude_passed && $product_cats_to_include_passed && $product_cats_to_exclude_passed );
455
  }
456
  }
457
  return false;
2
  /**
3
  * Booster for WooCommerce - Functions - Products
4
  *
5
+ * @version 4.9.0
6
  * @since 2.9.0
7
  * @author Algoritmika Ltd.
8
  */
424
  /**
425
  * wcj_is_product_wholesale_enabled.
426
  *
427
+ * @version 4.9.0
428
  */
429
  function wcj_is_product_wholesale_enabled( $product_id ) {
430
  if ( wcj_is_module_enabled( 'wholesale_price' ) ) {
432
  return true;
433
  } else {
434
  $products_to_include_passed = false;
435
+ $products_to_include = get_option( 'wcj_wholesale_price_products_to_include', array() );
436
+ if ( ! empty( $products_to_include ) && in_array( $product_id, $products_to_include ) ) {
437
  $products_to_include_passed = true;
438
  }
 
 
 
 
 
439
  $product_cats_to_include_passed = false;
440
+ $product_cats_to_include = get_option( 'wcj_wholesale_price_product_cats_to_include', array() );
441
+ if ( ! empty( $product_cats_to_include ) && wcj_is_product_term( $product_id, $product_cats_to_include, 'product_cat' ) ) {
442
  $product_cats_to_include_passed = true;
443
  }
444
+ $products_to_exclude_passed = false;
445
  $product_cats_to_exclude_passed = false;
446
+ if ( 'no' === get_option( 'wcj_wholesale_price_per_product_enable', 'yes' ) ) {
447
+ $products_to_exclude_passed = true;
448
+ $products_to_exclude = get_option( 'wcj_wholesale_price_products_to_exclude', array() );
449
+ if ( ! empty( $products_to_exclude ) && in_array( $product_id, $products_to_exclude ) ) {
450
+ $products_to_exclude_passed = false;
451
+ }
452
  $product_cats_to_exclude_passed = true;
453
+ $product_cats_to_exclude = get_option( 'wcj_wholesale_price_product_cats_to_exclude', array() );
454
+ if ( ! empty( $product_cats_to_exclude ) && wcj_is_product_term( $product_id, $product_cats_to_exclude, 'product_cat' ) ) {
455
+ $product_cats_to_exclude_passed = false;
456
+ }
457
  }
458
+ return ( $products_to_include_passed || $product_cats_to_include_passed || ( $products_to_exclude_passed && $product_cats_to_exclude_passed ) );
459
  }
460
  }
461
  return false;
includes/functions/wcj-functions-users.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Functions - Users
4
  *
5
- * @version 4.2.0
6
  * @since 2.7.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -139,11 +139,14 @@ if ( ! function_exists( 'wcj_get_user_roles' ) ) {
139
  /**
140
  * wcj_get_user_roles.
141
  *
142
- * @version 4.2.0
143
  * @since 2.5.3
144
  */
145
- function wcj_get_user_roles() {
146
  global $wp_roles;
 
 
 
147
  $all_roles = ( isset( $wp_roles ) && is_object( $wp_roles ) ) ? $wp_roles->roles : array();
148
  $current_user_roles = array();
149
  if ( is_user_logged_in() ) {
@@ -153,7 +156,9 @@ if ( ! function_exists( 'wcj_get_user_roles' ) ) {
153
  return in_array( $k, $roles );
154
  }, ARRAY_FILTER_USE_KEY );
155
  }
156
- $all_roles = apply_filters( 'editable_roles', $all_roles );
 
 
157
  $all_roles = array_merge( array(
158
  'guest' => array(
159
  'name' => __( 'Guest', 'woocommerce-jetpack' ),
@@ -170,13 +175,18 @@ if ( ! function_exists( 'wcj_get_user_roles_options' ) ) {
170
  /**
171
  * wcj_get_user_roles_options.
172
  *
173
- * @version 2.5.3
174
  * @since 2.5.3
175
  */
176
- function wcj_get_user_roles_options() {
177
  global $wp_roles;
 
 
 
178
  $all_roles = ( isset( $wp_roles ) && is_object( $wp_roles ) ) ? $wp_roles->roles : array();
179
- $all_roles = apply_filters( 'editable_roles', $all_roles );
 
 
180
  $all_roles = array_merge( array(
181
  'guest' => array(
182
  'name' => __( 'Guest', 'woocommerce-jetpack' ),
2
  /**
3
  * Booster for WooCommerce - Functions - Users
4
  *
5
+ * @version 4.9.0
6
  * @since 2.7.0
7
  * @author Algoritmika Ltd.
8
  */
139
  /**
140
  * wcj_get_user_roles.
141
  *
142
+ * @version 4.9.0
143
  * @since 2.5.3
144
  */
145
+ function wcj_get_user_roles( $args = null ) {
146
  global $wp_roles;
147
+ $args = wp_parse_args( $args, array(
148
+ 'skip_editable_roles_filter' => false
149
+ ) );
150
  $all_roles = ( isset( $wp_roles ) && is_object( $wp_roles ) ) ? $wp_roles->roles : array();
151
  $current_user_roles = array();
152
  if ( is_user_logged_in() ) {
156
  return in_array( $k, $roles );
157
  }, ARRAY_FILTER_USE_KEY );
158
  }
159
+ if ( ! $args['skip_editable_roles_filter'] ) {
160
+ $all_roles = apply_filters( 'editable_roles', $all_roles );
161
+ }
162
  $all_roles = array_merge( array(
163
  'guest' => array(
164
  'name' => __( 'Guest', 'woocommerce-jetpack' ),
175
  /**
176
  * wcj_get_user_roles_options.
177
  *
178
+ * @version 4.9.0
179
  * @since 2.5.3
180
  */
181
+ function wcj_get_user_roles_options( $args = null ) {
182
  global $wp_roles;
183
+ $args = wp_parse_args( $args, array(
184
+ 'skip_editable_roles_filter' => false
185
+ ) );
186
  $all_roles = ( isset( $wp_roles ) && is_object( $wp_roles ) ) ? $wp_roles->roles : array();
187
+ if ( ! $args['skip_editable_roles_filter'] ) {
188
+ $all_roles = apply_filters( 'editable_roles', $all_roles );
189
+ }
190
  $all_roles = array_merge( array(
191
  'guest' => array(
192
  'name' => __( 'Guest', 'woocommerce-jetpack' ),
includes/gateways/class-wc-gateway-wcj-custom.php CHANGED
@@ -2,12 +2,10 @@
2
  /**
3
  * Booster for WooCommerce - Custom Payment Gateway
4
  *
5
- * @version 4.7.1
6
  * @author Algoritmika Ltd.
7
  */
8
 
9
- add_action( 'plugins_loaded', 'init_wc_gateway_wcj_custom_class' );
10
-
11
  if ( ! function_exists( 'init_wc_gateway_wcj_custom_class' ) ) {
12
 
13
  function init_wc_gateway_wcj_custom_class() {
@@ -377,6 +375,7 @@ if ( ! function_exists( 'init_wc_gateway_wcj_custom_class' ) ) {
377
  * Constructor.
378
  */
379
  function __construct() {
 
380
  }
381
  }
382
 
@@ -398,3 +397,9 @@ if ( ! function_exists( 'init_wc_gateway_wcj_custom_class' ) ) {
398
  }
399
  }
400
  }
 
 
 
 
 
 
2
  /**
3
  * Booster for WooCommerce - Custom Payment Gateway
4
  *
5
+ * @version 4.9.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
 
 
9
  if ( ! function_exists( 'init_wc_gateway_wcj_custom_class' ) ) {
10
 
11
  function init_wc_gateway_wcj_custom_class() {
375
  * Constructor.
376
  */
377
  function __construct() {
378
+
379
  }
380
  }
381
 
397
  }
398
  }
399
  }
400
+
401
+ if ( 'no' === get_option( 'wcj_load_modules_on_init', 'no' ) ) {
402
+ add_action( 'plugins_loaded', 'init_wc_gateway_wcj_custom_class' );
403
+ } else {
404
+ init_wc_gateway_wcj_custom_class();
405
+ }
includes/price-by-country/class-wcj-price-by-country-core.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Price by Country - Core
4
  *
5
- * @version 4.4.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -412,11 +412,32 @@ class WCJ_Price_by_Country_Core {
412
  /**
413
  * change_price.
414
  *
415
- * @version 2.7.0
416
  */
417
  function change_price( $price, $product ) {
418
  if ( null != ( $group_id = $this->get_customer_country_group_id() ) ) {
419
- return wcj_price_by_country( $price, $product, $group_id );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
420
  }
421
  // No changes
422
  return $price;
2
  /**
3
  * Booster for WooCommerce - Price by Country - Core
4
  *
5
+ * @version 4.9.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
412
  /**
413
  * change_price.
414
  *
415
+ * @version 4.9.0
416
  */
417
  function change_price( $price, $product ) {
418
  if ( null != ( $group_id = $this->get_customer_country_group_id() ) ) {
419
+ if ( 'yes' === get_option( 'wcj_price_by_country_compatibility_woo_discount_rules', 'no' ) ) {
420
+ global $flycart_woo_discount_rules;
421
+ if (
422
+ ! empty( $flycart_woo_discount_rules ) &&
423
+ ! has_action( 'woocommerce_before_calculate_totals', array( $flycart_woo_discount_rules, 'applyDiscountRules' ) )
424
+ && ( $product_cart_id = WC()->cart->generate_cart_id( wcj_get_product_id( $product ) ) ) &&
425
+ WC()->cart->find_product_in_cart( $product_cart_id )
426
+ ) {
427
+ return $price;
428
+ }
429
+ }
430
+ $do_save='yes'===get_option('wcj_price_by_country_save_prices','no');
431
+ $_current_filter = current_filter();
432
+ if ( empty( $_current_filter ) ) {
433
+ $_current_filter = 'wcj_filter__none';
434
+ }
435
+ if ( $do_save && isset( WCJ()->modules['price_by_country']->calculated_products_prices[ wcj_get_product_id( $product ) ][ $_current_filter ] ) ) {
436
+ return WCJ()->modules['price_by_country']->calculated_products_prices[ wcj_get_product_id( $product ) ][ $_current_filter ];
437
+ }
438
+ $new_price = wcj_price_by_country( $price, $product, $group_id );
439
+ WCJ()->modules['price_by_country']->calculated_products_prices[ wcj_get_product_id( $product ) ][ $_current_filter ] = $new_price;
440
+ return $new_price;
441
  }
442
  // No changes
443
  return $price;
includes/settings/meta-box/wcj-settings-meta-box-product-msrp.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings Meta Box - Product MSRP
4
  *
5
- * @version 3.6.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  * @todo (maybe) `wcj_product_msrp_variable_as_simple_enabled`
@@ -16,6 +16,8 @@ if ( ! $_product ) {
16
  return array();
17
  }
18
  $products = array();
 
 
19
  if ( $_product->is_type( 'variable' ) && 'no' === get_option( 'wcj_product_msrp_variable_as_simple_enabled', 'no' ) ) {
20
  $available_variations = $_product->get_available_variations();
21
  foreach ( $available_variations as $variation ) {
@@ -26,7 +28,18 @@ if ( $_product->is_type( 'variable' ) && 'no' === get_option( 'wcj_product_msrp_
26
  $products[ $main_product_id ] = '';
27
  }
28
 
29
- $options = array();
 
 
 
 
 
 
 
 
 
 
 
30
  foreach ( $products as $product_id => $desc ) {
31
  $options[] = array(
32
  'name' => 'wcj_msrp_' . $product_id,
2
  /**
3
  * Booster for WooCommerce - Settings Meta Box - Product MSRP
4
  *
5
+ * @version 4.9.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  * @todo (maybe) `wcj_product_msrp_variable_as_simple_enabled`
16
  return array();
17
  }
18
  $products = array();
19
+ $options = array();
20
+
21
  if ( $_product->is_type( 'variable' ) && 'no' === get_option( 'wcj_product_msrp_variable_as_simple_enabled', 'no' ) ) {
22
  $available_variations = $_product->get_available_variations();
23
  foreach ( $available_variations as $variation ) {
28
  $products[ $main_product_id ] = '';
29
  }
30
 
31
+ // Archive Page Field
32
+ if ( 'yes' === get_option( 'wcj_product_msrp_archive_page_field', 'no' ) ) {
33
+ $options[] = array(
34
+ 'name' => 'wcj_msrp_archive_' . $main_product_id,
35
+ 'default' => 0,
36
+ 'type' => 'price',
37
+ 'title' => __( 'MSRP - Archive', 'woocommerce-jetpack' ) . ' (' . get_woocommerce_currency_symbol() . ')',
38
+ 'product_id' => $main_product_id,
39
+ 'meta_name' => '_' . 'wcj_msrp_archive',
40
+ );
41
+ }
42
+
43
  foreach ( $products as $product_id => $desc ) {
44
  $options[] = array(
45
  'name' => 'wcj_msrp_' . $product_id,
includes/settings/wcj-settings-admin-tools.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Admin Tools
4
  *
5
- * @version 4.8.0
6
  * @since 2.7.2
7
  * @author Algoritmika Ltd.
8
  */
@@ -115,4 +115,24 @@ return array(
115
  'type' => 'sectionend',
116
  'id' => 'wcj_admin_tools_products_options',
117
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  );
2
  /**
3
  * Booster for WooCommerce - Settings - Admin Tools
4
  *
5
+ * @version 4.9.0
6
  * @since 2.7.2
7
  * @author Algoritmika Ltd.
8
  */
115
  'type' => 'sectionend',
116
  'id' => 'wcj_admin_tools_products_options',
117
  ),
118
+ array(
119
+ 'title' => __( 'Users Options', 'woocommerce-jetpack' ),
120
+ 'type' => 'title',
121
+ 'id' => 'wcj_admin_tools_users_options',
122
+ ),
123
+ array(
124
+ 'title' => __( 'Shop Manager Editable Roles', 'woocommerce-jetpack' ),
125
+ 'desc_tip' => __( 'Changes the roles the Shop Manager role can edit.', 'woocommerce-jetpack' ),
126
+ 'desc' => apply_filters( 'booster_message', '', 'desc' ),
127
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
128
+ 'id' => 'wcj_admin_tools_shop_manager_editable_roles',
129
+ 'default' => apply_filters( 'woocommerce_shop_manager_editable_roles', array( 'customer' ) ),
130
+ 'type' => 'multiselect',
131
+ 'class' => 'chosen_select',
132
+ 'options' => wcj_get_user_roles_options(),
133
+ ),
134
+ array(
135
+ 'type' => 'sectionend',
136
+ 'id' => 'wcj_admin_tools_users_options',
137
+ ),
138
  );
includes/settings/wcj-settings-checkout-core-fields.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Checkout Core Fields
4
  *
5
- * @version 3.6.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -47,6 +47,19 @@ $settings = array(
47
  'id' => 'wcj_checkout_core_fields_force_sort_by_priority',
48
  'default' => 'no',
49
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  array(
51
  'type' => 'sectionend',
52
  'id' => 'wcj_checkout_core_fields_general_options',
2
  /**
3
  * Booster for WooCommerce - Settings - Checkout Core Fields
4
  *
5
+ * @version 4.9.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
47
  'id' => 'wcj_checkout_core_fields_force_sort_by_priority',
48
  'default' => 'no',
49
  ),
50
+ array(
51
+ 'title' => __( 'Checking Relation', 'woocommerce-jetpack' ),
52
+ 'desc_tip' => __( 'Use <code>Or</code> if you need that at least one condition is valid. e.g.: At least one product from a specific category is in cart. Use <code>All</code> if you need that all conditions are valid.', 'woocommerce-jetpack' ),
53
+ 'type' => 'select',
54
+ 'id' => 'wcj_checkout_core_fields_checking_relation',
55
+ 'options' => array(
56
+ 'and' => __( 'And', 'woocommerce-jetpack' ),
57
+ 'or' => __( 'Or', 'woocommerce-jetpack' ),
58
+ ),
59
+ 'desc' => apply_filters( 'booster_message', '', 'desc' ),
60
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
61
+ 'default' => 'and',
62
+ ),
63
  array(
64
  'type' => 'sectionend',
65
  'id' => 'wcj_checkout_core_fields_general_options',
includes/settings/wcj-settings-eu-vat-number.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - EU VAT Number
4
  *
5
- * @version 4.6.1
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  * @todo set default value for "wcj_eu_vat_number_add_progress_text" to "yes"
@@ -219,6 +219,28 @@ $settings = array(
219
  'default' => 'no',
220
  'type' => 'checkbox',
221
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  array(
223
  'type' => 'sectionend',
224
  'id' => 'wcj_eu_vat_number_options',
2
  /**
3
  * Booster for WooCommerce - Settings - EU VAT Number
4
  *
5
+ * @version 4.9.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  * @todo set default value for "wcj_eu_vat_number_add_progress_text" to "yes"
219
  'default' => 'no',
220
  'type' => 'checkbox',
221
  ),
222
+ array(
223
+ 'title' => __( 'Restrictive Loading', 'woocommerce-jetpack' ),
224
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enqueues module scripts on some conditions.', 'woocommerce-jetpack' ) . '<br />' . __( 'Probably the best options are <code>Is Cart</code> and <code>Is Checkout</code>', 'woocommerce-jetpack' ) : $message,
225
+ 'desc_tip' => __( 'Leave it empty to load it in all situations.', 'woocommerce-jetpack' ),
226
+ 'id' => 'wcj_eu_vat_number_restrictive_loading',
227
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
228
+ 'default' => '',
229
+ 'class' => 'chosen_select',
230
+ 'options' => array(
231
+ 'is_woocommerce' => __( 'Is WooCommerce', 'woocommerce-jetpack' ),
232
+ 'is_shop' => __( 'Is Shop', 'woocommerce-jetpack' ),
233
+ 'is_product_category' => __( 'Is Product Category', 'woocommerce-jetpack' ),
234
+ 'is_product_tag' => __( 'Is Product Tag', 'woocommerce-jetpack' ),
235
+ 'is_product' => __( 'Is Product', 'woocommerce-jetpack' ),
236
+ 'is_cart' => __( 'Is Cart', 'woocommerce-jetpack' ),
237
+ 'is_checkout' => __( 'Is Checkout', 'woocommerce-jetpack' ),
238
+ 'is_account_page' => __( 'Is Account Page', 'woocommerce-jetpack' ),
239
+ 'is_wc_endpoint_url' => __( 'Is WC Endpoint URL', 'woocommerce-jetpack' ),
240
+ 'is_ajax' => __( 'Is AJAX', 'woocommerce-jetpack' ),
241
+ ),
242
+ 'type' => 'multiselect',
243
+ ),
244
  array(
245
  'type' => 'sectionend',
246
  'id' => 'wcj_eu_vat_number_options',
includes/settings/wcj-settings-multicurrency.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Multicurrency (Currency Switcher)
4
  *
5
- * @version 4.6.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  * @todo "pretty prices"
@@ -98,6 +98,15 @@ $settings = array(
98
  'type' => 'text',
99
  'class' => 'widefat',
100
  ),
 
 
 
 
 
 
 
 
 
101
  array(
102
  'type' => 'sectionend',
103
  'id' => 'wcj_multicurrency_options',
@@ -108,13 +117,22 @@ $settings = array(
108
  'id' => 'wcj_multicurrency_compatibility',
109
  ),
110
  array(
111
- 'title' => __( 'WooCommerce Coupons', 'woocommerce-jetpack' ),
112
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
113
- 'desc_tip' => __( 'When a fixed coupon is used its value changes according to the current currency', 'woocommerce-jetpack' ),
114
  'id' => 'wcj_multicurrency_compatibility_wc_coupons',
115
  'default' => 'no',
116
  'type' => 'checkbox',
117
  ),
 
 
 
 
 
 
 
 
 
118
  array(
119
  'title' => __( 'WooCommerce Smart Coupons', 'woocommerce-jetpack' ),
120
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
@@ -125,7 +143,7 @@ $settings = array(
125
  array(
126
  'title' => __( 'WooCommerce Price Filter', 'woocommerce-jetpack' ),
127
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
128
- 'desc_tip' => __( 'Adds Compatibility with Price Filter widget', 'woocommerce-jetpack' ),
129
  'id' => 'wcj_multicurrency_compatibility_wc_price_filter',
130
  'default' => 'no',
131
  'type' => 'checkbox',
@@ -133,7 +151,7 @@ $settings = array(
133
  array(
134
  'title' => __( 'Price Sorting with Per Product', 'woocommerce-jetpack' ),
135
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
136
- 'desc_tip' => __( 'Fixes Price Sorting if Per Product option is enabled', 'woocommerce-jetpack' ),
137
  'id' => 'wcj_multicurrency_compatibility_price_sorting_per_product',
138
  'default' => 'no',
139
  'type' => 'checkbox',
@@ -141,7 +159,7 @@ $settings = array(
141
  array(
142
  'title' => __( 'WooCommerce Import', 'woocommerce-jetpack' ),
143
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
144
- 'desc_tip' => __( 'Fixes WooCommerce Import Tool preventing it from converting some uppercase meta to lowercase', 'woocommerce-jetpack' ),
145
  'id' => 'wcj_multicurrency_compatibility_wc_import',
146
  'default' => 'no',
147
  'type' => 'checkbox',
@@ -149,11 +167,29 @@ $settings = array(
149
  array(
150
  'title' => __( 'WPC Product Bundles', 'woocommerce-jetpack' ),
151
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
152
- 'desc_tip' => sprintf( __( 'Adds compatibility with <a href="%s" target="_blank">WPC Product Bundles</a> plugin', 'woocommerce-jetpack' ), 'https://wordpress.org/plugins/woo-product-bundle/' ),
153
  'id' => 'wcj_multicurrency_compatibility_wpc_product_bundle',
154
  'default' => 'no',
155
  'type' => 'checkbox',
156
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  array(
158
  'type' => 'sectionend',
159
  'id' => 'wcj_multicurrency_compatibility',
2
  /**
3
  * Booster for WooCommerce - Settings - Multicurrency (Currency Switcher)
4
  *
5
+ * @version 4.9.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  * @todo "pretty prices"
98
  'type' => 'text',
99
  'class' => 'widefat',
100
  ),
101
+ array(
102
+ 'title' => __( 'Convert Shipping Values', 'woocommerce-jetpack' ),
103
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enable', 'woocommerce-jetpack' ) : $message,
104
+ 'desc_tip' => __( 'Disable it if you have some other plugin already converting it like WPML.', 'woocommerce-jetpack' ),
105
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
106
+ 'id' => 'wcj_multicurrency_convert_shipping_values',
107
+ 'default' => 'yes',
108
+ 'type' => 'checkbox',
109
+ ),
110
  array(
111
  'type' => 'sectionend',
112
  'id' => 'wcj_multicurrency_options',
117
  'id' => 'wcj_multicurrency_compatibility',
118
  ),
119
  array(
120
+ 'title' => __( 'WooCommerce Fixed Coupons', 'woocommerce-jetpack' ),
121
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
122
+ 'desc_tip' => __( 'When a fixed coupon is used its value changes according to the current currency.', 'woocommerce-jetpack' ),
123
  'id' => 'wcj_multicurrency_compatibility_wc_coupons',
124
  'default' => 'no',
125
  'type' => 'checkbox',
126
  ),
127
+ array(
128
+ 'title' => __( 'WooCommerce Coupons - Min & Max amount', 'woocommerce-jetpack' ),
129
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
130
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enable', 'woocommerce-jetpack' ) : $message,
131
+ 'desc_tip' => __( 'Converts min and max amount values from WooCommerce coupons.', 'woocommerce-jetpack' ),
132
+ 'id' => 'wcj_multicurrency_compatibility_wc_coupons_min_max',
133
+ 'default' => 'no',
134
+ 'type' => 'checkbox',
135
+ ),
136
  array(
137
  'title' => __( 'WooCommerce Smart Coupons', 'woocommerce-jetpack' ),
138
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
143
  array(
144
  'title' => __( 'WooCommerce Price Filter', 'woocommerce-jetpack' ),
145
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
146
+ 'desc_tip' => __( 'Adds Compatibility with Price Filter widget.', 'woocommerce-jetpack' ),
147
  'id' => 'wcj_multicurrency_compatibility_wc_price_filter',
148
  'default' => 'no',
149
  'type' => 'checkbox',
151
  array(
152
  'title' => __( 'Price Sorting with Per Product', 'woocommerce-jetpack' ),
153
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
154
+ 'desc_tip' => __( 'Fixes Price Sorting if Per Product option is enabled.', 'woocommerce-jetpack' ),
155
  'id' => 'wcj_multicurrency_compatibility_price_sorting_per_product',
156
  'default' => 'no',
157
  'type' => 'checkbox',
159
  array(
160
  'title' => __( 'WooCommerce Import', 'woocommerce-jetpack' ),
161
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
162
+ 'desc_tip' => __( 'Fixes WooCommerce Import Tool preventing it from converting some uppercase meta to lowercase.', 'woocommerce-jetpack' ),
163
  'id' => 'wcj_multicurrency_compatibility_wc_import',
164
  'default' => 'no',
165
  'type' => 'checkbox',
167
  array(
168
  'title' => __( 'WPC Product Bundles', 'woocommerce-jetpack' ),
169
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
170
+ 'desc_tip' => sprintf( __( 'Adds compatibility with <a href="%s" target="_blank">WPC Product Bundles</a> plugin.', 'woocommerce-jetpack' ), 'https://wordpress.org/plugins/woo-product-bundle/' ),
171
  'id' => 'wcj_multicurrency_compatibility_wpc_product_bundle',
172
  'default' => 'no',
173
  'type' => 'checkbox',
174
  ),
175
+ array(
176
+ 'title' => __( 'WooCommerce Tree Table Rate Shipping', 'woocommerce-jetpack' ),
177
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
178
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enable', 'woocommerce-jetpack' ) : $message,
179
+ 'desc_tip' => sprintf( __( 'Adds compatibility with <a href="%s" target="_blank">WooCommerce Tree Table Rate Shipping</a> plugin.', 'woocommerce-jetpack' ), 'https://tablerateshipping.com' ),
180
+ 'id' => 'wcj_multicurrency_compatibility_wc_ttrs',
181
+ 'default' => 'no',
182
+ 'type' => 'checkbox',
183
+ ),
184
+ array(
185
+ 'title' => __( 'Flexible Shipping', 'woocommerce-jetpack' ),
186
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
187
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enable', 'woocommerce-jetpack' ) : $message,
188
+ 'desc_tip' => sprintf( __( 'Adds compatibility with <a href="%s" target="_blank">Flexible Shipping</a> plugin.', 'woocommerce-jetpack' ), 'https://flexibleshipping.com/' ),
189
+ 'id' => 'wcj_multicurrency_compatibility_flexible_shipping',
190
+ 'default' => 'no',
191
+ 'type' => 'checkbox',
192
+ ),
193
  array(
194
  'type' => 'sectionend',
195
  'id' => 'wcj_multicurrency_compatibility',
includes/settings/wcj-settings-order-min-amount.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Order Minimum Amount
4
  *
5
- * @version 3.2.4
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -38,6 +38,14 @@ $settings = array(
38
  'default' => 'no',
39
  'type' => 'checkbox',
40
  ),
 
 
 
 
 
 
 
 
41
  array(
42
  'title' => __( 'Error message', 'woocommerce-jetpack' ),
43
  'desc' => apply_filters( 'booster_message', '', 'desc' ),
2
  /**
3
  * Booster for WooCommerce - Settings - Order Minimum Amount
4
  *
5
+ * @version 4.9.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
38
  'default' => 'no',
39
  'type' => 'checkbox',
40
  ),
41
+ array(
42
+ 'title' => __( 'Exclude Discounts from Yith Gift Cards', 'woocommerce-jetpack' ),
43
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Exclude', 'woocommerce-jetpack' ) : $message,
44
+ 'id' => 'wcj_order_minimum_amount_exclude_yith_gift_card_discount',
45
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
46
+ 'default' => 'no',
47
+ 'type' => 'checkbox',
48
+ ),
49
  array(
50
  'title' => __( 'Error message', 'woocommerce-jetpack' ),
51
  'desc' => apply_filters( 'booster_message', '', 'desc' ),
includes/settings/wcj-settings-pdf-invoicing-advanced.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - PDF Invoicing - Advanced
4
  *
5
- * @version 4.7.0
6
  * @since 3.3.0
7
  * @author Algoritmika Ltd.
8
  * @todo (maybe) create "Tools (Options)" submodule
@@ -100,6 +100,22 @@ return array(
100
  'default' => '',
101
  'type' => 'text',
102
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  array(
104
  'type' => 'sectionend',
105
  'id' => 'wcj_pdf_invoicing_advanced_options',
2
  /**
3
  * Booster for WooCommerce - Settings - PDF Invoicing - Advanced
4
  *
5
+ * @version 4.9.0
6
  * @since 3.3.0
7
  * @author Algoritmika Ltd.
8
  * @todo (maybe) create "Tools (Options)" submodule
100
  'default' => '',
101
  'type' => 'text',
102
  ),
103
+ array(
104
+ 'title' => __( 'WooCommerce Extra Product Options on Item Name', 'woocommerce-jetpack' ),
105
+ 'desc' => __( 'Enable', 'woocommerce-jetpack' ),
106
+ 'desc_tip' => sprintf( __( 'Displays some info from <a href="%s" target="_blank">WooCommerce Extra Product Options</a> on <code>item_name</code> parameter from <code>wcj_order_items_table</code>.', 'woocommerce-jetpack' ), 'https://codecanyon.net/item/woocommerce-extra-product-options/7908619' ).'<br />'.__( 'Probably you\'ll want it disabled and use the <code>item_meta</code> parameter instead.', 'woocommerce-jetpack' ),
107
+ 'id' => 'wcj_general_advanced_wcepo_enable',
108
+ 'default' => 'yes',
109
+ 'type' => 'checkbox',
110
+ ),
111
+ array(
112
+ 'title' => __( 'Item Meta Separator', 'woocommerce-jetpack' ),
113
+ 'desc' => __( 'Separator used on <code>item_meta</code> parameter from <code>wcj_order_items_table</code>', 'woocommerce-jetpack' ),
114
+ 'id' => 'wcj_general_item_meta_separator',
115
+ 'wcj_raw' => true,
116
+ 'default' => ', ',
117
+ 'type' => 'text',
118
+ ),
119
  array(
120
  'type' => 'sectionend',
121
  'id' => 'wcj_pdf_invoicing_advanced_options',
includes/settings/wcj-settings-price-by-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Prices and Currencies by Country
4
  *
5
- * @version 4.8.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -169,6 +169,15 @@ $settings = array(
169
  'default' => 'no',
170
  'type' => 'checkbox',
171
  ),
 
 
 
 
 
 
 
 
 
172
  array(
173
  'type' => 'sectionend',
174
  'id' => 'wcj_price_by_country_compatibility',
@@ -206,6 +215,14 @@ $settings = array(
206
  'wc_get_price_to_display' => __( 'wc_get_price_to_display()', 'woocommerce-jetpack' ),
207
  ),
208
  ),
 
 
 
 
 
 
 
 
209
  array(
210
  'type' => 'sectionend',
211
  'id' => 'wcj_price_by_country_country_advanced',
2
  /**
3
  * Booster for WooCommerce - Settings - Prices and Currencies by Country
4
  *
5
+ * @version 4.9.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
169
  'default' => 'no',
170
  'type' => 'checkbox',
171
  ),
172
+ array(
173
+ 'title' => __( 'Woo Discount Rules', 'woocommerce-jetpack' ),
174
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
175
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enable', 'woocommerce-jetpack' ) : $message,
176
+ 'desc_tip' => sprintf( __( 'Adds compatibility with <a href="%s" target="_blank">Woo Discount Rules</a> plugin.', 'woocommerce-jetpack' ), 'https://www.flycart.org/products/wordpress/woocommerce-discount-rules' ).'<br />'. sprintf( __( 'If it doesn\'t work properly try to enable <a href="%s">redirect to the cart page after successful addition</a> option', 'woocommerce-jetpack' ), admin_url( 'admin.php?page=wc-settings&tab=products' ) ),
177
+ 'id' => 'wcj_price_by_country_compatibility_woo_discount_rules',
178
+ 'default' => 'no',
179
+ 'type' => 'checkbox',
180
+ ),
181
  array(
182
  'type' => 'sectionend',
183
  'id' => 'wcj_price_by_country_compatibility',
215
  'wc_get_price_to_display' => __( 'wc_get_price_to_display()', 'woocommerce-jetpack' ),
216
  ),
217
  ),
218
+ array(
219
+ 'title' => __( 'Save Calculated Products Prices', 'woocommerce-jetpack' ),
220
+ 'desc_tip' => __( 'This may help if you are experiencing compatibility issues with other plugins.', 'woocommerce-jetpack' ),
221
+ 'desc' => __( 'Enable', 'woocommerce-jetpack' ),
222
+ 'id' => 'wcj_price_by_country_save_prices',
223
+ 'default' => 'no',
224
+ 'type' => 'checkbox',
225
+ ),
226
  array(
227
  'type' => 'sectionend',
228
  'id' => 'wcj_price_by_country_country_advanced',
includes/settings/wcj-settings-product-msrp.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Product MSRP
4
  *
5
- * @version 4.4.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -117,5 +117,57 @@ $settings = array_merge( $settings, array(
117
  'type' => 'sectionend',
118
  'id' => 'wcj_payment_msrp_comp',
119
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  ) );
121
  return $settings;
2
  /**
3
  * Booster for WooCommerce - Settings - Product MSRP
4
  *
5
+ * @version 4.9.0
6
  * @since 3.6.0
7
  * @author Algoritmika Ltd.
8
  */
117
  'type' => 'sectionend',
118
  'id' => 'wcj_payment_msrp_comp',
119
  ),
120
+ array(
121
+ 'title' => __( 'Other Options', 'woocommerce-jetpack' ),
122
+ 'type' => 'title',
123
+ 'id' => 'wcj_product_msrp_other_options',
124
+ ),
125
+ array(
126
+ 'title' => __( 'Treat Variable Products as Simple Products', 'woocommerce-jetpack'),
127
+ 'desc' => __( 'Enable', 'woocommerce-jetpack'),
128
+ 'id' => 'wcj_product_msrp_variable_as_simple_enabled',
129
+ 'default' => 'no',
130
+ 'type' => 'checkbox',
131
+ ),
132
+ array(
133
+ 'title' => __( 'Archive Field', 'woocommerce-jetpack' ),
134
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Enable', 'woocommerce-jetpack' ) : $message,
135
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
136
+ 'desc_tip' => __( 'Adds a MSRP field that will be displayed on the product archive.', 'woocommerce-jetpack' ),
137
+ 'id' => 'wcj_product_msrp_archive_page_field',
138
+ 'default' => 'no',
139
+ 'type' => 'checkbox',
140
+ ),
141
+ array(
142
+ 'type' => 'sectionend',
143
+ 'id' => 'wcj_product_msrp_other_options',
144
+ ),
145
+ array(
146
+ 'title' => __( 'Template Variable Formulas', 'woocommerce-jetpack' ),
147
+ 'type' => 'title',
148
+ 'id' => 'wcj_product_msrp_template_variables_formulas',
149
+ ),
150
+ array(
151
+ 'title' => __( 'You Save', 'woocommerce-jetpack' ),
152
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Variable: ', 'woocommerce-jetpack' ) . '<code>%you_save%</code><br />' . wcj_message_replaced_values( array( '%msrp%', '%product_price%' ) ) : $message,
153
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
154
+ 'desc_tip' => __( '%you_save%', 'woocommerce-jetpack' ),
155
+ 'id' => 'wcj_product_msrp_formula_you_save',
156
+ 'default' => '%msrp% - %product_price%',
157
+ 'type' => 'text',
158
+ ),
159
+ array(
160
+ 'title' => __( 'You Save Percent', 'woocommerce-jetpack' ),
161
+ 'desc' => empty( $message = apply_filters( 'booster_message', '', 'desc' ) ) ? __( 'Variable: ', 'woocommerce-jetpack' ) . '<code>%you_save_percent%</code><br />' . wcj_message_replaced_values( array( '%msrp%', '%product_price%' ) ) : $message,
162
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
163
+ 'desc_tip' => __( '%you_save_percent%', 'woocommerce-jetpack' ),
164
+ 'id' => 'wcj_product_msrp_formula_you_save_percent',
165
+ 'default' => '(%msrp% - %product_price%) / %msrp% * 100',
166
+ 'type' => 'text',
167
+ ),
168
+ array(
169
+ 'type' => 'sectionend',
170
+ 'id' => 'wcj_product_msrp_template_variables_formulas',
171
+ ),
172
  ) );
173
  return $settings;
includes/settings/wcj-settings-shipping-by-condition.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Shipping by Condition
4
  *
5
- * @version 4.8.0
6
  * @since 3.2.1
7
  * @author Algoritmika Ltd.
8
  * @todo [dev] hide settings for the disabled subsection
@@ -84,31 +84,55 @@ foreach ( $this->condition_options as $options_id => $options_data ) {
84
  }
85
  $include_id = 'wcj_shipping_' . $options_id . '_include_' . ( $use_shipping_instances ? 'instance_' . $method['shipping_method_instance_id'] : $method->id );
86
  $exclude_id = 'wcj_shipping_' . $options_id . '_exclude_' . ( $use_shipping_instances ? 'instance_' . $method['shipping_method_instance_id'] : $method->id );
87
- $settings = array_merge( $settings, array(
88
- array(
89
- 'title' => ( $use_shipping_instances ? $method['zone_name'] . ': ' . $method['shipping_method_title'] : $method->get_method_title() ),
90
- 'desc_tip' => $desc_tip,
91
- 'desc' => '<br>' . sprintf( __( 'Include %s', 'woocommerce-jetpack' ), $options_data['title'] ) . $this->get_extra_option_desc( $include_id ),
92
- 'id' => $include_id,
93
- 'default' => '',
94
- 'type' => $type,
95
- 'class' => $class,
96
- 'css' => $css,
97
- 'options' => $options,
98
- 'custom_attributes' => $custom_attributes,
99
- ),
100
- array(
101
- 'desc_tip' => $desc_tip,
102
- 'desc' => '<br>' . sprintf( __( 'Exclude %s', 'woocommerce-jetpack' ), $options_data['title'] ) . $this->get_extra_option_desc( $exclude_id ),
103
- 'id' => $exclude_id,
104
- 'default' => '',
105
- 'type' => $type,
106
- 'class' => $class,
107
- 'css' => $css,
108
- 'options' => $options,
109
- 'custom_attributes' => $custom_attributes,
110
- ),
111
- ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  }
113
  $settings = array_merge( $settings, array(
114
  array(
2
  /**
3
  * Booster for WooCommerce - Settings - Shipping by Condition
4
  *
5
+ * @version 4.9.0
6
  * @since 3.2.1
7
  * @author Algoritmika Ltd.
8
  * @todo [dev] hide settings for the disabled subsection
84
  }
85
  $include_id = 'wcj_shipping_' . $options_id . '_include_' . ( $use_shipping_instances ? 'instance_' . $method['shipping_method_instance_id'] : $method->id );
86
  $exclude_id = 'wcj_shipping_' . $options_id . '_exclude_' . ( $use_shipping_instances ? 'instance_' . $method['shipping_method_instance_id'] : $method->id );
87
+
88
+ if ( 'user_id' === $options_id ) {
89
+ $settings = array_merge( $settings, array(
90
+ wcj_get_ajax_settings( array(
91
+ 'title' => ( $use_shipping_instances ? $method['zone_name'] . ': ' . $method['shipping_method_title'] : $method->get_method_title() ),
92
+ 'desc_tip' => $desc_tip,
93
+ 'desc' => '<br>' . sprintf( __( 'Include %s', 'woocommerce-jetpack' ), $options_data['title'] ) . $this->get_extra_option_desc( $include_id ),
94
+ 'id' => $include_id,
95
+ 'default' => '',
96
+ 'css' => $css,
97
+ 'custom_attributes' => $custom_attributes,
98
+ ),true, 'woocommerce_json_search_customers' ),
99
+ wcj_get_ajax_settings( array(
100
+ 'desc_tip' => $desc_tip,
101
+ 'desc' => '<br>' . sprintf( __( 'Exclude %s', 'woocommerce-jetpack' ), $options_data['title'] ) . $this->get_extra_option_desc( $exclude_id ),
102
+ 'id' => $exclude_id,
103
+ 'default' => '',
104
+ 'css' => $css,
105
+ 'custom_attributes' => $custom_attributes,
106
+ ),true,'woocommerce_json_search_customers' ),
107
+ ) );
108
+ } else {
109
+ $settings = array_merge( $settings, array(
110
+ array(
111
+ 'title' => ( $use_shipping_instances ? $method['zone_name'] . ': ' . $method['shipping_method_title'] : $method->get_method_title() ),
112
+ 'desc_tip' => $desc_tip,
113
+ 'desc' => '<br>' . sprintf( __( 'Include %s', 'woocommerce-jetpack' ), $options_data['title'] ) . $this->get_extra_option_desc( $include_id ),
114
+ 'id' => $include_id,
115
+ 'default' => '',
116
+ 'type' => $type,
117
+ 'class' => $class,
118
+ 'css' => $css,
119
+ 'options' => $options,
120
+ 'custom_attributes' => $custom_attributes,
121
+ ),
122
+ array(
123
+ 'desc_tip' => $desc_tip,
124
+ 'desc' => '<br>' . sprintf( __( 'Exclude %s', 'woocommerce-jetpack' ), $options_data['title'] ) . $this->get_extra_option_desc( $exclude_id ),
125
+ 'id' => $exclude_id,
126
+ 'default' => '',
127
+ 'type' => $type,
128
+ 'class' => $class,
129
+ 'css' => $css,
130
+ 'options' => $options,
131
+ 'custom_attributes' => $custom_attributes,
132
+ ),
133
+ ) );
134
+ }
135
+
136
  }
137
  $settings = array_merge( $settings, array(
138
  array(
includes/settings/wcj-settings-wholesale-price.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Wholesale Price
4
  *
5
- * @version 4.7.1
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -21,6 +21,15 @@ $settings = array(
21
  '<code>[wcj_product_wholesale_price_table]</code>' ),
22
  'id' => 'wcj_wholesale_price_general_options',
23
  ),
 
 
 
 
 
 
 
 
 
24
  array(
25
  'title' => __( 'Enable per Product', 'woocommerce-jetpack' ),
26
  'desc_tip' => __( 'This will add new meta box to each product\'s edit page.', 'woocommerce-jetpack' ),
@@ -132,6 +141,29 @@ $settings = array(
132
  'type' => 'sectionend',
133
  'id' => 'wcj_wholesale_price_general_options',
134
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  array(
136
  'title' => __( 'Wholesale Levels Options', 'woocommerce-jetpack' ),
137
  'type' => 'title',
2
  /**
3
  * Booster for WooCommerce - Settings - Wholesale Price
4
  *
5
+ * @version 4.9.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
21
  '<code>[wcj_product_wholesale_price_table]</code>' ),
22
  'id' => 'wcj_wholesale_price_general_options',
23
  ),
24
+ array(
25
+ 'title' => __( 'Price Table Format', 'woocommerce-jetpack' ),
26
+ 'desc_tip' => __( 'The title format from <code>[wcj_product_wholesale_price_table]</code> shortcode.', 'woocommerce-jetpack' ),
27
+ 'desc' => wcj_message_replaced_values( array( '%level_min_qty%' ) ),
28
+ 'id' => 'wcj_wholesale_price_table_sc_title_format',
29
+ 'default' => 'from %level_min_qty% pcs.',
30
+ 'type' => 'text',
31
+ 'css' => 'width:100%;',
32
+ ),
33
  array(
34
  'title' => __( 'Enable per Product', 'woocommerce-jetpack' ),
35
  'desc_tip' => __( 'This will add new meta box to each product\'s edit page.', 'woocommerce-jetpack' ),
141
  'type' => 'sectionend',
142
  'id' => 'wcj_wholesale_price_general_options',
143
  ),
144
+ array(
145
+ 'title' => __( 'Template Variables', 'woocommerce-jetpack' ),
146
+ 'type' => 'title',
147
+ 'desc' => __( 'Options regarding template variables', 'woocommerce-jetpack' ),
148
+ 'id' => 'wcj_wholesale_price_template_vars',
149
+ ),
150
+ array(
151
+ 'title' => __( 'Discount Value - Fixed Discount Totals', 'woocommerce-jetpack' ),
152
+ 'id' => 'wcj_wholesale_price_template_vars_discount_value_fdt',
153
+ 'desc' => apply_filters( 'booster_message', '', 'desc' ),
154
+ 'custom_attributes' => apply_filters( 'booster_message', '', 'disabled' ),
155
+ 'desc_tip' => __( 'Defines how the <code>%discount_value%</code> will calculate the totals when the fixed discount is in use.', 'woocommerce-jetpack' ),
156
+ 'default' => 'do_not_consider_qty',
157
+ 'type' => 'select',
158
+ 'options' => array(
159
+ 'do_not_consider_qty' => __( 'Do not consider quantity', 'woocommerce-jetpack' ),
160
+ 'consider_qty' => __( 'Consider quantity', 'woocommerce-jetpack' ),
161
+ ),
162
+ ),
163
+ array(
164
+ 'type' => 'sectionend',
165
+ 'id' => 'wcj_wholesale_price_template_vars',
166
+ ),
167
  array(
168
  'title' => __( 'Wholesale Levels Options', 'woocommerce-jetpack' ),
169
  'type' => 'title',
includes/shortcodes/class-wcj-shortcodes-order-items.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Order Items
4
  *
5
- * @version 4.4.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -442,7 +442,7 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
442
  /**
443
  * get_cell.
444
  *
445
- * @version 4.4.0
446
  * @since 3.2.0
447
  * @todo do we need `pa_` replacement?
448
  * @todo "WooCommerce TM Extra Product Options" plugin options: this will show options prices in shop's default currency only (must use 'price_per_currency' to show prices in order's currency)
@@ -504,28 +504,30 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
504
  $the_item_title .= '</div>';
505
  }
506
  // "WooCommerce TM Extra Product Options" plugin options
507
- $tmcartepo_data = ( WCJ_IS_WC_VERSION_BELOW_3 ?
508
- ( isset( $item['tmcartepo_data'] ) ? maybe_unserialize( $item['tmcartepo_data'] ) : '' ) :
509
- $item->get_meta( '_tmcartepo_data' )
510
- );
511
- if ( ! empty( $tmcartepo_data ) ) {
512
- $options_prices = array();
513
- foreach ( $tmcartepo_data as $option ) {
514
- $option_info = '';
515
- if ( isset( $option['name'] ) && '' != $option['name'] ) {
516
- $option_info .= $option['name'] . ': ';
517
- }
518
- if ( isset( $option['value'] ) && '' != $option['value'] ) {
519
- $option_info .= $option['value'];
520
- }
521
- if ( isset( $option['price'] ) && 'yes' === $atts['wc_extra_product_options_show_price'] ) {
522
- $option_info .= ( $option['price'] > 0 ) ? ' +' . wc_price( $option['price'] ) : ' ' . wc_price( $option['price'] );
523
- }
524
- if ( '' != $option_info ) {
525
- $options_prices[] = $option_info;
 
 
526
  }
 
527
  }
528
- $the_item_title .= '<div style="' . $atts['style_item_name_variation'] . '">' . implode( '<br>', $options_prices ) . '</div>';
529
  }
530
  return $the_item_title;
531
  }
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Order Items
4
  *
5
+ * @version 4.9.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
442
  /**
443
  * get_cell.
444
  *
445
+ * @version 4.9.0
446
  * @since 3.2.0
447
  * @todo do we need `pa_` replacement?
448
  * @todo "WooCommerce TM Extra Product Options" plugin options: this will show options prices in shop's default currency only (must use 'price_per_currency' to show prices in order's currency)
504
  $the_item_title .= '</div>';
505
  }
506
  // "WooCommerce TM Extra Product Options" plugin options
507
+ if ( 'yes' === get_option( 'wcj_general_advanced_wcepo_enable', 'yes' ) ) {
508
+ $tmcartepo_data = ( WCJ_IS_WC_VERSION_BELOW_3 ?
509
+ ( isset( $item['tmcartepo_data'] ) ? maybe_unserialize( $item['tmcartepo_data'] ) : '' ) :
510
+ $item->get_meta( '_tmcartepo_data' )
511
+ );
512
+ if ( ! empty( $tmcartepo_data ) ) {
513
+ $options_prices = array();
514
+ foreach ( $tmcartepo_data as $option ) {
515
+ $option_info = '';
516
+ if ( isset( $option['name'] ) && '' != $option['name'] ) {
517
+ $option_info .= $option['name'] . ': ';
518
+ }
519
+ if ( isset( $option['value'] ) && '' != $option['value'] ) {
520
+ $option_info .= $option['value'];
521
+ }
522
+ if ( isset( $option['price'] ) && 'yes' === $atts['wc_extra_product_options_show_price'] ) {
523
+ $option_info .= ( $option['price'] > 0 ) ? ' +' . wc_price( $option['price'] ) : ' ' . wc_price( $option['price'] );
524
+ }
525
+ if ( '' != $option_info ) {
526
+ $options_prices[] = $option_info;
527
+ }
528
  }
529
+ $the_item_title .= '<div style="' . $atts['style_item_name_variation'] . '">' . implode( '<br>', $options_prices ) . '</div>';
530
  }
 
531
  }
532
  return $the_item_title;
533
  }
includes/shortcodes/class-wcj-shortcodes-orders.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Orders
4
  *
5
- * @version 4.6.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -1048,10 +1048,11 @@ class WCJ_Orders_Shortcodes extends WCJ_Shortcodes {
1048
  /**
1049
  * wcj_order_time.
1050
  *
1051
- * @version 3.1.0
1052
  */
1053
  function wcj_order_time( $atts ) {
1054
- return date_i18n( $atts['time_format'], strtotime( wcj_get_order_date( $this->the_order ) ) );
 
1055
  }
1056
 
1057
  /**
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Orders
4
  *
5
+ * @version 4.9.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
1048
  /**
1049
  * wcj_order_time.
1050
  *
1051
+ * @version 4.9.0
1052
  */
1053
  function wcj_order_time( $atts ) {
1054
+ $order_date = wcj_get_order_date( $this->the_order )->format( 'Y-m-d H:i:s' );
1055
+ return wcj_pretty_utc_date( $order_date, $atts['time_format'] );
1056
  }
1057
 
1058
  /**
includes/shortcodes/class-wcj-shortcodes-products.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Products
4
  *
5
- * @version 4.6.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -857,7 +857,7 @@ class WCJ_Products_Shortcodes extends WCJ_Shortcodes {
857
  /**
858
  * wcj_product_wholesale_price_table.
859
  *
860
- * @version 4.6.0
861
  * @todo (maybe) `if ( 'yes' === $atts['add_percent_row'] )` for 'fixed' or 'price_directly'; `if ( 'yes' === $atts['add_discount_row'] )` for 'percent' or 'price_directly'
862
  */
863
  function wcj_product_wholesale_price_table( $atts ) {
@@ -969,12 +969,13 @@ class WCJ_Products_Shortcodes extends WCJ_Shortcodes {
969
  }
970
  }
971
 
 
972
  $level_max_qty = ( isset( $wholesale_price_levels[ $i + 1 ]['quantity'] ) ) ?
973
  $atts['before_level_max_qty'] . ( $wholesale_price_levels[ $i + 1 ]['quantity'] - 1 ) : $atts['last_level_max_qty'];
974
  $data_qty[] = str_replace(
975
  array( '%level_qty%', '%level_min_qty%', '%level_max_qty%' ), // %level_qty% is deprecated
976
  array( $wholesale_price_level['quantity'], $wholesale_price_level['quantity'], $level_max_qty ),
977
- $atts['heading_format']
978
  );
979
  if ( 'yes' === $atts['add_price_row'] ) {
980
  $data_price[] = str_replace( array( '%old_price%', '%price%' ), array( $the_price_original, $the_price ), $atts['price_row_format'] );
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Products
4
  *
5
+ * @version 4.9.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
857
  /**
858
  * wcj_product_wholesale_price_table.
859
  *
860
+ * @version 4.9.0
861
  * @todo (maybe) `if ( 'yes' === $atts['add_percent_row'] )` for 'fixed' or 'price_directly'; `if ( 'yes' === $atts['add_discount_row'] )` for 'percent' or 'price_directly'
862
  */
863
  function wcj_product_wholesale_price_table( $atts ) {
969
  }
970
  }
971
 
972
+
973
  $level_max_qty = ( isset( $wholesale_price_levels[ $i + 1 ]['quantity'] ) ) ?
974
  $atts['before_level_max_qty'] . ( $wholesale_price_levels[ $i + 1 ]['quantity'] - 1 ) : $atts['last_level_max_qty'];
975
  $data_qty[] = str_replace(
976
  array( '%level_qty%', '%level_min_qty%', '%level_max_qty%' ), // %level_qty% is deprecated
977
  array( $wholesale_price_level['quantity'], $wholesale_price_level['quantity'], $level_max_qty ),
978
+ get_option( 'wcj_wholesale_price_table_sc_title_format', 'from %level_min_qty% pcs.' )
979
  );
980
  if ( 'yes' === $atts['add_price_row'] ) {
981
  $data_price[] = str_replace( array( '%old_price%', '%price%' ), array( $the_price_original, $the_price ), $atts['price_row_format'] );
langs/woocommerce-jetpack.pot CHANGED
@@ -45,7 +45,7 @@ msgstr ""
45
  #: includes/class-wcj-track-users.php:251
46
  #: includes/classes/class-wcj-module.php:532
47
  #: includes/classes/class-wcj-module.php:732
48
- #: includes/settings/wcj-settings-price-by-country.php:195
49
  msgid "Booster"
50
  msgstr ""
51
 
@@ -98,7 +98,7 @@ msgstr ""
98
  #: includes/admin/class-wc-settings-jetpack.php:217
99
  #: includes/class-wcj-admin-bar.php:384
100
  #: includes/settings/wcj-settings-emails-verification.php:146
101
- #: includes/settings/wcj-settings-price-by-country.php:194
102
  msgid "WooCommerce"
103
  msgstr ""
104
 
@@ -176,7 +176,7 @@ msgstr ""
176
  #: includes/admin/class-wc-settings-jetpack.php:380
177
  #: includes/admin/class-wcj-tools.php:77
178
  #: includes/export/class-wcj-fields-helper.php:293
179
- #: includes/gateways/class-wc-gateway-wcj-custom.php:63
180
  #: includes/settings/wcj-settings-checkout-custom-fields.php:172
181
  #: includes/settings/wcj-settings-eu-vat-number.php:34
182
  #: includes/settings/wcj-settings-product-by-user.php:13
@@ -808,7 +808,7 @@ msgid "Trash"
808
  msgstr ""
809
 
810
  #: includes/class-wcj-admin-orders-list.php:326
811
- #: includes/class-wcj-product-by-country.php:194
812
  msgid "All countries"
813
  msgstr ""
814
 
@@ -853,37 +853,37 @@ msgstr ""
853
  msgid "All Products and All Attributes."
854
  msgstr ""
855
 
856
- #: includes/class-wcj-admin-tools.php:152
857
  #: includes/settings/wcj-settings-export.php:157
858
  #: includes/settings/wcj-settings-export.php:236
859
  msgid "Product Meta"
860
  msgstr ""
861
 
862
- #: includes/class-wcj-admin-tools.php:169
863
  #: includes/settings/wcj-settings-export.php:86
864
  #: includes/settings/wcj-settings-export.php:154
865
  msgid "Order Meta"
866
  msgstr ""
867
 
868
- #: includes/class-wcj-admin-tools.php:203
869
  msgid "Order Items Meta"
870
  msgstr ""
871
 
872
- #: includes/class-wcj-admin-tools.php:205
873
  msgid "Item Key"
874
  msgstr ""
875
 
876
- #: includes/class-wcj-admin-tools.php:205
877
  msgid "Item Meta Key"
878
  msgstr ""
879
 
880
- #: includes/class-wcj-admin-tools.php:205
881
  msgid "Item Meta Value"
882
  msgstr ""
883
 
884
- #: includes/class-wcj-admin-tools.php:240
885
- #: includes/class-wcj-admin-tools.php:282
886
- #: includes/class-wcj-admin-tools.php:291
887
  #: includes/class-wcj-product-bulk-meta-editor.php:339
888
  #: includes/class-wcj-product-bulk-price-converter.php:148
889
  #: includes/class-wcj-sku.php:668
@@ -892,14 +892,14 @@ msgstr ""
892
  msgid "Product"
893
  msgstr ""
894
 
895
- #: includes/class-wcj-admin-tools.php:241
896
- #: includes/class-wcj-admin-tools.php:283
897
- #: includes/class-wcj-admin-tools.php:292
898
  #: includes/reports/wcj-class-reports-stock.php:270
899
  msgid "Category"
900
  msgstr ""
901
 
902
- #: includes/class-wcj-admin-tools.php:308
903
  msgid "Total Products:"
904
  msgstr ""
905
 
@@ -1438,7 +1438,7 @@ msgid ""
1438
  msgstr ""
1439
 
1440
  #: includes/class-wcj-custom-php.php:32
1441
- #: includes/settings/wcj-settings-multicurrency.php:169
1442
  #: includes/settings/wcj-settings-offer-price.php:84
1443
  #, php-format
1444
  msgid "E.g.: %s"
@@ -1689,27 +1689,27 @@ msgstr ""
1689
  msgid "Validate VAT and remove taxes"
1690
  msgstr ""
1691
 
1692
- #: includes/class-wcj-eu-vat-number.php:377
1693
  #: includes/settings/wcj-settings-eu-vat-number.php:189
1694
  msgid "Validating VAT. Please wait..."
1695
  msgstr ""
1696
 
1697
- #: includes/class-wcj-eu-vat-number.php:378
1698
  #: includes/settings/wcj-settings-eu-vat-number.php:196
1699
  msgid "VAT is valid."
1700
  msgstr ""
1701
 
1702
- #: includes/class-wcj-eu-vat-number.php:379
1703
  #: includes/settings/wcj-settings-eu-vat-number.php:203
1704
  msgid "VAT is not valid."
1705
  msgstr ""
1706
 
1707
- #: includes/class-wcj-eu-vat-number.php:380
1708
  #: includes/settings/wcj-settings-eu-vat-number.php:211
1709
  msgid "Validation failed. Please try again."
1710
  msgstr ""
1711
 
1712
- #: includes/class-wcj-eu-vat-number.php:509
1713
  #: includes/settings/wcj-settings-eu-vat-number.php:83
1714
  msgid "<strong>EU VAT Number</strong> is not valid."
1715
  msgstr ""
@@ -1894,7 +1894,7 @@ msgstr ""
1894
 
1895
  #: includes/class-wcj-general.php:218
1896
  #: includes/class-wcj-product-by-user.php:197
1897
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:114
1898
  #: includes/tools/class-wcj-order-statuses-tool.php:145
1899
  #: includes/tools/class-wcj-order-statuses-tool.php:221
1900
  msgid "Actions"
@@ -1934,11 +1934,11 @@ msgstr ""
1934
  #: includes/settings/wcj-settings-order-custom-statuses.php:37
1935
  #: includes/settings/wcj-settings-order-custom-statuses.php:80
1936
  #: includes/settings/wcj-settings-order-custom-statuses.php:107
1937
- #: includes/settings/wcj-settings-order-min-amount.php:53
1938
  #: includes/settings/wcj-settings-orders.php:132
1939
  #: includes/settings/wcj-settings-orders.php:159
1940
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:139
1941
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:197
1942
  #: includes/settings/wcj-settings-product-by-condition.php:107
1943
  #: includes/settings/wcj-settings-product-by-user.php:114
1944
  #: includes/settings/wcj-settings-product-open-pricing.php:123
@@ -2027,8 +2027,8 @@ msgid "Qty Bought"
2027
  msgstr ""
2028
 
2029
  #: includes/class-wcj-max-products-per-user.php:204
2030
- #: includes/functions/wcj-functions-users.php:159
2031
- #: includes/functions/wcj-functions-users.php:182
2032
  msgid "Guest"
2033
  msgstr ""
2034
 
@@ -2451,12 +2451,12 @@ msgstr[1] ""
2451
  msgid "Mark"
2452
  msgstr ""
2453
 
2454
- #: includes/class-wcj-order-min-amount.php:26
2455
  #: includes/settings/wcj-settings-order-min-amount.php:14
2456
  msgid "Order Minimum Amount"
2457
  msgstr ""
2458
 
2459
- #: includes/class-wcj-order-min-amount.php:27
2460
  msgid "Minimum order amount (optionally by user role)."
2461
  msgstr ""
2462
 
@@ -2845,7 +2845,8 @@ msgid "After the price"
2845
  msgstr ""
2846
 
2847
  #: includes/class-wcj-price-labels.php:40
2848
- #: includes/class-wcj-product-by-country.php:169
 
2849
  #: includes/class-wcj-product-info.php:235
2850
  #: includes/class-wcj-shipping-by-products.php:195
2851
  #: includes/class-wcj-shipping-options.php:121
@@ -2909,7 +2910,7 @@ msgstr ""
2909
  #: includes/settings/wcj-settings-emails-verification.php:28
2910
  #: includes/settings/wcj-settings-emails-verification.php:36
2911
  #: includes/settings/wcj-settings-emails-verification.php:43
2912
- #: includes/settings/wcj-settings-eu-vat-number.php:242
2913
  #: includes/settings/wcj-settings-general.php:21
2914
  #: includes/settings/wcj-settings-general.php:73
2915
  #: includes/settings/wcj-settings-general.php:146
@@ -2927,14 +2928,18 @@ msgstr ""
2927
  #: includes/settings/wcj-settings-multicurrency-base-price.php:53
2928
  #: includes/settings/wcj-settings-multicurrency-base-price.php:70
2929
  #: includes/settings/wcj-settings-multicurrency.php:39
2930
- #: includes/settings/wcj-settings-multicurrency.php:112
2931
- #: includes/settings/wcj-settings-multicurrency.php:120
2932
- #: includes/settings/wcj-settings-multicurrency.php:127
2933
- #: includes/settings/wcj-settings-multicurrency.php:135
2934
- #: includes/settings/wcj-settings-multicurrency.php:143
2935
- #: includes/settings/wcj-settings-multicurrency.php:151
2936
- #: includes/settings/wcj-settings-multicurrency.php:184
2937
- #: includes/settings/wcj-settings-multicurrency.php:193
 
 
 
 
2938
  #: includes/settings/wcj-settings-my-account.php:29
2939
  #: includes/settings/wcj-settings-my-account.php:87
2940
  #: includes/settings/wcj-settings-my-account.php:104
@@ -2965,6 +2970,7 @@ msgstr ""
2965
  #: includes/settings/wcj-settings-payment-gateways-fees.php:102
2966
  #: includes/settings/wcj-settings-payment-gateways-per-category.php:25
2967
  #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:55
 
2968
  #: includes/settings/wcj-settings-pdf-invoicing-display.php:118
2969
  #: includes/settings/wcj-settings-pdf-invoicing-footer.php:23
2970
  #: includes/settings/wcj-settings-pdf-invoicing-header.php:24
@@ -2977,6 +2983,8 @@ msgstr ""
2977
  #: includes/settings/wcj-settings-price-by-country.php:133
2978
  #: includes/settings/wcj-settings-price-by-country.php:142
2979
  #: includes/settings/wcj-settings-price-by-country.php:166
 
 
2980
  #: includes/settings/wcj-settings-price-by-user-role.php:19
2981
  #: includes/settings/wcj-settings-price-by-user-role.php:46
2982
  #: includes/settings/wcj-settings-price-by-user-role.php:93
@@ -3022,6 +3030,8 @@ msgstr ""
3022
  #: includes/settings/wcj-settings-product-input-fields.php:335
3023
  #: includes/settings/wcj-settings-product-input-fields.php:354
3024
  #: includes/settings/wcj-settings-product-input-fields.php:362
 
 
3025
  #: includes/settings/wcj-settings-product-open-pricing.php:102
3026
  #: includes/settings/wcj-settings-product-open-pricing.php:109
3027
  #: includes/settings/wcj-settings-product-open-pricing.php:140
@@ -3069,9 +3079,9 @@ msgstr ""
3069
  #: includes/settings/wcj-settings-stock.php:154
3070
  #: includes/settings/wcj-settings-track-users.php:47
3071
  #: includes/settings/wcj-settings-upsells.php:81
3072
- #: includes/settings/wcj-settings-wholesale-price.php:27
3073
- #: includes/settings/wcj-settings-wholesale-price.php:45
3074
  #: includes/settings/wcj-settings-wholesale-price.php:54
 
3075
  #: includes/settings/wcj-settings-wpml.php:28
3076
  #: includes/settings/wcj-settings-wpml.php:35
3077
  #: includes/settings/wcj-settings-wpml.php:53
@@ -3294,7 +3304,7 @@ msgstr ""
3294
  #: includes/settings/meta-box/wcj-settings-meta-box-add-to-cart-button-visibility.php:38
3295
  #: includes/settings/wcj-settings-price-by-user-role.php:69
3296
  #: includes/settings/wcj-settings-product-msrp.php:31
3297
- #: includes/settings/wcj-settings-wholesale-price.php:61
3298
  msgid "Show"
3299
  msgstr ""
3300
 
@@ -3479,64 +3489,64 @@ msgstr ""
3479
  msgid "Countries"
3480
  msgstr ""
3481
 
3482
- #: includes/class-wcj-product-by-country.php:144
3483
  msgid "User Country Selection Options"
3484
  msgstr ""
3485
 
3486
- #: includes/class-wcj-product-by-country.php:149
3487
  msgid "User Country Selection Method"
3488
  msgstr ""
3489
 
3490
- #: includes/class-wcj-product-by-country.php:150
3491
  msgid "Possible values: \"Automatically by IP\" or \"Manually\"."
3492
  msgstr ""
3493
 
3494
- #: includes/class-wcj-product-by-country.php:152
3495
  #, php-format
3496
  msgid ""
3497
  "If \"Manually\" option is selected, you can add country selection drop box "
3498
  "to frontend with \"%s\" widget or %s shortcode."
3499
  msgstr ""
3500
 
3501
- #: includes/class-wcj-product-by-country.php:153
3502
  #: includes/class-wcj-product-custom-visibility.php:31
3503
  #: includes/widgets/class-wcj-widget-selector.php:27
3504
  msgid "Booster - Selector"
3505
  msgstr ""
3506
 
3507
- #: includes/class-wcj-product-by-country.php:160
3508
  msgid "Automatically by IP"
3509
  msgstr ""
3510
 
3511
- #: includes/class-wcj-product-by-country.php:161
3512
  #: includes/settings/wcj-settings-pdf-invoicing.php:32
3513
  msgid "Manually"
3514
  msgstr ""
3515
 
3516
- #: includes/class-wcj-product-by-country.php:167
3517
  msgid "Overwrite by Billing Country"
3518
  msgstr ""
3519
 
3520
- #: includes/class-wcj-product-by-country.php:168
3521
  msgid "Tries to overwrite Country by User Billing Country on Checkout Page."
3522
  msgstr ""
3523
 
3524
- #: includes/class-wcj-product-by-country.php:179
3525
  msgid "Admin Country List Options"
3526
  msgstr ""
3527
 
3528
- #: includes/class-wcj-product-by-country.php:184
3529
  msgid "Country List"
3530
  msgstr ""
3531
 
3532
- #: includes/class-wcj-product-by-country.php:185
3533
  msgid ""
3534
  "This option sets which countries will be added to list in product's edit "
3535
  "page. Possible values: \"All countries\" or \"WooCommerce selling locations"
3536
  "\"."
3537
  msgstr ""
3538
 
3539
- #: includes/class-wcj-product-by-country.php:187
3540
  #, php-format
3541
  msgid ""
3542
  "If \"WooCommerce selling locations\" option is selected, country list will "
@@ -3544,7 +3554,7 @@ msgid ""
3544
  "location(s)</a>."
3545
  msgstr ""
3546
 
3547
- #: includes/class-wcj-product-by-country.php:195
3548
  msgid "WooCommerce selling locations"
3549
  msgstr ""
3550
 
@@ -3618,6 +3628,26 @@ msgstr ""
3618
  msgid "User Roles"
3619
  msgstr ""
3620
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3621
  #: includes/class-wcj-product-by-user.php:26
3622
  msgid "User Products"
3623
  msgstr ""
@@ -3640,7 +3670,7 @@ msgstr ""
3640
 
3641
  #: includes/class-wcj-product-by-user.php:197
3642
  #: includes/class-wcj-product-tabs.php:620
3643
- #: includes/gateways/class-wc-gateway-wcj-custom.php:55
3644
  #: includes/input-fields/wcj-product-input-fields-options.php:51
3645
  #: includes/settings/meta-box/wcj-settings-meta-box-product-addons.php:95
3646
  #: includes/settings/wcj-settings-admin-orders-list.php:172
@@ -3878,11 +3908,11 @@ msgid ""
3878
  "count, exclude categories, show/hide empty categories."
3879
  msgstr ""
3880
 
3881
- #: includes/class-wcj-product-msrp.php:30
3882
  msgid "Product MSRP"
3883
  msgstr ""
3884
 
3885
- #: includes/class-wcj-product-msrp.php:31
3886
  msgid ""
3887
  "The <strong>manufacturer's suggested retail price</strong> (<strong>MSRP</"
3888
  "strong>), also known as the <strong>list price</strong>, or the "
@@ -3892,18 +3922,18 @@ msgid ""
3892
  "product."
3893
  msgstr ""
3894
 
3895
- #: includes/class-wcj-product-msrp.php:32
3896
  #, php-format
3897
  msgid "Booster stores MSRP as product meta with %s key."
3898
  msgstr ""
3899
 
3900
- #: includes/class-wcj-product-msrp.php:33
3901
  msgid "Save and display product MSRP in WooCommerce."
3902
  msgstr ""
3903
 
3904
- #: includes/class-wcj-product-msrp.php:92
3905
- #: includes/class-wcj-product-msrp.php:123
3906
- #: includes/settings/meta-box/wcj-settings-meta-box-product-msrp.php:35
3907
  msgid "MSRP"
3908
  msgstr ""
3909
 
@@ -4115,7 +4145,7 @@ msgstr ""
4115
  #: includes/class-wcj-product-tabs.php:658
4116
  #: includes/settings/meta-box/wcj-settings-meta-box-product-by-date.php:22
4117
  #: includes/settings/meta-box/wcj-settings-meta-box-product-by-time.php:19
4118
- #: includes/settings/wcj-settings-checkout-core-fields.php:71
4119
  #: includes/settings/wcj-settings-currency-exchange-rates.php:158
4120
  #: includes/settings/wcj-settings-order-numbers.php:46
4121
  #: includes/settings/wcj-settings-orders.php:180
@@ -4521,8 +4551,8 @@ msgid ""
4521
  msgstr ""
4522
 
4523
  #: includes/class-wcj-shipping-by-user-role.php:33
4524
- #: includes/settings/wcj-settings-multicurrency.php:261
4525
- #: includes/settings/wcj-settings-order-min-amount.php:104
4526
  #: includes/settings/wcj-settings-price-by-user-role.php:133
4527
  #, php-format
4528
  msgid ""
@@ -4847,7 +4877,7 @@ msgstr ""
4847
  msgid "Booster for WooCommerce basic WPML support."
4848
  msgstr ""
4849
 
4850
- #: includes/class-wcj-wpml.php:137
4851
  msgid "File wpml-config.xml successfully regenerated!"
4852
  msgstr ""
4853
 
@@ -4905,7 +4935,7 @@ msgid "Module Tools"
4905
  msgstr ""
4906
 
4907
  #: includes/classes/class-wcj-module.php:784
4908
- #: includes/settings/wcj-settings-checkout-core-fields.php:64
4909
  msgid "enabled"
4910
  msgstr ""
4911
 
@@ -5032,7 +5062,7 @@ msgid "Order status %s to %s"
5032
  msgstr ""
5033
 
5034
  #: includes/emails/class-wc-email-wcj-custom.php:236
5035
- #: includes/gateways/class-wc-gateway-wcj-custom.php:48
5036
  #: includes/settings/wcj-settings-admin-products-list.php:19
5037
  #: includes/settings/wcj-settings-admin-products-list.php:75
5038
  #: includes/settings/wcj-settings-checkout-custom-fields.php:121
@@ -5285,7 +5315,7 @@ msgstr ""
5285
 
5286
  #: includes/export/class-wcj-fields-helper.php:80
5287
  #: includes/export/class-wcj-fields-helper.php:295
5288
- #: includes/gateways/class-wc-gateway-wcj-custom.php:148
5289
  msgid "URL"
5290
  msgstr ""
5291
 
@@ -5646,15 +5676,15 @@ msgid ""
5646
  "version <strong>%s</strong>."
5647
  msgstr ""
5648
 
5649
- #: includes/functions/wcj-functions-admin.php:152
5650
  msgid "Search&hellip;"
5651
  msgstr ""
5652
 
5653
- #: includes/functions/wcj-functions-admin.php:192
5654
  msgid "Enter comma separated list of IDs."
5655
  msgstr ""
5656
 
5657
- #: includes/functions/wcj-functions-admin.php:266
5658
  #: includes/settings/wcj-settings-emails-verification.php:75
5659
  #: includes/settings/wcj-settings-emails-verification.php:83
5660
  #: includes/settings/wcj-settings-emails-verification.php:130
@@ -5662,60 +5692,60 @@ msgstr ""
5662
  msgid "Replaced value: %s"
5663
  msgstr ""
5664
 
5665
- #: includes/functions/wcj-functions-admin.php:266
5666
  #, php-format
5667
  msgid "Replaced values: %s"
5668
  msgstr ""
5669
 
5670
- #: includes/functions/wcj-functions-admin.php:295
5671
  msgid "Install Booster Plus to unlock all features"
5672
  msgstr ""
5673
 
5674
- #: includes/functions/wcj-functions-admin.php:296
5675
  #, php-format
5676
  msgid ""
5677
  "Some settings fields are locked and you will need %s to modify all locked "
5678
  "fields."
5679
  msgstr ""
5680
 
5681
- #: includes/functions/wcj-functions-admin.php:299
5682
  msgid "Buy now"
5683
  msgstr ""
5684
 
5685
- #: includes/functions/wcj-functions-admin.php:300
5686
  msgid "Visit Booster Site"
5687
  msgstr ""
5688
 
5689
- #: includes/functions/wcj-functions-admin.php:305
5690
  #, php-format
5691
  msgid "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to change value."
5692
  msgstr ""
5693
 
5694
- #: includes/functions/wcj-functions-admin.php:308
5695
  #, php-format
5696
  msgid ""
5697
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to enable \"%s\" "
5698
  "option."
5699
  msgstr ""
5700
 
5701
- #: includes/functions/wcj-functions-admin.php:311
5702
  #, php-format
5703
  msgid "Get Booster Plus to enable \"%s\" option."
5704
  msgstr ""
5705
 
5706
- #: includes/functions/wcj-functions-admin.php:314
5707
  #, php-format
5708
  msgid ""
5709
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to change values below."
5710
  msgstr ""
5711
 
5712
- #: includes/functions/wcj-functions-admin.php:317
5713
  #, php-format
5714
  msgid ""
5715
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to change values above."
5716
  msgstr ""
5717
 
5718
- #: includes/functions/wcj-functions-admin.php:320
5719
  msgid "Get Booster Plus to change value."
5720
  msgstr ""
5721
 
@@ -7008,139 +7038,139 @@ msgstr ""
7008
  msgid "You have Free delivery"
7009
  msgstr ""
7010
 
7011
- #: includes/gateways/class-wc-gateway-wcj-custom.php:50
7012
  msgid "Enable Custom Payment"
7013
  msgstr ""
7014
 
7015
- #: includes/gateways/class-wc-gateway-wcj-custom.php:57
7016
  #: includes/shipping/class-wc-shipping-wcj-custom-with-shipping-zones.php:193
7017
  #: includes/shipping/class-wc-shipping-wcj-custom.php:109
7018
  msgid "This controls the title which the user sees during checkout."
7019
  msgstr ""
7020
 
7021
- #: includes/gateways/class-wc-gateway-wcj-custom.php:58
7022
  msgid "Custom Payment"
7023
  msgstr ""
7024
 
7025
- #: includes/gateways/class-wc-gateway-wcj-custom.php:65
7026
  msgid "Payment method description that the customer will see on your checkout."
7027
  msgstr ""
7028
 
7029
- #: includes/gateways/class-wc-gateway-wcj-custom.php:66
7030
  msgid "You can add input fields with [wcj_input_field] shortcode."
7031
  msgstr ""
7032
 
7033
- #: includes/gateways/class-wc-gateway-wcj-custom.php:67
7034
  msgid "Custom Payment Description."
7035
  msgstr ""
7036
 
7037
- #: includes/gateways/class-wc-gateway-wcj-custom.php:72
7038
  msgid "Instructions"
7039
  msgstr ""
7040
 
7041
- #: includes/gateways/class-wc-gateway-wcj-custom.php:74
7042
  msgid "Instructions that will be added to the thank you page."
7043
  msgstr ""
7044
 
7045
- #: includes/gateways/class-wc-gateway-wcj-custom.php:80
7046
  msgid "Email Instructions"
7047
  msgstr ""
7048
 
7049
- #: includes/gateways/class-wc-gateway-wcj-custom.php:82
7050
  msgid "Instructions that will be added to the emails."
7051
  msgstr ""
7052
 
7053
- #: includes/gateways/class-wc-gateway-wcj-custom.php:88
7054
  msgid "Icon"
7055
  msgstr ""
7056
 
7057
- #: includes/gateways/class-wc-gateway-wcj-custom.php:90
7058
  #: includes/settings/wcj-settings-payment-gateways-icons.php:16
7059
  msgid ""
7060
  "If you want to show an image next to the gateway's name on the frontend, "
7061
  "enter a URL to an image."
7062
  msgstr ""
7063
 
7064
- #: includes/gateways/class-wc-gateway-wcj-custom.php:97
7065
  #: includes/settings/wcj-settings-shipping-by-order-amount.php:57
7066
  msgid "Minimum order amount"
7067
  msgstr ""
7068
 
7069
- #: includes/gateways/class-wc-gateway-wcj-custom.php:99
7070
  msgid ""
7071
  "If you want to set minimum order amount (excluding fees) to show this "
7072
  "gateway on frontend, enter a number here. Set to 0 to disable."
7073
  msgstr ""
7074
 
7075
- #: includes/gateways/class-wc-gateway-wcj-custom.php:106
7076
  #: includes/settings/wcj-settings-payment-gateways-by-shipping.php:59
7077
  msgid "Enable for shipping methods"
7078
  msgstr ""
7079
 
7080
- #: includes/gateways/class-wc-gateway-wcj-custom.php:111
7081
  msgid ""
7082
  "If gateway is only available for certain shipping methods, set it up here. "
7083
  "Leave blank to enable for all methods."
7084
  msgstr ""
7085
 
7086
- #: includes/gateways/class-wc-gateway-wcj-custom.php:114
7087
  #: includes/settings/wcj-settings-payment-gateways-by-shipping.php:66
7088
  msgid "Select shipping methods"
7089
  msgstr ""
7090
 
7091
- #: includes/gateways/class-wc-gateway-wcj-custom.php:118
7092
  msgid "Enable for virtual orders"
7093
  msgstr ""
7094
 
7095
- #: includes/gateways/class-wc-gateway-wcj-custom.php:119
7096
  msgid "Enable gateway if the order is virtual"
7097
  msgstr ""
7098
 
7099
- #: includes/gateways/class-wc-gateway-wcj-custom.php:125
7100
  #: includes/settings/wcj-settings-order-custom-statuses.php:19
7101
  msgid "Default Order Status"
7102
  msgstr ""
7103
 
7104
- #: includes/gateways/class-wc-gateway-wcj-custom.php:126
7105
  msgid "Enable Custom Statuses feature to add custom statuses to the list."
7106
  msgstr ""
7107
 
7108
- #: includes/gateways/class-wc-gateway-wcj-custom.php:133
7109
  msgid "Send Additional Emails"
7110
  msgstr ""
7111
 
7112
- #: includes/gateways/class-wc-gateway-wcj-custom.php:134
7113
  msgid "Send to Admin"
7114
  msgstr ""
7115
 
7116
- #: includes/gateways/class-wc-gateway-wcj-custom.php:140
7117
  msgid "Send to Customer"
7118
  msgstr ""
7119
 
7120
- #: includes/gateways/class-wc-gateway-wcj-custom.php:141
7121
  msgid ""
7122
  "This may help if you are using pending or custom default status and not "
7123
  "getting new order emails."
7124
  msgstr ""
7125
 
7126
- #: includes/gateways/class-wc-gateway-wcj-custom.php:147
7127
  msgid "Custom Return URL (Thank You Page)"
7128
  msgstr ""
7129
 
7130
- #: includes/gateways/class-wc-gateway-wcj-custom.php:149
7131
  msgid "Enter full URL with http(s)."
7132
  msgstr ""
7133
 
7134
- #: includes/gateways/class-wc-gateway-wcj-custom.php:150
7135
  msgid "Optional. Leave blank to use default URL."
7136
  msgstr ""
7137
 
7138
- #: includes/gateways/class-wc-gateway-wcj-custom.php:350
7139
  #: includes/settings/wcj-settings-payment-gateways.php:38
7140
  msgid "Custom Gateway"
7141
  msgstr ""
7142
 
7143
- #: includes/gateways/class-wc-gateway-wcj-custom.php:351
7144
  msgid "Booster for WooCommerce: Custom Payment Gateway"
7145
  msgstr ""
7146
 
@@ -7180,7 +7210,7 @@ msgstr ""
7180
  #: includes/settings/meta-box/wcj-settings-meta-box-product-price-by-formula.php:21
7181
  #: includes/settings/wcj-settings-admin-orders-list.php:57
7182
  #: includes/settings/wcj-settings-admin-products-list.php:43
7183
- #: includes/settings/wcj-settings-checkout-core-fields.php:70
7184
  #: includes/settings/wcj-settings-checkout-files-upload.php:40
7185
  #: includes/settings/wcj-settings-export.php:70
7186
  #: includes/settings/wcj-settings-export.php:138
@@ -7271,7 +7301,7 @@ msgid "Placeholder"
7271
  msgstr ""
7272
 
7273
  #: includes/input-fields/wcj-product-input-fields-options.php:63
7274
- #: includes/settings/wcj-settings-checkout-core-fields.php:82
7275
  #: includes/settings/wcj-settings-checkout-custom-fields.php:152
7276
  #: includes/settings/wcj-settings-checkout-files-upload.php:46
7277
  #: includes/settings/wcj-settings-eu-vat-number.php:49
@@ -7621,9 +7651,9 @@ msgstr ""
7621
  #: includes/settings/wcj-settings-add-to-cart-button-visibility.php:36
7622
  #: includes/settings/wcj-settings-add-to-cart-button-visibility.php:62
7623
  #: includes/settings/wcj-settings-multicurrency-base-price.php:63
7624
- #: includes/settings/wcj-settings-multicurrency.php:162
7625
- #: includes/settings/wcj-settings-order-min-amount.php:69
7626
- #: includes/settings/wcj-settings-price-by-country.php:177
7627
  #: includes/settings/wcj-settings-price-by-user-role.php:106
7628
  #: includes/settings/wcj-settings-product-addons.php:230
7629
  msgid "Advanced"
@@ -7860,18 +7890,18 @@ msgstr ""
7860
 
7861
  #: includes/price-by-country/class-wcj-price-by-country-local.php:111
7862
  #: includes/settings/meta-box/wcj-settings-meta-box-price-by-country.php:67
7863
- #: includes/settings/wcj-settings-price-by-country.php:355
7864
  msgid "Make empty price"
7865
  msgstr ""
7866
 
7867
  #: includes/price-by-country/class-wcj-price-by-country-local.php:215
7868
  #: includes/settings/meta-box/wcj-settings-meta-box-price-by-country.php:17
7869
  #: includes/settings/wcj-settings-add-to-cart.php:50
7870
- #: includes/settings/wcj-settings-price-by-country.php:249
7871
- #: includes/settings/wcj-settings-price-by-country.php:250
7872
- #: includes/settings/wcj-settings-price-by-country.php:255
7873
- #: includes/settings/wcj-settings-price-by-country.php:303
7874
- #: includes/settings/wcj-settings-price-by-country.php:346
7875
  msgid "Group"
7876
  msgstr ""
7877
 
@@ -8266,9 +8296,9 @@ msgid "Deadline"
8266
  msgstr ""
8267
 
8268
  #: includes/settings/meta-box/wcj-settings-meta-box-currency-per-product.php:13
8269
- #: includes/settings/wcj-settings-checkout-core-fields.php:69
8270
- #: includes/settings/wcj-settings-checkout-core-fields.php:81
8271
- #: includes/settings/wcj-settings-checkout-core-fields.php:118
8272
  #: includes/settings/wcj-settings-products-per-page.php:29
8273
  msgid "Default"
8274
  msgstr ""
@@ -8453,7 +8483,7 @@ msgstr ""
8453
  #: includes/settings/wcj-settings-general.php:122
8454
  #: includes/settings/wcj-settings-general.php:130
8455
  #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:84
8456
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:123
8457
  #: includes/settings/wcj-settings-price-by-user-role.php:55
8458
  #: includes/settings/wcj-settings-price-by-user-role.php:139
8459
  #: includes/settings/wcj-settings-product-add-to-cart.php:131
@@ -8619,6 +8649,10 @@ msgstr ""
8619
  msgid "Hide Image on Archives"
8620
  msgstr ""
8621
 
 
 
 
 
8622
  #: includes/settings/meta-box/wcj-settings-meta-box-product-open-pricing.php:31
8623
  #: includes/settings/wcj-settings-product-listings.php:144
8624
  msgid "Min Price"
@@ -8708,7 +8742,7 @@ msgstr ""
8708
  #: includes/settings/wcj-settings-global-discount.php:69
8709
  #: includes/settings/wcj-settings-payment-gateways-fees.php:57
8710
  #: includes/settings/wcj-settings-purchase-data.php:89
8711
- #: includes/settings/wcj-settings-wholesale-price.php:80
8712
  msgid "Percent"
8713
  msgstr ""
8714
 
@@ -8718,7 +8752,7 @@ msgstr ""
8718
  #: includes/settings/wcj-settings-payment-gateways-fees.php:56
8719
  #: includes/settings/wcj-settings-price-by-user-role.php:31
8720
  #: includes/settings/wcj-settings-purchase-data.php:88
8721
- #: includes/settings/wcj-settings-wholesale-price.php:81
8722
  msgid "Fixed"
8723
  msgstr ""
8724
 
@@ -8731,7 +8765,7 @@ msgid "Enable per Product Levels"
8731
  msgstr ""
8732
 
8733
  #: includes/settings/meta-box/wcj-settings-meta-box-wholesale-price.php:41
8734
- #: includes/settings/wcj-settings-wholesale-price.php:75
8735
  msgid "Discount Type"
8736
  msgstr ""
8737
 
@@ -8761,10 +8795,10 @@ msgstr ""
8761
 
8762
  #: includes/settings/meta-box/wcj-settings-meta-box-wholesale-price.php:72
8763
  #: includes/settings/meta-box/wcj-settings-meta-box-wholesale-price.php:108
8764
- #: includes/settings/wcj-settings-wholesale-price.php:170
8765
- #: includes/settings/wcj-settings-wholesale-price.php:171
8766
- #: includes/settings/wcj-settings-wholesale-price.php:227
8767
- #: includes/settings/wcj-settings-wholesale-price.php:228
8768
  msgid "Discount"
8769
  msgstr ""
8770
 
@@ -9389,6 +9423,18 @@ msgstr ""
9389
  msgid "Ignored if set to zero."
9390
  msgstr ""
9391
 
 
 
 
 
 
 
 
 
 
 
 
 
9392
  #: includes/settings/wcj-settings-breadcrumbs.php:19
9393
  msgid "Change Breadcrumbs Home URL"
9394
  msgstr ""
@@ -9601,76 +9647,95 @@ msgid ""
9601
  "order)\" options."
9602
  msgstr ""
9603
 
9604
- #: includes/settings/wcj-settings-checkout-core-fields.php:55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9605
  msgid "Fields Options"
9606
  msgstr ""
9607
 
9608
- #: includes/settings/wcj-settings-checkout-core-fields.php:76
9609
  #: includes/shortcodes/class-wcj-shortcodes-products-add-form.php:327
9610
  msgid "required"
9611
  msgstr ""
9612
 
9613
- #: includes/settings/wcj-settings-checkout-core-fields.php:83
9614
  msgid "Not Required"
9615
  msgstr ""
9616
 
9617
- #: includes/settings/wcj-settings-checkout-core-fields.php:89
9618
  msgid "label"
9619
  msgstr ""
9620
 
9621
- #: includes/settings/wcj-settings-checkout-core-fields.php:90
9622
- #: includes/settings/wcj-settings-checkout-core-fields.php:98
9623
- #: includes/settings/wcj-settings-checkout-core-fields.php:106
9624
  msgid "Leave blank for WooCommerce defaults."
9625
  msgstr ""
9626
 
9627
- #: includes/settings/wcj-settings-checkout-core-fields.php:97
9628
  msgid "placeholder"
9629
  msgstr ""
9630
 
9631
- #: includes/settings/wcj-settings-checkout-core-fields.php:105
9632
  msgid "description"
9633
  msgstr ""
9634
 
9635
- #: includes/settings/wcj-settings-checkout-core-fields.php:113
9636
  msgid "class"
9637
  msgstr ""
9638
 
9639
- #: includes/settings/wcj-settings-checkout-core-fields.php:119
9640
  msgid "Align Left"
9641
  msgstr ""
9642
 
9643
- #: includes/settings/wcj-settings-checkout-core-fields.php:120
9644
  msgid "Align Right"
9645
  msgstr ""
9646
 
9647
- #: includes/settings/wcj-settings-checkout-core-fields.php:121
9648
  msgid "Full Row"
9649
  msgstr ""
9650
 
9651
- #: includes/settings/wcj-settings-checkout-core-fields.php:126
9652
  msgid "priority (i.e. order)"
9653
  msgstr ""
9654
 
9655
- #: includes/settings/wcj-settings-checkout-core-fields.php:127
9656
  msgid "Leave zero for WooCommerce defaults."
9657
  msgstr ""
9658
 
9659
- #: includes/settings/wcj-settings-checkout-core-fields.php:135
9660
  msgid "include product categories"
9661
  msgstr ""
9662
 
9663
- #: includes/settings/wcj-settings-checkout-core-fields.php:136
9664
  msgid ""
9665
  "If not empty - selected categories products must be in cart for current "
9666
  "field to appear."
9667
  msgstr ""
9668
 
9669
- #: includes/settings/wcj-settings-checkout-core-fields.php:147
9670
  msgid "exclude product categories"
9671
  msgstr ""
9672
 
9673
- #: includes/settings/wcj-settings-checkout-core-fields.php:148
9674
  msgid ""
9675
  "If not empty - current field is hidden, if selected categories products are "
9676
  "in cart."
@@ -10065,10 +10130,12 @@ msgid "Leave it empty if you want to restrict countries everywhere."
10065
  msgstr ""
10066
 
10067
  #: includes/settings/wcj-settings-checkout-customization.php:71
 
10068
  msgid "Is Cart"
10069
  msgstr ""
10070
 
10071
  #: includes/settings/wcj-settings-checkout-customization.php:72
 
10072
  msgid "Is Checkout"
10073
  msgstr ""
10074
 
@@ -10507,7 +10574,7 @@ msgstr ""
10507
 
10508
  #: includes/settings/wcj-settings-checkout-files-upload.php:233
10509
  #: includes/settings/wcj-settings-checkout-files-upload.php:431
10510
- #: includes/settings/wcj-settings-order-min-amount.php:76
10511
  msgid "Add notice"
10512
  msgstr ""
10513
 
@@ -10619,14 +10686,14 @@ msgstr ""
10619
 
10620
  #: includes/settings/wcj-settings-checkout-files-upload.php:421
10621
  #: includes/settings/wcj-settings-currency-per-product.php:251
10622
- #: includes/settings/wcj-settings-eu-vat-number.php:227
10623
  #: includes/settings/wcj-settings-general.php:65
10624
  #: includes/settings/wcj-settings-payment-gateways.php:49
10625
  #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:43
10626
  #: includes/settings/wcj-settings-product-by-date.php:117
10627
  #: includes/settings/wcj-settings-product-custom-info.php:185
10628
  #: includes/settings/wcj-settings-product-input-fields.php:348
10629
- #: includes/settings/wcj-settings-shipping-by-condition.php:122
10630
  msgid "Advanced Options"
10631
  msgstr ""
10632
 
@@ -10635,7 +10702,7 @@ msgid "Notice Type"
10635
  msgstr ""
10636
 
10637
  #: includes/settings/wcj-settings-checkout-files-upload.php:432
10638
- #: includes/settings/wcj-settings-order-min-amount.php:75
10639
  msgid "Print notice"
10640
  msgstr ""
10641
 
@@ -10918,7 +10985,7 @@ msgstr ""
10918
  #: includes/settings/wcj-settings-multicurrency-base-price.php:22
10919
  #: includes/settings/wcj-settings-multicurrency.php:22
10920
  #: includes/settings/wcj-settings-payment-gateways-currency.php:68
10921
- #: includes/settings/wcj-settings-price-by-country.php:319
10922
  msgid "Exchange Rates Updates"
10923
  msgstr ""
10924
 
@@ -11012,7 +11079,7 @@ msgid "Custom Currency"
11012
  msgstr ""
11013
 
11014
  #: includes/settings/wcj-settings-currency-exchange-rates.php:173
11015
- #: includes/settings/wcj-settings-price-by-country.php:314
11016
  msgid "Exchange Rates"
11017
  msgstr ""
11018
 
@@ -11030,8 +11097,8 @@ msgstr ""
11030
  #: includes/settings/wcj-settings-currency-external-products.php:20
11031
  #: includes/settings/wcj-settings-currency-per-product.php:180
11032
  #: includes/settings/wcj-settings-multicurrency-base-price.php:123
11033
- #: includes/settings/wcj-settings-multicurrency.php:234
11034
- #: includes/settings/wcj-settings-price-by-country.php:294
11035
  #: includes/settings/wcj-settings-price-formats.php:59
11036
  msgid "Currency"
11037
  msgstr ""
@@ -11106,7 +11173,7 @@ msgstr ""
11106
  #: includes/settings/wcj-settings-multicurrency-base-price.php:27
11107
  #: includes/settings/wcj-settings-multicurrency.php:28
11108
  #: includes/settings/wcj-settings-payment-gateways-currency.php:73
11109
- #: includes/settings/wcj-settings-price-by-country.php:324
11110
  msgid "Enter Rates Manually"
11111
  msgstr ""
11112
 
@@ -11114,7 +11181,7 @@ msgstr ""
11114
  #: includes/settings/wcj-settings-multicurrency-base-price.php:28
11115
  #: includes/settings/wcj-settings-multicurrency.php:29
11116
  #: includes/settings/wcj-settings-payment-gateways-currency.php:74
11117
- #: includes/settings/wcj-settings-price-by-country.php:325
11118
  msgid "Automatically via Currency Exchange Rates module"
11119
  msgstr ""
11120
 
@@ -11122,7 +11189,7 @@ msgstr ""
11122
  #: includes/settings/wcj-settings-multicurrency-base-price.php:31
11123
  #: includes/settings/wcj-settings-multicurrency.php:32
11124
  #: includes/settings/wcj-settings-payment-gateways-currency.php:77
11125
- #: includes/settings/wcj-settings-price-by-country.php:328
11126
  msgid "Visit"
11127
  msgstr ""
11128
 
@@ -11130,13 +11197,13 @@ msgstr ""
11130
  #: includes/settings/wcj-settings-multicurrency-base-price.php:31
11131
  #: includes/settings/wcj-settings-multicurrency.php:32
11132
  #: includes/settings/wcj-settings-payment-gateways-currency.php:79
11133
- #: includes/settings/wcj-settings-price-by-country.php:328
11134
  msgid "Currency Exchange Rates module"
11135
  msgstr ""
11136
 
11137
  #: includes/settings/wcj-settings-currency-per-product.php:138
11138
  #: includes/settings/wcj-settings-multicurrency-base-price.php:94
11139
- #: includes/settings/wcj-settings-multicurrency.php:203
11140
  msgid "Currencies Options"
11141
  msgstr ""
11142
 
@@ -11149,7 +11216,7 @@ msgstr ""
11149
 
11150
  #: includes/settings/wcj-settings-currency-per-product.php:144
11151
  #: includes/settings/wcj-settings-multicurrency-base-price.php:99
11152
- #: includes/settings/wcj-settings-multicurrency.php:209
11153
  msgid "Total Currencies"
11154
  msgstr ""
11155
 
@@ -11167,7 +11234,8 @@ msgstr ""
11167
 
11168
  #: includes/settings/wcj-settings-currency-per-product.php:257
11169
  #: includes/settings/wcj-settings-multicurrency-base-price.php:69
11170
- #: includes/settings/wcj-settings-multicurrency.php:192
 
11171
  msgid ""
11172
  "This may help if you are experiencing compatibility issues with other "
11173
  "plugins."
@@ -11596,26 +11664,76 @@ msgstr ""
11596
  msgid "Add EU VAT Number Summary Meta Box to Admin Order Edit Page"
11597
  msgstr ""
11598
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11599
  #: includes/settings/wcj-settings-eu-vat-number.php:232
11600
- msgid "Skip VAT Validation for Selected Countries"
11601
  msgstr ""
11602
 
11603
  #: includes/settings/wcj-settings-eu-vat-number.php:233
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11604
  msgid ""
11605
  "List all countries you want VAT validation to be skipped for (i.e. VAT "
11606
  "always valid). Ignored if empty."
11607
  msgstr ""
11608
 
11609
- #: includes/settings/wcj-settings-eu-vat-number.php:234
11610
  #, php-format
11611
  msgid "Enter country codes as comma separated list, e.g. %s."
11612
  msgstr ""
11613
 
11614
- #: includes/settings/wcj-settings-eu-vat-number.php:240
11615
  msgid "Read '_vat_number' meta"
11616
  msgstr ""
11617
 
11618
- #: includes/settings/wcj-settings-eu-vat-number.php:241
11619
  #, php-format
11620
  msgid ""
11621
  "Try to add compatibility with <a href='%s' target='_blank'>EU VAT Number</a> "
@@ -11627,7 +11745,7 @@ msgid "Export Options"
11627
  msgstr ""
11628
 
11629
  #: includes/settings/wcj-settings-export.php:20
11630
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:190
11631
  msgid "CSV Separator"
11632
  msgstr ""
11633
 
@@ -11942,7 +12060,7 @@ msgstr ""
11942
  #: includes/settings/wcj-settings-max-products-per-user.php:44
11943
  #: includes/settings/wcj-settings-product-by-date.php:54
11944
  #: includes/settings/wcj-settings-product-by-time.php:54
11945
- #: includes/settings/wcj-settings-wholesale-price.php:26
11946
  msgid "This will add new meta box to each product's edit page."
11947
  msgstr ""
11948
 
@@ -12168,8 +12286,8 @@ msgstr ""
12168
 
12169
  #: includes/settings/wcj-settings-global-discount.php:201
12170
  #: includes/settings/wcj-settings-multicurrency-base-price.php:76
12171
- #: includes/settings/wcj-settings-multicurrency.php:176
12172
- #: includes/settings/wcj-settings-price-by-country.php:182
12173
  #: includes/settings/wcj-settings-price-by-user-role.php:111
12174
  #: includes/settings/wcj-settings-product-addons.php:258
12175
  #: includes/settings/wcj-settings-product-price-by-formula.php:100
@@ -12178,12 +12296,12 @@ msgstr ""
12178
 
12179
  #: includes/settings/wcj-settings-global-discount.php:202
12180
  #: includes/settings/wcj-settings-multicurrency-base-price.php:77
12181
- #: includes/settings/wcj-settings-multicurrency.php:177
12182
- #: includes/settings/wcj-settings-price-by-country.php:183
12183
  #: includes/settings/wcj-settings-price-by-user-role.php:112
12184
  #: includes/settings/wcj-settings-product-addons.php:259
12185
  #: includes/settings/wcj-settings-product-price-by-formula.php:101
12186
- #: includes/settings/wcj-settings-wholesale-price.php:124
12187
  msgid ""
12188
  "Priority for all module's price filters. Set to zero to use default priority."
12189
  msgstr ""
@@ -12398,7 +12516,8 @@ msgid "Convert Product Prices in Admin Products List"
12398
  msgstr ""
12399
 
12400
  #: includes/settings/wcj-settings-multicurrency-base-price.php:68
12401
- #: includes/settings/wcj-settings-multicurrency.php:191
 
12402
  msgid "Save Calculated Products Prices"
12403
  msgstr ""
12404
 
@@ -12514,116 +12633,153 @@ msgstr ""
12514
  msgid "Set how you want currency switcher to be displayed on frontend."
12515
  msgstr ""
12516
 
12517
- #: includes/settings/wcj-settings-multicurrency.php:106
 
 
 
 
 
 
 
 
 
12518
  #: includes/settings/wcj-settings-payment-gateways-min-max.php:65
12519
  #: includes/settings/wcj-settings-price-by-country.php:160
12520
  #: includes/settings/wcj-settings-product-msrp.php:105
12521
  msgid "Compatibility"
12522
  msgstr ""
12523
 
12524
- #: includes/settings/wcj-settings-multicurrency.php:111
12525
- #: includes/settings/wcj-settings-price-by-country.php:165
12526
- msgid "WooCommerce Coupons"
12527
  msgstr ""
12528
 
12529
- #: includes/settings/wcj-settings-multicurrency.php:113
12530
- #: includes/settings/wcj-settings-price-by-country.php:167
12531
  msgid ""
12532
  "When a fixed coupon is used its value changes according to the current "
12533
- "currency"
12534
  msgstr ""
12535
 
12536
- #: includes/settings/wcj-settings-multicurrency.php:119
 
 
 
 
 
 
 
 
12537
  msgid "WooCommerce Smart Coupons"
12538
  msgstr ""
12539
 
12540
- #: includes/settings/wcj-settings-multicurrency.php:126
12541
  msgid "WooCommerce Price Filter"
12542
  msgstr ""
12543
 
12544
- #: includes/settings/wcj-settings-multicurrency.php:128
12545
- msgid "Adds Compatibility with Price Filter widget"
12546
  msgstr ""
12547
 
12548
- #: includes/settings/wcj-settings-multicurrency.php:134
12549
  msgid "Price Sorting with Per Product"
12550
  msgstr ""
12551
 
12552
- #: includes/settings/wcj-settings-multicurrency.php:136
12553
- msgid "Fixes Price Sorting if Per Product option is enabled"
12554
  msgstr ""
12555
 
12556
- #: includes/settings/wcj-settings-multicurrency.php:142
12557
  msgid "WooCommerce Import"
12558
  msgstr ""
12559
 
12560
- #: includes/settings/wcj-settings-multicurrency.php:144
12561
  msgid ""
12562
  "Fixes WooCommerce Import Tool preventing it from converting some uppercase "
12563
- "meta to lowercase"
12564
  msgstr ""
12565
 
12566
- #: includes/settings/wcj-settings-multicurrency.php:150
12567
  msgid "WPC Product Bundles"
12568
  msgstr ""
12569
 
12570
- #: includes/settings/wcj-settings-multicurrency.php:152
12571
  #, php-format
12572
  msgid ""
12573
  "Adds compatibility with <a href=\"%s\" target=\"_blank\">WPC Product "
12574
- "Bundles</a> plugin"
12575
  msgstr ""
12576
 
12577
- #: includes/settings/wcj-settings-multicurrency.php:167
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12578
  msgid "Additional Price Filters"
12579
  msgstr ""
12580
 
12581
- #: includes/settings/wcj-settings-multicurrency.php:168
12582
  msgid ""
12583
  "Add additional price filters here. One per line. Leave blank if not sure."
12584
  msgstr ""
12585
 
12586
- #: includes/settings/wcj-settings-multicurrency.php:183
12587
  msgid "Save Prices on Exchange Update"
12588
  msgstr ""
12589
 
12590
- #: includes/settings/wcj-settings-multicurrency.php:185
12591
  msgid ""
12592
  "Save min and max prices on exchange rate update, via background processing."
12593
  msgstr ""
12594
 
12595
- #: includes/settings/wcj-settings-multicurrency.php:185
12596
  msgid ""
12597
  "All products with \"per product\" options registered related to the currency "
12598
  "will be affected."
12599
  msgstr ""
12600
 
12601
- #: includes/settings/wcj-settings-multicurrency.php:205
12602
  msgid ""
12603
  "One currency probably should be set to current (original) shop currency with "
12604
  "an exchange rate of 1."
12605
  msgstr ""
12606
 
12607
- #: includes/settings/wcj-settings-multicurrency.php:210
12608
  msgid ""
12609
  "Press Save changes after setting this option, so new settings fields will be "
12610
  "added."
12611
  msgstr ""
12612
 
12613
- #: includes/settings/wcj-settings-multicurrency.php:259
12614
  msgid "Role Defaults"
12615
  msgstr ""
12616
 
12617
- #: includes/settings/wcj-settings-multicurrency.php:266
12618
  msgid "Roles"
12619
  msgstr ""
12620
 
12621
- #: includes/settings/wcj-settings-multicurrency.php:267
12622
- #: includes/settings/wcj-settings-wholesale-price.php:192
12623
  msgid "Save settings after you change this option. Leave blank to disable."
12624
  msgstr ""
12625
 
12626
- #: includes/settings/wcj-settings-multicurrency.php:290
12627
  msgid "No default currency"
12628
  msgstr ""
12629
 
@@ -12950,6 +13106,7 @@ msgstr ""
12950
  #: includes/settings/wcj-settings-offer-price.php:48
12951
  #: includes/settings/wcj-settings-order-min-amount.php:29
12952
  #: includes/settings/wcj-settings-order-min-amount.php:36
 
12953
  #: includes/settings/wcj-settings-payment-gateways-fees.php:117
12954
  msgid "Exclude"
12955
  msgstr ""
@@ -13253,11 +13410,15 @@ msgid "Exclude Discounts from Cart Total"
13253
  msgstr ""
13254
 
13255
  #: includes/settings/wcj-settings-order-min-amount.php:42
 
 
 
 
13256
  msgid "Error message"
13257
  msgstr ""
13258
 
13259
- #: includes/settings/wcj-settings-order-min-amount.php:44
13260
- #: includes/settings/wcj-settings-order-min-amount.php:61
13261
  #, php-format
13262
  msgid ""
13263
  "Message to customer if order is below minimum amount. Default: You must have "
@@ -13265,42 +13426,42 @@ msgid ""
13265
  "is %s."
13266
  msgstr ""
13267
 
13268
- #: includes/settings/wcj-settings-order-min-amount.php:52
13269
  msgid "Add notice to cart page also"
13270
  msgstr ""
13271
 
13272
- #: includes/settings/wcj-settings-order-min-amount.php:59
13273
  msgid "Message on cart page"
13274
  msgstr ""
13275
 
13276
- #: includes/settings/wcj-settings-order-min-amount.php:70
13277
  msgid "Cart notice method"
13278
  msgstr ""
13279
 
13280
- #: includes/settings/wcj-settings-order-min-amount.php:80
13281
  msgid "Cart notice type"
13282
  msgstr ""
13283
 
13284
- #: includes/settings/wcj-settings-order-min-amount.php:85
13285
  #: includes/settings/wcj-settings-payment-gateways-min-max.php:55
13286
  msgid "Notice"
13287
  msgstr ""
13288
 
13289
- #: includes/settings/wcj-settings-order-min-amount.php:86
13290
  #: includes/settings/wcj-settings-payment-gateways-min-max.php:56
13291
  msgid "Error"
13292
  msgstr ""
13293
 
13294
- #: includes/settings/wcj-settings-order-min-amount.php:90
13295
  msgid ""
13296
  "Stop customer from seeing the Checkout page if minimum amount not reached"
13297
  msgstr ""
13298
 
13299
- #: includes/settings/wcj-settings-order-min-amount.php:91
13300
  msgid "Redirect back to Cart page"
13301
  msgstr ""
13302
 
13303
- #: includes/settings/wcj-settings-order-min-amount.php:101
13304
  msgid "Order Minimum Amount by User Role"
13305
  msgstr ""
13306
 
@@ -14272,73 +14433,101 @@ msgstr ""
14272
  msgid "e.g: UTF-8, iso-8859-1"
14273
  msgstr ""
14274
 
14275
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14276
  msgid "Fonts Manager"
14277
  msgstr ""
14278
 
14279
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:117
14280
  msgid "Re-download"
14281
  msgstr ""
14282
 
14283
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:117
14284
  msgid "Download"
14285
  msgstr ""
14286
 
14287
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:122
14288
  msgid "Disable Fonts Download"
14289
  msgstr ""
14290
 
14291
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:133
14292
  msgid "General Display Options"
14293
  msgstr ""
14294
 
14295
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:138
14296
  msgid "Add PDF Invoices Meta Box to Admin Edit Order Page"
14297
  msgstr ""
14298
 
14299
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:145
14300
  msgid "Open docs in new window"
14301
  msgstr ""
14302
 
14303
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:151
14304
  msgid "Add editable numbers and dates"
14305
  msgstr ""
14306
 
14307
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:161
14308
  msgid "Report Tool Options"
14309
  msgstr ""
14310
 
14311
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:166
14312
  msgid "Reports Filename"
14313
  msgstr ""
14314
 
14315
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:174
14316
  msgid "Report Columns"
14317
  msgstr ""
14318
 
14319
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:175
14320
  msgid "Leave blank to show all columns."
14321
  msgstr ""
14322
 
14323
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:183
14324
  msgid "Tax Percent Precision"
14325
  msgstr ""
14326
 
14327
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:196
14328
  msgid "CSV UTF-8 BOM"
14329
  msgstr ""
14330
 
14331
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:203
14332
  msgid "Replace Periods with Commas in CSV Data"
14333
  msgstr ""
14334
 
14335
- #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:204
14336
  #: includes/settings/wcj-settings-product-open-pricing.php:174
14337
  msgid "Replace"
14338
  msgstr ""
14339
 
14340
  #: includes/settings/wcj-settings-pdf-invoicing-display.php:25
14341
- #: includes/settings/wcj-settings-price-by-country.php:301
14342
  #: includes/settings/wcj-settings-shipping.php:30
14343
  msgid "Admin Title"
14344
  msgstr ""
@@ -14828,68 +15017,96 @@ msgstr ""
14828
  msgid "Disable Price by Country for Bots"
14829
  msgstr ""
14830
 
14831
- #: includes/settings/wcj-settings-price-by-country.php:189
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14832
  msgid "User IP Detection Method"
14833
  msgstr ""
14834
 
14835
- #: includes/settings/wcj-settings-price-by-country.php:199
14836
  msgid "Price Format Method"
14837
  msgstr ""
14838
 
14839
- #: includes/settings/wcj-settings-price-by-country.php:200
14840
  msgid "The moment \"Pretty Price\" and \"Rounding\" will be applied"
14841
  msgstr ""
14842
 
14843
- #: includes/settings/wcj-settings-price-by-country.php:205
14844
  msgid "get_price()"
14845
  msgstr ""
14846
 
14847
- #: includes/settings/wcj-settings-price-by-country.php:206
14848
  msgid "wc_get_price_to_display()"
14849
  msgstr ""
14850
 
14851
- #: includes/settings/wcj-settings-price-by-country.php:214
14852
  msgid "Country Groups"
14853
  msgstr ""
14854
 
14855
- #: includes/settings/wcj-settings-price-by-country.php:219
14856
  msgid "Countries Selection"
14857
  msgstr ""
14858
 
14859
- #: includes/settings/wcj-settings-price-by-country.php:220
14860
  msgid "Choose how do you want to enter countries groups in admin."
14861
  msgstr ""
14862
 
14863
- #: includes/settings/wcj-settings-price-by-country.php:225
14864
  msgid "Comma separated list"
14865
  msgstr ""
14866
 
14867
- #: includes/settings/wcj-settings-price-by-country.php:226
14868
  msgid "Multiselect"
14869
  msgstr ""
14870
 
14871
- #: includes/settings/wcj-settings-price-by-country.php:227
14872
  #: includes/settings/wcj-settings-product-by-condition.php:82
14873
  #: includes/settings/wcj-settings-related-products.php:164
14874
  msgid "Chosen select"
14875
  msgstr ""
14876
 
14877
- #: includes/settings/wcj-settings-price-by-country.php:231
14878
  msgid "Autogenerate Groups"
14879
  msgstr ""
14880
 
14881
- #: includes/settings/wcj-settings-price-by-country.php:237
14882
  msgid "Groups Number"
14883
  msgstr ""
14884
 
14885
- #: includes/settings/wcj-settings-price-by-country.php:261
14886
  msgid ""
14887
  "Countries. List of comma separated country codes.<br>For country codes and "
14888
  "predefined sets visit <a href=\"https://booster.io/country-codes/\" target="
14889
  "\"_blank\">https://booster.io/country-codes/</a>"
14890
  msgstr ""
14891
 
14892
- #: includes/settings/wcj-settings-price-by-country.php:347
14893
  msgid "Multiply Price by"
14894
  msgstr ""
14895
 
@@ -14983,7 +15200,7 @@ msgstr ""
14983
 
14984
  #: includes/settings/wcj-settings-price-by-user-role.php:120
14985
  #: includes/settings/wcj-settings-product-open-pricing.php:149
14986
- #: includes/settings/wcj-settings-wholesale-price.php:117
14987
  msgid ""
14988
  "Try enabling this checkbox, if you are having compatibility issues with "
14989
  "other plugins."
@@ -15454,7 +15671,7 @@ msgid "Position Priority on Frontend"
15454
  msgstr ""
15455
 
15456
  #: includes/settings/wcj-settings-product-addons.php:220
15457
- #: includes/settings/wcj-settings-shipping-by-condition.php:128
15458
  #: includes/settings/wcj-settings-shipping-options.php:41
15459
  msgid "Set to zero to use the default priority."
15460
  msgstr ""
@@ -15982,7 +16199,7 @@ msgid "Inside product title"
15982
  msgstr ""
15983
 
15984
  #: includes/settings/wcj-settings-product-custom-info.php:130
15985
- #: includes/settings/wcj-settings-wholesale-price.php:98
15986
  msgid "Product Categories to Include"
15987
  msgstr ""
15988
 
@@ -15996,7 +16213,7 @@ msgid "Leave blank to disable the option."
15996
  msgstr ""
15997
 
15998
  #: includes/settings/wcj-settings-product-custom-info.php:138
15999
- #: includes/settings/wcj-settings-wholesale-price.php:107
16000
  msgid "Product Categories to Exclude"
16001
  msgstr ""
16002
 
@@ -16010,13 +16227,13 @@ msgstr ""
16010
 
16011
  #: includes/settings/wcj-settings-product-custom-info.php:162
16012
  #: includes/settings/wcj-settings-products-xml.php:147
16013
- #: includes/settings/wcj-settings-wholesale-price.php:85
16014
  msgid "Products to Include"
16015
  msgstr ""
16016
 
16017
  #: includes/settings/wcj-settings-product-custom-info.php:170
16018
  #: includes/settings/wcj-settings-products-xml.php:157
16019
- #: includes/settings/wcj-settings-wholesale-price.php:92
16020
  msgid "Products to Exclude"
16021
  msgstr ""
16022
 
@@ -16241,8 +16458,8 @@ msgstr ""
16241
  #: includes/settings/wcj-settings-product-input-fields.php:145
16242
  #: includes/settings/wcj-settings-product-input-fields.php:157
16243
  #: includes/settings/wcj-settings-product-input-fields.php:169
16244
- #: includes/settings/wcj-settings-wholesale-price.php:86
16245
- #: includes/settings/wcj-settings-wholesale-price.php:99
16246
  msgid "Leave blank to include all products."
16247
  msgstr ""
16248
 
@@ -16550,6 +16767,48 @@ msgstr ""
16550
  msgid "As separate meta box"
16551
  msgstr ""
16552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16553
  #: includes/settings/wcj-settings-product-open-pricing.php:27
16554
  msgid "Frontend Label"
16555
  msgstr ""
@@ -16625,7 +16884,7 @@ msgid "Allow price entering in switched currency"
16625
  msgstr ""
16626
 
16627
  #: includes/settings/wcj-settings-product-open-pricing.php:147
16628
- #: includes/settings/wcj-settings-wholesale-price.php:115
16629
  msgid "Advanced: Price Changes"
16630
  msgstr ""
16631
 
@@ -17239,10 +17498,6 @@ msgstr ""
17239
  msgid "More Options"
17240
  msgstr ""
17241
 
17242
- #: includes/settings/wcj-settings-purchase-data.php:195
17243
- msgid "Treat Variable Products as Simple Products"
17244
- msgstr ""
17245
-
17246
  #: includes/settings/wcj-settings-related-products.php:27
17247
  msgid "Meta Value"
17248
  msgstr ""
@@ -17541,17 +17796,19 @@ msgstr ""
17541
  msgid "Shipping Methods by %s"
17542
  msgstr ""
17543
 
17544
- #: includes/settings/wcj-settings-shipping-by-condition.php:91
 
17545
  #, php-format
17546
  msgid "Include %s"
17547
  msgstr ""
17548
 
17549
- #: includes/settings/wcj-settings-shipping-by-condition.php:102
 
17550
  #, php-format
17551
  msgid "Exclude %s"
17552
  msgstr ""
17553
 
17554
- #: includes/settings/wcj-settings-shipping-by-condition.php:127
17555
  msgid "Filter Priority"
17556
  msgstr ""
17557
 
@@ -18648,94 +18905,130 @@ msgid "If you want to display prices table on frontend, use %s shortcode."
18648
  msgstr ""
18649
 
18650
  #: includes/settings/wcj-settings-wholesale-price.php:25
 
 
 
 
 
 
 
 
 
 
18651
  msgid "Enable per Product"
18652
  msgstr ""
18653
 
18654
- #: includes/settings/wcj-settings-wholesale-price.php:33
18655
  msgid "Quantity Calculation"
18656
  msgstr ""
18657
 
18658
- #: includes/settings/wcj-settings-wholesale-price.php:38
18659
  msgid "Product quantity"
18660
  msgstr ""
18661
 
18662
- #: includes/settings/wcj-settings-wholesale-price.php:39
18663
  msgid "Total cart quantity (wholesale products only)"
18664
  msgstr ""
18665
 
18666
- #: includes/settings/wcj-settings-wholesale-price.php:40
18667
  msgid "Total cart quantity"
18668
  msgstr ""
18669
 
18670
- #: includes/settings/wcj-settings-wholesale-price.php:44
18671
  msgid "Exclusive Use Only"
18672
  msgstr ""
18673
 
18674
- #: includes/settings/wcj-settings-wholesale-price.php:46
18675
  msgid "Apply wholesale discount only if no other cart discounts were applied."
18676
  msgstr ""
18677
 
18678
- #: includes/settings/wcj-settings-wholesale-price.php:52
18679
  msgid "Round Single Product Price"
18680
  msgstr ""
18681
 
18682
- #: includes/settings/wcj-settings-wholesale-price.php:53
18683
  msgid ""
18684
  "If enabled will round single product price with precision set in WooCommerce "
18685
  "> Settings > General > Number of decimals."
18686
  msgstr ""
18687
 
18688
- #: includes/settings/wcj-settings-wholesale-price.php:60
18689
  msgid "Discount Info on Cart Page"
18690
  msgstr ""
18691
 
18692
- #: includes/settings/wcj-settings-wholesale-price.php:67
18693
  msgid "If show discount info on cart page is enabled, set format here."
18694
  msgstr ""
18695
 
18696
- #: includes/settings/wcj-settings-wholesale-price.php:116
18697
  msgid "Disable wholesale pricing for products with \"Price Changes\""
18698
  msgstr ""
18699
 
18700
- #: includes/settings/wcj-settings-wholesale-price.php:123
18701
  msgid "Advanced: Price Filters Priority"
18702
  msgstr ""
18703
 
18704
- #: includes/settings/wcj-settings-wholesale-price.php:136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18705
  msgid "Wholesale Levels Options"
18706
  msgstr ""
18707
 
18708
- #: includes/settings/wcj-settings-wholesale-price.php:141
18709
- #: includes/settings/wcj-settings-wholesale-price.php:205
18710
  msgid "Number of Levels"
18711
  msgstr ""
18712
 
18713
- #: includes/settings/wcj-settings-wholesale-price.php:152
18714
  msgid "Default Max Qty Level"
18715
  msgstr ""
18716
 
18717
- #: includes/settings/wcj-settings-wholesale-price.php:162
18718
- #: includes/settings/wcj-settings-wholesale-price.php:219
18719
  msgid "Min Quantity"
18720
  msgstr ""
18721
 
18722
- #: includes/settings/wcj-settings-wholesale-price.php:163
18723
- #: includes/settings/wcj-settings-wholesale-price.php:220
18724
  msgid "Minimum quantity to apply discount"
18725
  msgstr ""
18726
 
18727
- #: includes/settings/wcj-settings-wholesale-price.php:185
18728
  msgid "Additional User Roles Options"
18729
  msgstr ""
18730
 
18731
- #: includes/settings/wcj-settings-wholesale-price.php:187
18732
  msgid ""
18733
  "If you want to set different wholesale pricing options for different user "
18734
  "roles, fill this section. Please note that you can also use Booster's "
18735
  "\"Price based on User Role\" module without filling this section."
18736
  msgstr ""
18737
 
18738
- #: includes/settings/wcj-settings-wholesale-price.php:191
18739
  msgid "User Roles Settings"
18740
  msgstr ""
18741
 
45
  #: includes/class-wcj-track-users.php:251
46
  #: includes/classes/class-wcj-module.php:532
47
  #: includes/classes/class-wcj-module.php:732
48
+ #: includes/settings/wcj-settings-price-by-country.php:204
49
  msgid "Booster"
50
  msgstr ""
51
 
98
  #: includes/admin/class-wc-settings-jetpack.php:217
99
  #: includes/class-wcj-admin-bar.php:384
100
  #: includes/settings/wcj-settings-emails-verification.php:146
101
+ #: includes/settings/wcj-settings-price-by-country.php:203
102
  msgid "WooCommerce"
103
  msgstr ""
104
 
176
  #: includes/admin/class-wc-settings-jetpack.php:380
177
  #: includes/admin/class-wcj-tools.php:77
178
  #: includes/export/class-wcj-fields-helper.php:293
179
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:61
180
  #: includes/settings/wcj-settings-checkout-custom-fields.php:172
181
  #: includes/settings/wcj-settings-eu-vat-number.php:34
182
  #: includes/settings/wcj-settings-product-by-user.php:13
808
  msgstr ""
809
 
810
  #: includes/class-wcj-admin-orders-list.php:326
811
+ #: includes/class-wcj-product-by-country.php:197
812
  msgid "All countries"
813
  msgstr ""
814
 
853
  msgid "All Products and All Attributes."
854
  msgstr ""
855
 
856
+ #: includes/class-wcj-admin-tools.php:172
857
  #: includes/settings/wcj-settings-export.php:157
858
  #: includes/settings/wcj-settings-export.php:236
859
  msgid "Product Meta"
860
  msgstr ""
861
 
862
+ #: includes/class-wcj-admin-tools.php:189
863
  #: includes/settings/wcj-settings-export.php:86
864
  #: includes/settings/wcj-settings-export.php:154
865
  msgid "Order Meta"
866
  msgstr ""
867
 
868
+ #: includes/class-wcj-admin-tools.php:223
869
  msgid "Order Items Meta"
870
  msgstr ""
871
 
872
+ #: includes/class-wcj-admin-tools.php:225
873
  msgid "Item Key"
874
  msgstr ""
875
 
876
+ #: includes/class-wcj-admin-tools.php:225
877
  msgid "Item Meta Key"
878
  msgstr ""
879
 
880
+ #: includes/class-wcj-admin-tools.php:225
881
  msgid "Item Meta Value"
882
  msgstr ""
883
 
884
+ #: includes/class-wcj-admin-tools.php:260
885
+ #: includes/class-wcj-admin-tools.php:302
886
+ #: includes/class-wcj-admin-tools.php:311
887
  #: includes/class-wcj-product-bulk-meta-editor.php:339
888
  #: includes/class-wcj-product-bulk-price-converter.php:148
889
  #: includes/class-wcj-sku.php:668
892
  msgid "Product"
893
  msgstr ""
894
 
895
+ #: includes/class-wcj-admin-tools.php:261
896
+ #: includes/class-wcj-admin-tools.php:303
897
+ #: includes/class-wcj-admin-tools.php:312
898
  #: includes/reports/wcj-class-reports-stock.php:270
899
  msgid "Category"
900
  msgstr ""
901
 
902
+ #: includes/class-wcj-admin-tools.php:328
903
  msgid "Total Products:"
904
  msgstr ""
905
 
1438
  msgstr ""
1439
 
1440
  #: includes/class-wcj-custom-php.php:32
1441
+ #: includes/settings/wcj-settings-multicurrency.php:205
1442
  #: includes/settings/wcj-settings-offer-price.php:84
1443
  #, php-format
1444
  msgid "E.g.: %s"
1689
  msgid "Validate VAT and remove taxes"
1690
  msgstr ""
1691
 
1692
+ #: includes/class-wcj-eu-vat-number.php:405
1693
  #: includes/settings/wcj-settings-eu-vat-number.php:189
1694
  msgid "Validating VAT. Please wait..."
1695
  msgstr ""
1696
 
1697
+ #: includes/class-wcj-eu-vat-number.php:406
1698
  #: includes/settings/wcj-settings-eu-vat-number.php:196
1699
  msgid "VAT is valid."
1700
  msgstr ""
1701
 
1702
+ #: includes/class-wcj-eu-vat-number.php:407
1703
  #: includes/settings/wcj-settings-eu-vat-number.php:203
1704
  msgid "VAT is not valid."
1705
  msgstr ""
1706
 
1707
+ #: includes/class-wcj-eu-vat-number.php:408
1708
  #: includes/settings/wcj-settings-eu-vat-number.php:211
1709
  msgid "Validation failed. Please try again."
1710
  msgstr ""
1711
 
1712
+ #: includes/class-wcj-eu-vat-number.php:536
1713
  #: includes/settings/wcj-settings-eu-vat-number.php:83
1714
  msgid "<strong>EU VAT Number</strong> is not valid."
1715
  msgstr ""
1894
 
1895
  #: includes/class-wcj-general.php:218
1896
  #: includes/class-wcj-product-by-user.php:197
1897
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:130
1898
  #: includes/tools/class-wcj-order-statuses-tool.php:145
1899
  #: includes/tools/class-wcj-order-statuses-tool.php:221
1900
  msgid "Actions"
1934
  #: includes/settings/wcj-settings-order-custom-statuses.php:37
1935
  #: includes/settings/wcj-settings-order-custom-statuses.php:80
1936
  #: includes/settings/wcj-settings-order-custom-statuses.php:107
1937
+ #: includes/settings/wcj-settings-order-min-amount.php:61
1938
  #: includes/settings/wcj-settings-orders.php:132
1939
  #: includes/settings/wcj-settings-orders.php:159
1940
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:155
1941
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:213
1942
  #: includes/settings/wcj-settings-product-by-condition.php:107
1943
  #: includes/settings/wcj-settings-product-by-user.php:114
1944
  #: includes/settings/wcj-settings-product-open-pricing.php:123
2027
  msgstr ""
2028
 
2029
  #: includes/class-wcj-max-products-per-user.php:204
2030
+ #: includes/functions/wcj-functions-users.php:164
2031
+ #: includes/functions/wcj-functions-users.php:192
2032
  msgid "Guest"
2033
  msgstr ""
2034
 
2451
  msgid "Mark"
2452
  msgstr ""
2453
 
2454
+ #: includes/class-wcj-order-min-amount.php:28
2455
  #: includes/settings/wcj-settings-order-min-amount.php:14
2456
  msgid "Order Minimum Amount"
2457
  msgstr ""
2458
 
2459
+ #: includes/class-wcj-order-min-amount.php:29
2460
  msgid "Minimum order amount (optionally by user role)."
2461
  msgstr ""
2462
 
2845
  msgstr ""
2846
 
2847
  #: includes/class-wcj-price-labels.php:40
2848
+ #: includes/class-wcj-product-by-country.php:172
2849
+ #: includes/class-wcj-product-by-user-role.php:54
2850
  #: includes/class-wcj-product-info.php:235
2851
  #: includes/class-wcj-shipping-by-products.php:195
2852
  #: includes/class-wcj-shipping-options.php:121
2910
  #: includes/settings/wcj-settings-emails-verification.php:28
2911
  #: includes/settings/wcj-settings-emails-verification.php:36
2912
  #: includes/settings/wcj-settings-emails-verification.php:43
2913
+ #: includes/settings/wcj-settings-eu-vat-number.php:264
2914
  #: includes/settings/wcj-settings-general.php:21
2915
  #: includes/settings/wcj-settings-general.php:73
2916
  #: includes/settings/wcj-settings-general.php:146
2928
  #: includes/settings/wcj-settings-multicurrency-base-price.php:53
2929
  #: includes/settings/wcj-settings-multicurrency-base-price.php:70
2930
  #: includes/settings/wcj-settings-multicurrency.php:39
2931
+ #: includes/settings/wcj-settings-multicurrency.php:103
2932
+ #: includes/settings/wcj-settings-multicurrency.php:121
2933
+ #: includes/settings/wcj-settings-multicurrency.php:130
2934
+ #: includes/settings/wcj-settings-multicurrency.php:138
2935
+ #: includes/settings/wcj-settings-multicurrency.php:145
2936
+ #: includes/settings/wcj-settings-multicurrency.php:153
2937
+ #: includes/settings/wcj-settings-multicurrency.php:161
2938
+ #: includes/settings/wcj-settings-multicurrency.php:169
2939
+ #: includes/settings/wcj-settings-multicurrency.php:178
2940
+ #: includes/settings/wcj-settings-multicurrency.php:187
2941
+ #: includes/settings/wcj-settings-multicurrency.php:220
2942
+ #: includes/settings/wcj-settings-multicurrency.php:229
2943
  #: includes/settings/wcj-settings-my-account.php:29
2944
  #: includes/settings/wcj-settings-my-account.php:87
2945
  #: includes/settings/wcj-settings-my-account.php:104
2970
  #: includes/settings/wcj-settings-payment-gateways-fees.php:102
2971
  #: includes/settings/wcj-settings-payment-gateways-per-category.php:25
2972
  #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:55
2973
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:105
2974
  #: includes/settings/wcj-settings-pdf-invoicing-display.php:118
2975
  #: includes/settings/wcj-settings-pdf-invoicing-footer.php:23
2976
  #: includes/settings/wcj-settings-pdf-invoicing-header.php:24
2983
  #: includes/settings/wcj-settings-price-by-country.php:133
2984
  #: includes/settings/wcj-settings-price-by-country.php:142
2985
  #: includes/settings/wcj-settings-price-by-country.php:166
2986
+ #: includes/settings/wcj-settings-price-by-country.php:175
2987
+ #: includes/settings/wcj-settings-price-by-country.php:221
2988
  #: includes/settings/wcj-settings-price-by-user-role.php:19
2989
  #: includes/settings/wcj-settings-price-by-user-role.php:46
2990
  #: includes/settings/wcj-settings-price-by-user-role.php:93
3030
  #: includes/settings/wcj-settings-product-input-fields.php:335
3031
  #: includes/settings/wcj-settings-product-input-fields.php:354
3032
  #: includes/settings/wcj-settings-product-input-fields.php:362
3033
+ #: includes/settings/wcj-settings-product-msrp.php:127
3034
+ #: includes/settings/wcj-settings-product-msrp.php:134
3035
  #: includes/settings/wcj-settings-product-open-pricing.php:102
3036
  #: includes/settings/wcj-settings-product-open-pricing.php:109
3037
  #: includes/settings/wcj-settings-product-open-pricing.php:140
3079
  #: includes/settings/wcj-settings-stock.php:154
3080
  #: includes/settings/wcj-settings-track-users.php:47
3081
  #: includes/settings/wcj-settings-upsells.php:81
3082
+ #: includes/settings/wcj-settings-wholesale-price.php:36
 
3083
  #: includes/settings/wcj-settings-wholesale-price.php:54
3084
+ #: includes/settings/wcj-settings-wholesale-price.php:63
3085
  #: includes/settings/wcj-settings-wpml.php:28
3086
  #: includes/settings/wcj-settings-wpml.php:35
3087
  #: includes/settings/wcj-settings-wpml.php:53
3304
  #: includes/settings/meta-box/wcj-settings-meta-box-add-to-cart-button-visibility.php:38
3305
  #: includes/settings/wcj-settings-price-by-user-role.php:69
3306
  #: includes/settings/wcj-settings-product-msrp.php:31
3307
+ #: includes/settings/wcj-settings-wholesale-price.php:70
3308
  msgid "Show"
3309
  msgstr ""
3310
 
3489
  msgid "Countries"
3490
  msgstr ""
3491
 
3492
+ #: includes/class-wcj-product-by-country.php:147
3493
  msgid "User Country Selection Options"
3494
  msgstr ""
3495
 
3496
+ #: includes/class-wcj-product-by-country.php:152
3497
  msgid "User Country Selection Method"
3498
  msgstr ""
3499
 
3500
+ #: includes/class-wcj-product-by-country.php:153
3501
  msgid "Possible values: \"Automatically by IP\" or \"Manually\"."
3502
  msgstr ""
3503
 
3504
+ #: includes/class-wcj-product-by-country.php:155
3505
  #, php-format
3506
  msgid ""
3507
  "If \"Manually\" option is selected, you can add country selection drop box "
3508
  "to frontend with \"%s\" widget or %s shortcode."
3509
  msgstr ""
3510
 
3511
+ #: includes/class-wcj-product-by-country.php:156
3512
  #: includes/class-wcj-product-custom-visibility.php:31
3513
  #: includes/widgets/class-wcj-widget-selector.php:27
3514
  msgid "Booster - Selector"
3515
  msgstr ""
3516
 
3517
+ #: includes/class-wcj-product-by-country.php:163
3518
  msgid "Automatically by IP"
3519
  msgstr ""
3520
 
3521
+ #: includes/class-wcj-product-by-country.php:164
3522
  #: includes/settings/wcj-settings-pdf-invoicing.php:32
3523
  msgid "Manually"
3524
  msgstr ""
3525
 
3526
+ #: includes/class-wcj-product-by-country.php:170
3527
  msgid "Overwrite by Billing Country"
3528
  msgstr ""
3529
 
3530
+ #: includes/class-wcj-product-by-country.php:171
3531
  msgid "Tries to overwrite Country by User Billing Country on Checkout Page."
3532
  msgstr ""
3533
 
3534
+ #: includes/class-wcj-product-by-country.php:182
3535
  msgid "Admin Country List Options"
3536
  msgstr ""
3537
 
3538
+ #: includes/class-wcj-product-by-country.php:187
3539
  msgid "Country List"
3540
  msgstr ""
3541
 
3542
+ #: includes/class-wcj-product-by-country.php:188
3543
  msgid ""
3544
  "This option sets which countries will be added to list in product's edit "
3545
  "page. Possible values: \"All countries\" or \"WooCommerce selling locations"
3546
  "\"."
3547
  msgstr ""
3548
 
3549
+ #: includes/class-wcj-product-by-country.php:190
3550
  #, php-format
3551
  msgid ""
3552
  "If \"WooCommerce selling locations\" option is selected, country list will "
3554
  "location(s)</a>."
3555
  msgstr ""
3556
 
3557
+ #: includes/class-wcj-product-by-country.php:198
3558
  msgid "WooCommerce selling locations"
3559
  msgstr ""
3560
 
3628
  msgid "User Roles"
3629
  msgstr ""
3630
 
3631
+ #: includes/class-wcj-product-by-user-role.php:47
3632
+ msgid "User Options"
3633
+ msgstr ""
3634
+
3635
+ #: includes/class-wcj-product-by-user-role.php:52
3636
+ msgid "Skip Editable Roles Filter"
3637
+ msgstr ""
3638
+
3639
+ #: includes/class-wcj-product-by-user-role.php:53
3640
+ msgid "Ignores <code>editable_roles</code> filter on admin."
3641
+ msgstr ""
3642
+
3643
+ #: includes/class-wcj-product-by-user-role.php:53
3644
+ #, php-format
3645
+ msgid ""
3646
+ "Enable this option for example if the shop manager can't see some role but "
3647
+ "only if you've already tried the <strong>Shop Manager Editable Roles</"
3648
+ "strong> on <a href=\"%s\">Admin Tools</a> module."
3649
+ msgstr ""
3650
+
3651
  #: includes/class-wcj-product-by-user.php:26
3652
  msgid "User Products"
3653
  msgstr ""
3670
 
3671
  #: includes/class-wcj-product-by-user.php:197
3672
  #: includes/class-wcj-product-tabs.php:620
3673
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:53
3674
  #: includes/input-fields/wcj-product-input-fields-options.php:51
3675
  #: includes/settings/meta-box/wcj-settings-meta-box-product-addons.php:95
3676
  #: includes/settings/wcj-settings-admin-orders-list.php:172
3908
  "count, exclude categories, show/hide empty categories."
3909
  msgstr ""
3910
 
3911
+ #: includes/class-wcj-product-msrp.php:32
3912
  msgid "Product MSRP"
3913
  msgstr ""
3914
 
3915
+ #: includes/class-wcj-product-msrp.php:33
3916
  msgid ""
3917
  "The <strong>manufacturer's suggested retail price</strong> (<strong>MSRP</"
3918
  "strong>), also known as the <strong>list price</strong>, or the "
3922
  "product."
3923
  msgstr ""
3924
 
3925
+ #: includes/class-wcj-product-msrp.php:34
3926
  #, php-format
3927
  msgid "Booster stores MSRP as product meta with %s key."
3928
  msgstr ""
3929
 
3930
+ #: includes/class-wcj-product-msrp.php:35
3931
  msgid "Save and display product MSRP in WooCommerce."
3932
  msgstr ""
3933
 
3934
+ #: includes/class-wcj-product-msrp.php:108
3935
+ #: includes/class-wcj-product-msrp.php:139
3936
+ #: includes/settings/meta-box/wcj-settings-meta-box-product-msrp.php:48
3937
  msgid "MSRP"
3938
  msgstr ""
3939
 
4145
  #: includes/class-wcj-product-tabs.php:658
4146
  #: includes/settings/meta-box/wcj-settings-meta-box-product-by-date.php:22
4147
  #: includes/settings/meta-box/wcj-settings-meta-box-product-by-time.php:19
4148
+ #: includes/settings/wcj-settings-checkout-core-fields.php:84
4149
  #: includes/settings/wcj-settings-currency-exchange-rates.php:158
4150
  #: includes/settings/wcj-settings-order-numbers.php:46
4151
  #: includes/settings/wcj-settings-orders.php:180
4551
  msgstr ""
4552
 
4553
  #: includes/class-wcj-shipping-by-user-role.php:33
4554
+ #: includes/settings/wcj-settings-multicurrency.php:297
4555
+ #: includes/settings/wcj-settings-order-min-amount.php:112
4556
  #: includes/settings/wcj-settings-price-by-user-role.php:133
4557
  #, php-format
4558
  msgid ""
4877
  msgid "Booster for WooCommerce basic WPML support."
4878
  msgstr ""
4879
 
4880
+ #: includes/class-wcj-wpml.php:141
4881
  msgid "File wpml-config.xml successfully regenerated!"
4882
  msgstr ""
4883
 
4935
  msgstr ""
4936
 
4937
  #: includes/classes/class-wcj-module.php:784
4938
+ #: includes/settings/wcj-settings-checkout-core-fields.php:77
4939
  msgid "enabled"
4940
  msgstr ""
4941
 
5062
  msgstr ""
5063
 
5064
  #: includes/emails/class-wc-email-wcj-custom.php:236
5065
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:46
5066
  #: includes/settings/wcj-settings-admin-products-list.php:19
5067
  #: includes/settings/wcj-settings-admin-products-list.php:75
5068
  #: includes/settings/wcj-settings-checkout-custom-fields.php:121
5315
 
5316
  #: includes/export/class-wcj-fields-helper.php:80
5317
  #: includes/export/class-wcj-fields-helper.php:295
5318
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:146
5319
  msgid "URL"
5320
  msgstr ""
5321
 
5676
  "version <strong>%s</strong>."
5677
  msgstr ""
5678
 
5679
+ #: includes/functions/wcj-functions-admin.php:158
5680
  msgid "Search&hellip;"
5681
  msgstr ""
5682
 
5683
+ #: includes/functions/wcj-functions-admin.php:198
5684
  msgid "Enter comma separated list of IDs."
5685
  msgstr ""
5686
 
5687
+ #: includes/functions/wcj-functions-admin.php:272
5688
  #: includes/settings/wcj-settings-emails-verification.php:75
5689
  #: includes/settings/wcj-settings-emails-verification.php:83
5690
  #: includes/settings/wcj-settings-emails-verification.php:130
5692
  msgid "Replaced value: %s"
5693
  msgstr ""
5694
 
5695
+ #: includes/functions/wcj-functions-admin.php:272
5696
  #, php-format
5697
  msgid "Replaced values: %s"
5698
  msgstr ""
5699
 
5700
+ #: includes/functions/wcj-functions-admin.php:301
5701
  msgid "Install Booster Plus to unlock all features"
5702
  msgstr ""
5703
 
5704
+ #: includes/functions/wcj-functions-admin.php:302
5705
  #, php-format
5706
  msgid ""
5707
  "Some settings fields are locked and you will need %s to modify all locked "
5708
  "fields."
5709
  msgstr ""
5710
 
5711
+ #: includes/functions/wcj-functions-admin.php:305
5712
  msgid "Buy now"
5713
  msgstr ""
5714
 
5715
+ #: includes/functions/wcj-functions-admin.php:306
5716
  msgid "Visit Booster Site"
5717
  msgstr ""
5718
 
5719
+ #: includes/functions/wcj-functions-admin.php:311
5720
  #, php-format
5721
  msgid "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to change value."
5722
  msgstr ""
5723
 
5724
+ #: includes/functions/wcj-functions-admin.php:314
5725
  #, php-format
5726
  msgid ""
5727
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to enable \"%s\" "
5728
  "option."
5729
  msgstr ""
5730
 
5731
+ #: includes/functions/wcj-functions-admin.php:317
5732
  #, php-format
5733
  msgid "Get Booster Plus to enable \"%s\" option."
5734
  msgstr ""
5735
 
5736
+ #: includes/functions/wcj-functions-admin.php:320
5737
  #, php-format
5738
  msgid ""
5739
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to change values below."
5740
  msgstr ""
5741
 
5742
+ #: includes/functions/wcj-functions-admin.php:323
5743
  #, php-format
5744
  msgid ""
5745
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to change values above."
5746
  msgstr ""
5747
 
5748
+ #: includes/functions/wcj-functions-admin.php:326
5749
  msgid "Get Booster Plus to change value."
5750
  msgstr ""
5751
 
7038
  msgid "You have Free delivery"
7039
  msgstr ""
7040
 
7041
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:48
7042
  msgid "Enable Custom Payment"
7043
  msgstr ""
7044
 
7045
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:55
7046
  #: includes/shipping/class-wc-shipping-wcj-custom-with-shipping-zones.php:193
7047
  #: includes/shipping/class-wc-shipping-wcj-custom.php:109
7048
  msgid "This controls the title which the user sees during checkout."
7049
  msgstr ""
7050
 
7051
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:56
7052
  msgid "Custom Payment"
7053
  msgstr ""
7054
 
7055
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:63
7056
  msgid "Payment method description that the customer will see on your checkout."
7057
  msgstr ""
7058
 
7059
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:64
7060
  msgid "You can add input fields with [wcj_input_field] shortcode."
7061
  msgstr ""
7062
 
7063
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:65
7064
  msgid "Custom Payment Description."
7065
  msgstr ""
7066
 
7067
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:70
7068
  msgid "Instructions"
7069
  msgstr ""
7070
 
7071
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:72
7072
  msgid "Instructions that will be added to the thank you page."
7073
  msgstr ""
7074
 
7075
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:78
7076
  msgid "Email Instructions"
7077
  msgstr ""
7078
 
7079
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:80
7080
  msgid "Instructions that will be added to the emails."
7081
  msgstr ""
7082
 
7083
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:86
7084
  msgid "Icon"
7085
  msgstr ""
7086
 
7087
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:88
7088
  #: includes/settings/wcj-settings-payment-gateways-icons.php:16
7089
  msgid ""
7090
  "If you want to show an image next to the gateway's name on the frontend, "
7091
  "enter a URL to an image."
7092
  msgstr ""
7093
 
7094
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:95
7095
  #: includes/settings/wcj-settings-shipping-by-order-amount.php:57
7096
  msgid "Minimum order amount"
7097
  msgstr ""
7098
 
7099
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:97
7100
  msgid ""
7101
  "If you want to set minimum order amount (excluding fees) to show this "
7102
  "gateway on frontend, enter a number here. Set to 0 to disable."
7103
  msgstr ""
7104
 
7105
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:104
7106
  #: includes/settings/wcj-settings-payment-gateways-by-shipping.php:59
7107
  msgid "Enable for shipping methods"
7108
  msgstr ""
7109
 
7110
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:109
7111
  msgid ""
7112
  "If gateway is only available for certain shipping methods, set it up here. "
7113
  "Leave blank to enable for all methods."
7114
  msgstr ""
7115
 
7116
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:112
7117
  #: includes/settings/wcj-settings-payment-gateways-by-shipping.php:66
7118
  msgid "Select shipping methods"
7119
  msgstr ""
7120
 
7121
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:116
7122
  msgid "Enable for virtual orders"
7123
  msgstr ""
7124
 
7125
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:117
7126
  msgid "Enable gateway if the order is virtual"
7127
  msgstr ""
7128
 
7129
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:123
7130
  #: includes/settings/wcj-settings-order-custom-statuses.php:19
7131
  msgid "Default Order Status"
7132
  msgstr ""
7133
 
7134
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:124
7135
  msgid "Enable Custom Statuses feature to add custom statuses to the list."
7136
  msgstr ""
7137
 
7138
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:131
7139
  msgid "Send Additional Emails"
7140
  msgstr ""
7141
 
7142
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:132
7143
  msgid "Send to Admin"
7144
  msgstr ""
7145
 
7146
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:138
7147
  msgid "Send to Customer"
7148
  msgstr ""
7149
 
7150
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:139
7151
  msgid ""
7152
  "This may help if you are using pending or custom default status and not "
7153
  "getting new order emails."
7154
  msgstr ""
7155
 
7156
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:145
7157
  msgid "Custom Return URL (Thank You Page)"
7158
  msgstr ""
7159
 
7160
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:147
7161
  msgid "Enter full URL with http(s)."
7162
  msgstr ""
7163
 
7164
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:148
7165
  msgid "Optional. Leave blank to use default URL."
7166
  msgstr ""
7167
 
7168
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:348
7169
  #: includes/settings/wcj-settings-payment-gateways.php:38
7170
  msgid "Custom Gateway"
7171
  msgstr ""
7172
 
7173
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:349
7174
  msgid "Booster for WooCommerce: Custom Payment Gateway"
7175
  msgstr ""
7176
 
7210
  #: includes/settings/meta-box/wcj-settings-meta-box-product-price-by-formula.php:21
7211
  #: includes/settings/wcj-settings-admin-orders-list.php:57
7212
  #: includes/settings/wcj-settings-admin-products-list.php:43
7213
+ #: includes/settings/wcj-settings-checkout-core-fields.php:83
7214
  #: includes/settings/wcj-settings-checkout-files-upload.php:40
7215
  #: includes/settings/wcj-settings-export.php:70
7216
  #: includes/settings/wcj-settings-export.php:138
7301
  msgstr ""
7302
 
7303
  #: includes/input-fields/wcj-product-input-fields-options.php:63
7304
+ #: includes/settings/wcj-settings-checkout-core-fields.php:95
7305
  #: includes/settings/wcj-settings-checkout-custom-fields.php:152
7306
  #: includes/settings/wcj-settings-checkout-files-upload.php:46
7307
  #: includes/settings/wcj-settings-eu-vat-number.php:49
7651
  #: includes/settings/wcj-settings-add-to-cart-button-visibility.php:36
7652
  #: includes/settings/wcj-settings-add-to-cart-button-visibility.php:62
7653
  #: includes/settings/wcj-settings-multicurrency-base-price.php:63
7654
+ #: includes/settings/wcj-settings-multicurrency.php:198
7655
+ #: includes/settings/wcj-settings-order-min-amount.php:77
7656
+ #: includes/settings/wcj-settings-price-by-country.php:186
7657
  #: includes/settings/wcj-settings-price-by-user-role.php:106
7658
  #: includes/settings/wcj-settings-product-addons.php:230
7659
  msgid "Advanced"
7890
 
7891
  #: includes/price-by-country/class-wcj-price-by-country-local.php:111
7892
  #: includes/settings/meta-box/wcj-settings-meta-box-price-by-country.php:67
7893
+ #: includes/settings/wcj-settings-price-by-country.php:372
7894
  msgid "Make empty price"
7895
  msgstr ""
7896
 
7897
  #: includes/price-by-country/class-wcj-price-by-country-local.php:215
7898
  #: includes/settings/meta-box/wcj-settings-meta-box-price-by-country.php:17
7899
  #: includes/settings/wcj-settings-add-to-cart.php:50
7900
+ #: includes/settings/wcj-settings-price-by-country.php:266
7901
+ #: includes/settings/wcj-settings-price-by-country.php:267
7902
+ #: includes/settings/wcj-settings-price-by-country.php:272
7903
+ #: includes/settings/wcj-settings-price-by-country.php:320
7904
+ #: includes/settings/wcj-settings-price-by-country.php:363
7905
  msgid "Group"
7906
  msgstr ""
7907
 
8296
  msgstr ""
8297
 
8298
  #: includes/settings/meta-box/wcj-settings-meta-box-currency-per-product.php:13
8299
+ #: includes/settings/wcj-settings-checkout-core-fields.php:82
8300
+ #: includes/settings/wcj-settings-checkout-core-fields.php:94
8301
+ #: includes/settings/wcj-settings-checkout-core-fields.php:131
8302
  #: includes/settings/wcj-settings-products-per-page.php:29
8303
  msgid "Default"
8304
  msgstr ""
8483
  #: includes/settings/wcj-settings-general.php:122
8484
  #: includes/settings/wcj-settings-general.php:130
8485
  #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:84
8486
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:139
8487
  #: includes/settings/wcj-settings-price-by-user-role.php:55
8488
  #: includes/settings/wcj-settings-price-by-user-role.php:139
8489
  #: includes/settings/wcj-settings-product-add-to-cart.php:131
8649
  msgid "Hide Image on Archives"
8650
  msgstr ""
8651
 
8652
+ #: includes/settings/meta-box/wcj-settings-meta-box-product-msrp.php:37
8653
+ msgid "MSRP - Archive"
8654
+ msgstr ""
8655
+
8656
  #: includes/settings/meta-box/wcj-settings-meta-box-product-open-pricing.php:31
8657
  #: includes/settings/wcj-settings-product-listings.php:144
8658
  msgid "Min Price"
8742
  #: includes/settings/wcj-settings-global-discount.php:69
8743
  #: includes/settings/wcj-settings-payment-gateways-fees.php:57
8744
  #: includes/settings/wcj-settings-purchase-data.php:89
8745
+ #: includes/settings/wcj-settings-wholesale-price.php:89
8746
  msgid "Percent"
8747
  msgstr ""
8748
 
8752
  #: includes/settings/wcj-settings-payment-gateways-fees.php:56
8753
  #: includes/settings/wcj-settings-price-by-user-role.php:31
8754
  #: includes/settings/wcj-settings-purchase-data.php:88
8755
+ #: includes/settings/wcj-settings-wholesale-price.php:90
8756
  msgid "Fixed"
8757
  msgstr ""
8758
 
8765
  msgstr ""
8766
 
8767
  #: includes/settings/meta-box/wcj-settings-meta-box-wholesale-price.php:41
8768
+ #: includes/settings/wcj-settings-wholesale-price.php:84
8769
  msgid "Discount Type"
8770
  msgstr ""
8771
 
8795
 
8796
  #: includes/settings/meta-box/wcj-settings-meta-box-wholesale-price.php:72
8797
  #: includes/settings/meta-box/wcj-settings-meta-box-wholesale-price.php:108
8798
+ #: includes/settings/wcj-settings-wholesale-price.php:202
8799
+ #: includes/settings/wcj-settings-wholesale-price.php:203
8800
+ #: includes/settings/wcj-settings-wholesale-price.php:259
8801
+ #: includes/settings/wcj-settings-wholesale-price.php:260
8802
  msgid "Discount"
8803
  msgstr ""
8804
 
9423
  msgid "Ignored if set to zero."
9424
  msgstr ""
9425
 
9426
+ #: includes/settings/wcj-settings-admin-tools.php:119
9427
+ msgid "Users Options"
9428
+ msgstr ""
9429
+
9430
+ #: includes/settings/wcj-settings-admin-tools.php:124
9431
+ msgid "Shop Manager Editable Roles"
9432
+ msgstr ""
9433
+
9434
+ #: includes/settings/wcj-settings-admin-tools.php:125
9435
+ msgid "Changes the roles the Shop Manager role can edit."
9436
+ msgstr ""
9437
+
9438
  #: includes/settings/wcj-settings-breadcrumbs.php:19
9439
  msgid "Change Breadcrumbs Home URL"
9440
  msgstr ""
9647
  "order)\" options."
9648
  msgstr ""
9649
 
9650
+ #: includes/settings/wcj-settings-checkout-core-fields.php:51
9651
+ msgid "Checking Relation"
9652
+ msgstr ""
9653
+
9654
+ #: includes/settings/wcj-settings-checkout-core-fields.php:52
9655
+ msgid ""
9656
+ "Use <code>Or</code> if you need that at least one condition is valid. e.g.: "
9657
+ "At least one product from a specific category is in cart. Use <code>All</"
9658
+ "code> if you need that all conditions are valid."
9659
+ msgstr ""
9660
+
9661
+ #: includes/settings/wcj-settings-checkout-core-fields.php:56
9662
+ msgid "And"
9663
+ msgstr ""
9664
+
9665
+ #: includes/settings/wcj-settings-checkout-core-fields.php:57
9666
+ msgid "Or"
9667
+ msgstr ""
9668
+
9669
+ #: includes/settings/wcj-settings-checkout-core-fields.php:68
9670
  msgid "Fields Options"
9671
  msgstr ""
9672
 
9673
+ #: includes/settings/wcj-settings-checkout-core-fields.php:89
9674
  #: includes/shortcodes/class-wcj-shortcodes-products-add-form.php:327
9675
  msgid "required"
9676
  msgstr ""
9677
 
9678
+ #: includes/settings/wcj-settings-checkout-core-fields.php:96
9679
  msgid "Not Required"
9680
  msgstr ""
9681
 
9682
+ #: includes/settings/wcj-settings-checkout-core-fields.php:102
9683
  msgid "label"
9684
  msgstr ""
9685
 
9686
+ #: includes/settings/wcj-settings-checkout-core-fields.php:103
9687
+ #: includes/settings/wcj-settings-checkout-core-fields.php:111
9688
+ #: includes/settings/wcj-settings-checkout-core-fields.php:119
9689
  msgid "Leave blank for WooCommerce defaults."
9690
  msgstr ""
9691
 
9692
+ #: includes/settings/wcj-settings-checkout-core-fields.php:110
9693
  msgid "placeholder"
9694
  msgstr ""
9695
 
9696
+ #: includes/settings/wcj-settings-checkout-core-fields.php:118
9697
  msgid "description"
9698
  msgstr ""
9699
 
9700
+ #: includes/settings/wcj-settings-checkout-core-fields.php:126
9701
  msgid "class"
9702
  msgstr ""
9703
 
9704
+ #: includes/settings/wcj-settings-checkout-core-fields.php:132
9705
  msgid "Align Left"
9706
  msgstr ""
9707
 
9708
+ #: includes/settings/wcj-settings-checkout-core-fields.php:133
9709
  msgid "Align Right"
9710
  msgstr ""
9711
 
9712
+ #: includes/settings/wcj-settings-checkout-core-fields.php:134
9713
  msgid "Full Row"
9714
  msgstr ""
9715
 
9716
+ #: includes/settings/wcj-settings-checkout-core-fields.php:139
9717
  msgid "priority (i.e. order)"
9718
  msgstr ""
9719
 
9720
+ #: includes/settings/wcj-settings-checkout-core-fields.php:140
9721
  msgid "Leave zero for WooCommerce defaults."
9722
  msgstr ""
9723
 
9724
+ #: includes/settings/wcj-settings-checkout-core-fields.php:148
9725
  msgid "include product categories"
9726
  msgstr ""
9727
 
9728
+ #: includes/settings/wcj-settings-checkout-core-fields.php:149
9729
  msgid ""
9730
  "If not empty - selected categories products must be in cart for current "
9731
  "field to appear."
9732
  msgstr ""
9733
 
9734
+ #: includes/settings/wcj-settings-checkout-core-fields.php:160
9735
  msgid "exclude product categories"
9736
  msgstr ""
9737
 
9738
+ #: includes/settings/wcj-settings-checkout-core-fields.php:161
9739
  msgid ""
9740
  "If not empty - current field is hidden, if selected categories products are "
9741
  "in cart."
10130
  msgstr ""
10131
 
10132
  #: includes/settings/wcj-settings-checkout-customization.php:71
10133
+ #: includes/settings/wcj-settings-eu-vat-number.php:236
10134
  msgid "Is Cart"
10135
  msgstr ""
10136
 
10137
  #: includes/settings/wcj-settings-checkout-customization.php:72
10138
+ #: includes/settings/wcj-settings-eu-vat-number.php:237
10139
  msgid "Is Checkout"
10140
  msgstr ""
10141
 
10574
 
10575
  #: includes/settings/wcj-settings-checkout-files-upload.php:233
10576
  #: includes/settings/wcj-settings-checkout-files-upload.php:431
10577
+ #: includes/settings/wcj-settings-order-min-amount.php:84
10578
  msgid "Add notice"
10579
  msgstr ""
10580
 
10686
 
10687
  #: includes/settings/wcj-settings-checkout-files-upload.php:421
10688
  #: includes/settings/wcj-settings-currency-per-product.php:251
10689
+ #: includes/settings/wcj-settings-eu-vat-number.php:249
10690
  #: includes/settings/wcj-settings-general.php:65
10691
  #: includes/settings/wcj-settings-payment-gateways.php:49
10692
  #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:43
10693
  #: includes/settings/wcj-settings-product-by-date.php:117
10694
  #: includes/settings/wcj-settings-product-custom-info.php:185
10695
  #: includes/settings/wcj-settings-product-input-fields.php:348
10696
+ #: includes/settings/wcj-settings-shipping-by-condition.php:146
10697
  msgid "Advanced Options"
10698
  msgstr ""
10699
 
10702
  msgstr ""
10703
 
10704
  #: includes/settings/wcj-settings-checkout-files-upload.php:432
10705
+ #: includes/settings/wcj-settings-order-min-amount.php:83
10706
  msgid "Print notice"
10707
  msgstr ""
10708
 
10985
  #: includes/settings/wcj-settings-multicurrency-base-price.php:22
10986
  #: includes/settings/wcj-settings-multicurrency.php:22
10987
  #: includes/settings/wcj-settings-payment-gateways-currency.php:68
10988
+ #: includes/settings/wcj-settings-price-by-country.php:336
10989
  msgid "Exchange Rates Updates"
10990
  msgstr ""
10991
 
11079
  msgstr ""
11080
 
11081
  #: includes/settings/wcj-settings-currency-exchange-rates.php:173
11082
+ #: includes/settings/wcj-settings-price-by-country.php:331
11083
  msgid "Exchange Rates"
11084
  msgstr ""
11085
 
11097
  #: includes/settings/wcj-settings-currency-external-products.php:20
11098
  #: includes/settings/wcj-settings-currency-per-product.php:180
11099
  #: includes/settings/wcj-settings-multicurrency-base-price.php:123
11100
+ #: includes/settings/wcj-settings-multicurrency.php:270
11101
+ #: includes/settings/wcj-settings-price-by-country.php:311
11102
  #: includes/settings/wcj-settings-price-formats.php:59
11103
  msgid "Currency"
11104
  msgstr ""
11173
  #: includes/settings/wcj-settings-multicurrency-base-price.php:27
11174
  #: includes/settings/wcj-settings-multicurrency.php:28
11175
  #: includes/settings/wcj-settings-payment-gateways-currency.php:73
11176
+ #: includes/settings/wcj-settings-price-by-country.php:341
11177
  msgid "Enter Rates Manually"
11178
  msgstr ""
11179
 
11181
  #: includes/settings/wcj-settings-multicurrency-base-price.php:28
11182
  #: includes/settings/wcj-settings-multicurrency.php:29
11183
  #: includes/settings/wcj-settings-payment-gateways-currency.php:74
11184
+ #: includes/settings/wcj-settings-price-by-country.php:342
11185
  msgid "Automatically via Currency Exchange Rates module"
11186
  msgstr ""
11187
 
11189
  #: includes/settings/wcj-settings-multicurrency-base-price.php:31
11190
  #: includes/settings/wcj-settings-multicurrency.php:32
11191
  #: includes/settings/wcj-settings-payment-gateways-currency.php:77
11192
+ #: includes/settings/wcj-settings-price-by-country.php:345
11193
  msgid "Visit"
11194
  msgstr ""
11195
 
11197
  #: includes/settings/wcj-settings-multicurrency-base-price.php:31
11198
  #: includes/settings/wcj-settings-multicurrency.php:32
11199
  #: includes/settings/wcj-settings-payment-gateways-currency.php:79
11200
+ #: includes/settings/wcj-settings-price-by-country.php:345
11201
  msgid "Currency Exchange Rates module"
11202
  msgstr ""
11203
 
11204
  #: includes/settings/wcj-settings-currency-per-product.php:138
11205
  #: includes/settings/wcj-settings-multicurrency-base-price.php:94
11206
+ #: includes/settings/wcj-settings-multicurrency.php:239
11207
  msgid "Currencies Options"
11208
  msgstr ""
11209
 
11216
 
11217
  #: includes/settings/wcj-settings-currency-per-product.php:144
11218
  #: includes/settings/wcj-settings-multicurrency-base-price.php:99
11219
+ #: includes/settings/wcj-settings-multicurrency.php:245
11220
  msgid "Total Currencies"
11221
  msgstr ""
11222
 
11234
 
11235
  #: includes/settings/wcj-settings-currency-per-product.php:257
11236
  #: includes/settings/wcj-settings-multicurrency-base-price.php:69
11237
+ #: includes/settings/wcj-settings-multicurrency.php:228
11238
+ #: includes/settings/wcj-settings-price-by-country.php:220
11239
  msgid ""
11240
  "This may help if you are experiencing compatibility issues with other "
11241
  "plugins."
11664
  msgid "Add EU VAT Number Summary Meta Box to Admin Order Edit Page"
11665
  msgstr ""
11666
 
11667
+ #: includes/settings/wcj-settings-eu-vat-number.php:223
11668
+ msgid "Restrictive Loading"
11669
+ msgstr ""
11670
+
11671
+ #: includes/settings/wcj-settings-eu-vat-number.php:224
11672
+ msgid "Enqueues module scripts on some conditions."
11673
+ msgstr ""
11674
+
11675
+ #: includes/settings/wcj-settings-eu-vat-number.php:224
11676
+ msgid ""
11677
+ "Probably the best options are <code>Is Cart</code> and <code>Is Checkout</"
11678
+ "code>"
11679
+ msgstr ""
11680
+
11681
+ #: includes/settings/wcj-settings-eu-vat-number.php:225
11682
+ msgid "Leave it empty to load it in all situations."
11683
+ msgstr ""
11684
+
11685
+ #: includes/settings/wcj-settings-eu-vat-number.php:231
11686
+ msgid "Is WooCommerce"
11687
+ msgstr ""
11688
+
11689
  #: includes/settings/wcj-settings-eu-vat-number.php:232
11690
+ msgid "Is Shop"
11691
  msgstr ""
11692
 
11693
  #: includes/settings/wcj-settings-eu-vat-number.php:233
11694
+ msgid "Is Product Category"
11695
+ msgstr ""
11696
+
11697
+ #: includes/settings/wcj-settings-eu-vat-number.php:234
11698
+ msgid "Is Product Tag"
11699
+ msgstr ""
11700
+
11701
+ #: includes/settings/wcj-settings-eu-vat-number.php:235
11702
+ msgid "Is Product"
11703
+ msgstr ""
11704
+
11705
+ #: includes/settings/wcj-settings-eu-vat-number.php:238
11706
+ msgid "Is Account Page"
11707
+ msgstr ""
11708
+
11709
+ #: includes/settings/wcj-settings-eu-vat-number.php:239
11710
+ msgid "Is WC Endpoint URL"
11711
+ msgstr ""
11712
+
11713
+ #: includes/settings/wcj-settings-eu-vat-number.php:240
11714
+ msgid "Is AJAX"
11715
+ msgstr ""
11716
+
11717
+ #: includes/settings/wcj-settings-eu-vat-number.php:254
11718
+ msgid "Skip VAT Validation for Selected Countries"
11719
+ msgstr ""
11720
+
11721
+ #: includes/settings/wcj-settings-eu-vat-number.php:255
11722
  msgid ""
11723
  "List all countries you want VAT validation to be skipped for (i.e. VAT "
11724
  "always valid). Ignored if empty."
11725
  msgstr ""
11726
 
11727
+ #: includes/settings/wcj-settings-eu-vat-number.php:256
11728
  #, php-format
11729
  msgid "Enter country codes as comma separated list, e.g. %s."
11730
  msgstr ""
11731
 
11732
+ #: includes/settings/wcj-settings-eu-vat-number.php:262
11733
  msgid "Read '_vat_number' meta"
11734
  msgstr ""
11735
 
11736
+ #: includes/settings/wcj-settings-eu-vat-number.php:263
11737
  #, php-format
11738
  msgid ""
11739
  "Try to add compatibility with <a href='%s' target='_blank'>EU VAT Number</a> "
11745
  msgstr ""
11746
 
11747
  #: includes/settings/wcj-settings-export.php:20
11748
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:206
11749
  msgid "CSV Separator"
11750
  msgstr ""
11751
 
12060
  #: includes/settings/wcj-settings-max-products-per-user.php:44
12061
  #: includes/settings/wcj-settings-product-by-date.php:54
12062
  #: includes/settings/wcj-settings-product-by-time.php:54
12063
+ #: includes/settings/wcj-settings-wholesale-price.php:35
12064
  msgid "This will add new meta box to each product's edit page."
12065
  msgstr ""
12066
 
12286
 
12287
  #: includes/settings/wcj-settings-global-discount.php:201
12288
  #: includes/settings/wcj-settings-multicurrency-base-price.php:76
12289
+ #: includes/settings/wcj-settings-multicurrency.php:212
12290
+ #: includes/settings/wcj-settings-price-by-country.php:191
12291
  #: includes/settings/wcj-settings-price-by-user-role.php:111
12292
  #: includes/settings/wcj-settings-product-addons.php:258
12293
  #: includes/settings/wcj-settings-product-price-by-formula.php:100
12296
 
12297
  #: includes/settings/wcj-settings-global-discount.php:202
12298
  #: includes/settings/wcj-settings-multicurrency-base-price.php:77
12299
+ #: includes/settings/wcj-settings-multicurrency.php:213
12300
+ #: includes/settings/wcj-settings-price-by-country.php:192
12301
  #: includes/settings/wcj-settings-price-by-user-role.php:112
12302
  #: includes/settings/wcj-settings-product-addons.php:259
12303
  #: includes/settings/wcj-settings-product-price-by-formula.php:101
12304
+ #: includes/settings/wcj-settings-wholesale-price.php:133
12305
  msgid ""
12306
  "Priority for all module's price filters. Set to zero to use default priority."
12307
  msgstr ""
12516
  msgstr ""
12517
 
12518
  #: includes/settings/wcj-settings-multicurrency-base-price.php:68
12519
+ #: includes/settings/wcj-settings-multicurrency.php:227
12520
+ #: includes/settings/wcj-settings-price-by-country.php:219
12521
  msgid "Save Calculated Products Prices"
12522
  msgstr ""
12523
 
12633
  msgid "Set how you want currency switcher to be displayed on frontend."
12634
  msgstr ""
12635
 
12636
+ #: includes/settings/wcj-settings-multicurrency.php:102
12637
+ msgid "Convert Shipping Values"
12638
+ msgstr ""
12639
+
12640
+ #: includes/settings/wcj-settings-multicurrency.php:104
12641
+ msgid ""
12642
+ "Disable it if you have some other plugin already converting it like WPML."
12643
+ msgstr ""
12644
+
12645
+ #: includes/settings/wcj-settings-multicurrency.php:115
12646
  #: includes/settings/wcj-settings-payment-gateways-min-max.php:65
12647
  #: includes/settings/wcj-settings-price-by-country.php:160
12648
  #: includes/settings/wcj-settings-product-msrp.php:105
12649
  msgid "Compatibility"
12650
  msgstr ""
12651
 
12652
+ #: includes/settings/wcj-settings-multicurrency.php:120
12653
+ msgid "WooCommerce Fixed Coupons"
 
12654
  msgstr ""
12655
 
12656
+ #: includes/settings/wcj-settings-multicurrency.php:122
 
12657
  msgid ""
12658
  "When a fixed coupon is used its value changes according to the current "
12659
+ "currency."
12660
  msgstr ""
12661
 
12662
+ #: includes/settings/wcj-settings-multicurrency.php:128
12663
+ msgid "WooCommerce Coupons - Min & Max amount"
12664
+ msgstr ""
12665
+
12666
+ #: includes/settings/wcj-settings-multicurrency.php:131
12667
+ msgid "Converts min and max amount values from WooCommerce coupons."
12668
+ msgstr ""
12669
+
12670
+ #: includes/settings/wcj-settings-multicurrency.php:137
12671
  msgid "WooCommerce Smart Coupons"
12672
  msgstr ""
12673
 
12674
+ #: includes/settings/wcj-settings-multicurrency.php:144
12675
  msgid "WooCommerce Price Filter"
12676
  msgstr ""
12677
 
12678
+ #: includes/settings/wcj-settings-multicurrency.php:146
12679
+ msgid "Adds Compatibility with Price Filter widget."
12680
  msgstr ""
12681
 
12682
+ #: includes/settings/wcj-settings-multicurrency.php:152
12683
  msgid "Price Sorting with Per Product"
12684
  msgstr ""
12685
 
12686
+ #: includes/settings/wcj-settings-multicurrency.php:154
12687
+ msgid "Fixes Price Sorting if Per Product option is enabled."
12688
  msgstr ""
12689
 
12690
+ #: includes/settings/wcj-settings-multicurrency.php:160
12691
  msgid "WooCommerce Import"
12692
  msgstr ""
12693
 
12694
+ #: includes/settings/wcj-settings-multicurrency.php:162
12695
  msgid ""
12696
  "Fixes WooCommerce Import Tool preventing it from converting some uppercase "
12697
+ "meta to lowercase."
12698
  msgstr ""
12699
 
12700
+ #: includes/settings/wcj-settings-multicurrency.php:168
12701
  msgid "WPC Product Bundles"
12702
  msgstr ""
12703
 
12704
+ #: includes/settings/wcj-settings-multicurrency.php:170
12705
  #, php-format
12706
  msgid ""
12707
  "Adds compatibility with <a href=\"%s\" target=\"_blank\">WPC Product "
12708
+ "Bundles</a> plugin."
12709
  msgstr ""
12710
 
12711
+ #: includes/settings/wcj-settings-multicurrency.php:176
12712
+ msgid "WooCommerce Tree Table Rate Shipping"
12713
+ msgstr ""
12714
+
12715
+ #: includes/settings/wcj-settings-multicurrency.php:179
12716
+ #, php-format
12717
+ msgid ""
12718
+ "Adds compatibility with <a href=\"%s\" target=\"_blank\">WooCommerce Tree "
12719
+ "Table Rate Shipping</a> plugin."
12720
+ msgstr ""
12721
+
12722
+ #: includes/settings/wcj-settings-multicurrency.php:185
12723
+ msgid "Flexible Shipping"
12724
+ msgstr ""
12725
+
12726
+ #: includes/settings/wcj-settings-multicurrency.php:188
12727
+ #, php-format
12728
+ msgid ""
12729
+ "Adds compatibility with <a href=\"%s\" target=\"_blank\">Flexible Shipping</"
12730
+ "a> plugin."
12731
+ msgstr ""
12732
+
12733
+ #: includes/settings/wcj-settings-multicurrency.php:203
12734
  msgid "Additional Price Filters"
12735
  msgstr ""
12736
 
12737
+ #: includes/settings/wcj-settings-multicurrency.php:204
12738
  msgid ""
12739
  "Add additional price filters here. One per line. Leave blank if not sure."
12740
  msgstr ""
12741
 
12742
+ #: includes/settings/wcj-settings-multicurrency.php:219
12743
  msgid "Save Prices on Exchange Update"
12744
  msgstr ""
12745
 
12746
+ #: includes/settings/wcj-settings-multicurrency.php:221
12747
  msgid ""
12748
  "Save min and max prices on exchange rate update, via background processing."
12749
  msgstr ""
12750
 
12751
+ #: includes/settings/wcj-settings-multicurrency.php:221
12752
  msgid ""
12753
  "All products with \"per product\" options registered related to the currency "
12754
  "will be affected."
12755
  msgstr ""
12756
 
12757
+ #: includes/settings/wcj-settings-multicurrency.php:241
12758
  msgid ""
12759
  "One currency probably should be set to current (original) shop currency with "
12760
  "an exchange rate of 1."
12761
  msgstr ""
12762
 
12763
+ #: includes/settings/wcj-settings-multicurrency.php:246
12764
  msgid ""
12765
  "Press Save changes after setting this option, so new settings fields will be "
12766
  "added."
12767
  msgstr ""
12768
 
12769
+ #: includes/settings/wcj-settings-multicurrency.php:295
12770
  msgid "Role Defaults"
12771
  msgstr ""
12772
 
12773
+ #: includes/settings/wcj-settings-multicurrency.php:302
12774
  msgid "Roles"
12775
  msgstr ""
12776
 
12777
+ #: includes/settings/wcj-settings-multicurrency.php:303
12778
+ #: includes/settings/wcj-settings-wholesale-price.php:224
12779
  msgid "Save settings after you change this option. Leave blank to disable."
12780
  msgstr ""
12781
 
12782
+ #: includes/settings/wcj-settings-multicurrency.php:326
12783
  msgid "No default currency"
12784
  msgstr ""
12785
 
13106
  #: includes/settings/wcj-settings-offer-price.php:48
13107
  #: includes/settings/wcj-settings-order-min-amount.php:29
13108
  #: includes/settings/wcj-settings-order-min-amount.php:36
13109
+ #: includes/settings/wcj-settings-order-min-amount.php:43
13110
  #: includes/settings/wcj-settings-payment-gateways-fees.php:117
13111
  msgid "Exclude"
13112
  msgstr ""
13410
  msgstr ""
13411
 
13412
  #: includes/settings/wcj-settings-order-min-amount.php:42
13413
+ msgid "Exclude Discounts from Yith Gift Cards"
13414
+ msgstr ""
13415
+
13416
+ #: includes/settings/wcj-settings-order-min-amount.php:50
13417
  msgid "Error message"
13418
  msgstr ""
13419
 
13420
+ #: includes/settings/wcj-settings-order-min-amount.php:52
13421
+ #: includes/settings/wcj-settings-order-min-amount.php:69
13422
  #, php-format
13423
  msgid ""
13424
  "Message to customer if order is below minimum amount. Default: You must have "
13426
  "is %s."
13427
  msgstr ""
13428
 
13429
+ #: includes/settings/wcj-settings-order-min-amount.php:60
13430
  msgid "Add notice to cart page also"
13431
  msgstr ""
13432
 
13433
+ #: includes/settings/wcj-settings-order-min-amount.php:67
13434
  msgid "Message on cart page"
13435
  msgstr ""
13436
 
13437
+ #: includes/settings/wcj-settings-order-min-amount.php:78
13438
  msgid "Cart notice method"
13439
  msgstr ""
13440
 
13441
+ #: includes/settings/wcj-settings-order-min-amount.php:88
13442
  msgid "Cart notice type"
13443
  msgstr ""
13444
 
13445
+ #: includes/settings/wcj-settings-order-min-amount.php:93
13446
  #: includes/settings/wcj-settings-payment-gateways-min-max.php:55
13447
  msgid "Notice"
13448
  msgstr ""
13449
 
13450
+ #: includes/settings/wcj-settings-order-min-amount.php:94
13451
  #: includes/settings/wcj-settings-payment-gateways-min-max.php:56
13452
  msgid "Error"
13453
  msgstr ""
13454
 
13455
+ #: includes/settings/wcj-settings-order-min-amount.php:98
13456
  msgid ""
13457
  "Stop customer from seeing the Checkout page if minimum amount not reached"
13458
  msgstr ""
13459
 
13460
+ #: includes/settings/wcj-settings-order-min-amount.php:99
13461
  msgid "Redirect back to Cart page"
13462
  msgstr ""
13463
 
13464
+ #: includes/settings/wcj-settings-order-min-amount.php:109
13465
  msgid "Order Minimum Amount by User Role"
13466
  msgstr ""
13467
 
14433
  msgid "e.g: UTF-8, iso-8859-1"
14434
  msgstr ""
14435
 
14436
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:104
14437
+ msgid "WooCommerce Extra Product Options on Item Name"
14438
+ msgstr ""
14439
+
14440
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:106
14441
+ #, php-format
14442
+ msgid ""
14443
+ "Displays some info from <a href=\"%s\" target=\"_blank\">WooCommerce Extra "
14444
+ "Product Options</a> on <code>item_name</code> parameter from "
14445
+ "<code>wcj_order_items_table</code>."
14446
+ msgstr ""
14447
+
14448
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:106
14449
+ msgid ""
14450
+ "Probably you'll want it disabled and use the <code>item_meta</code> "
14451
+ "parameter instead."
14452
+ msgstr ""
14453
+
14454
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:112
14455
+ msgid "Item Meta Separator"
14456
+ msgstr ""
14457
+
14458
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:113
14459
+ msgid ""
14460
+ "Separator used on <code>item_meta</code> parameter from "
14461
+ "<code>wcj_order_items_table</code>"
14462
+ msgstr ""
14463
+
14464
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:124
14465
  msgid "Fonts Manager"
14466
  msgstr ""
14467
 
14468
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:133
14469
  msgid "Re-download"
14470
  msgstr ""
14471
 
14472
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:133
14473
  msgid "Download"
14474
  msgstr ""
14475
 
14476
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:138
14477
  msgid "Disable Fonts Download"
14478
  msgstr ""
14479
 
14480
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:149
14481
  msgid "General Display Options"
14482
  msgstr ""
14483
 
14484
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:154
14485
  msgid "Add PDF Invoices Meta Box to Admin Edit Order Page"
14486
  msgstr ""
14487
 
14488
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:161
14489
  msgid "Open docs in new window"
14490
  msgstr ""
14491
 
14492
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:167
14493
  msgid "Add editable numbers and dates"
14494
  msgstr ""
14495
 
14496
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:177
14497
  msgid "Report Tool Options"
14498
  msgstr ""
14499
 
14500
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:182
14501
  msgid "Reports Filename"
14502
  msgstr ""
14503
 
14504
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:190
14505
  msgid "Report Columns"
14506
  msgstr ""
14507
 
14508
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:191
14509
  msgid "Leave blank to show all columns."
14510
  msgstr ""
14511
 
14512
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:199
14513
  msgid "Tax Percent Precision"
14514
  msgstr ""
14515
 
14516
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:212
14517
  msgid "CSV UTF-8 BOM"
14518
  msgstr ""
14519
 
14520
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:219
14521
  msgid "Replace Periods with Commas in CSV Data"
14522
  msgstr ""
14523
 
14524
+ #: includes/settings/wcj-settings-pdf-invoicing-advanced.php:220
14525
  #: includes/settings/wcj-settings-product-open-pricing.php:174
14526
  msgid "Replace"
14527
  msgstr ""
14528
 
14529
  #: includes/settings/wcj-settings-pdf-invoicing-display.php:25
14530
+ #: includes/settings/wcj-settings-price-by-country.php:318
14531
  #: includes/settings/wcj-settings-shipping.php:30
14532
  msgid "Admin Title"
14533
  msgstr ""
15017
  msgid "Disable Price by Country for Bots"
15018
  msgstr ""
15019
 
15020
+ #: includes/settings/wcj-settings-price-by-country.php:165
15021
+ msgid "WooCommerce Coupons"
15022
+ msgstr ""
15023
+
15024
+ #: includes/settings/wcj-settings-price-by-country.php:167
15025
+ msgid ""
15026
+ "When a fixed coupon is used its value changes according to the current "
15027
+ "currency"
15028
+ msgstr ""
15029
+
15030
+ #: includes/settings/wcj-settings-price-by-country.php:173
15031
+ msgid "Woo Discount Rules"
15032
+ msgstr ""
15033
+
15034
+ #: includes/settings/wcj-settings-price-by-country.php:176
15035
+ #, php-format
15036
+ msgid ""
15037
+ "Adds compatibility with <a href=\"%s\" target=\"_blank\">Woo Discount Rules</"
15038
+ "a> plugin."
15039
+ msgstr ""
15040
+
15041
+ #: includes/settings/wcj-settings-price-by-country.php:176
15042
+ #, php-format
15043
+ msgid ""
15044
+ "If it doesn't work properly try to enable <a href=\"%s\">redirect to the "
15045
+ "cart page after successful addition</a> option"
15046
+ msgstr ""
15047
+
15048
+ #: includes/settings/wcj-settings-price-by-country.php:198
15049
  msgid "User IP Detection Method"
15050
  msgstr ""
15051
 
15052
+ #: includes/settings/wcj-settings-price-by-country.php:208
15053
  msgid "Price Format Method"
15054
  msgstr ""
15055
 
15056
+ #: includes/settings/wcj-settings-price-by-country.php:209
15057
  msgid "The moment \"Pretty Price\" and \"Rounding\" will be applied"
15058
  msgstr ""
15059
 
15060
+ #: includes/settings/wcj-settings-price-by-country.php:214
15061
  msgid "get_price()"
15062
  msgstr ""
15063
 
15064
+ #: includes/settings/wcj-settings-price-by-country.php:215
15065
  msgid "wc_get_price_to_display()"
15066
  msgstr ""
15067
 
15068
+ #: includes/settings/wcj-settings-price-by-country.php:231
15069
  msgid "Country Groups"
15070
  msgstr ""
15071
 
15072
+ #: includes/settings/wcj-settings-price-by-country.php:236
15073
  msgid "Countries Selection"
15074
  msgstr ""
15075
 
15076
+ #: includes/settings/wcj-settings-price-by-country.php:237
15077
  msgid "Choose how do you want to enter countries groups in admin."
15078
  msgstr ""
15079
 
15080
+ #: includes/settings/wcj-settings-price-by-country.php:242
15081
  msgid "Comma separated list"
15082
  msgstr ""
15083
 
15084
+ #: includes/settings/wcj-settings-price-by-country.php:243
15085
  msgid "Multiselect"
15086
  msgstr ""
15087
 
15088
+ #: includes/settings/wcj-settings-price-by-country.php:244
15089
  #: includes/settings/wcj-settings-product-by-condition.php:82
15090
  #: includes/settings/wcj-settings-related-products.php:164
15091
  msgid "Chosen select"
15092
  msgstr ""
15093
 
15094
+ #: includes/settings/wcj-settings-price-by-country.php:248
15095
  msgid "Autogenerate Groups"
15096
  msgstr ""
15097
 
15098
+ #: includes/settings/wcj-settings-price-by-country.php:254
15099
  msgid "Groups Number"
15100
  msgstr ""
15101
 
15102
+ #: includes/settings/wcj-settings-price-by-country.php:278
15103
  msgid ""
15104
  "Countries. List of comma separated country codes.<br>For country codes and "
15105
  "predefined sets visit <a href=\"https://booster.io/country-codes/\" target="
15106
  "\"_blank\">https://booster.io/country-codes/</a>"
15107
  msgstr ""
15108
 
15109
+ #: includes/settings/wcj-settings-price-by-country.php:364
15110
  msgid "Multiply Price by"
15111
  msgstr ""
15112
 
15200
 
15201
  #: includes/settings/wcj-settings-price-by-user-role.php:120
15202
  #: includes/settings/wcj-settings-product-open-pricing.php:149
15203
+ #: includes/settings/wcj-settings-wholesale-price.php:126
15204
  msgid ""
15205
  "Try enabling this checkbox, if you are having compatibility issues with "
15206
  "other plugins."
15671
  msgstr ""
15672
 
15673
  #: includes/settings/wcj-settings-product-addons.php:220
15674
+ #: includes/settings/wcj-settings-shipping-by-condition.php:152
15675
  #: includes/settings/wcj-settings-shipping-options.php:41
15676
  msgid "Set to zero to use the default priority."
15677
  msgstr ""
16199
  msgstr ""
16200
 
16201
  #: includes/settings/wcj-settings-product-custom-info.php:130
16202
+ #: includes/settings/wcj-settings-wholesale-price.php:107
16203
  msgid "Product Categories to Include"
16204
  msgstr ""
16205
 
16213
  msgstr ""
16214
 
16215
  #: includes/settings/wcj-settings-product-custom-info.php:138
16216
+ #: includes/settings/wcj-settings-wholesale-price.php:116
16217
  msgid "Product Categories to Exclude"
16218
  msgstr ""
16219
 
16227
 
16228
  #: includes/settings/wcj-settings-product-custom-info.php:162
16229
  #: includes/settings/wcj-settings-products-xml.php:147
16230
+ #: includes/settings/wcj-settings-wholesale-price.php:94
16231
  msgid "Products to Include"
16232
  msgstr ""
16233
 
16234
  #: includes/settings/wcj-settings-product-custom-info.php:170
16235
  #: includes/settings/wcj-settings-products-xml.php:157
16236
+ #: includes/settings/wcj-settings-wholesale-price.php:101
16237
  msgid "Products to Exclude"
16238
  msgstr ""
16239
 
16458
  #: includes/settings/wcj-settings-product-input-fields.php:145
16459
  #: includes/settings/wcj-settings-product-input-fields.php:157
16460
  #: includes/settings/wcj-settings-product-input-fields.php:169
16461
+ #: includes/settings/wcj-settings-wholesale-price.php:95
16462
+ #: includes/settings/wcj-settings-wholesale-price.php:108
16463
  msgid "Leave blank to include all products."
16464
  msgstr ""
16465
 
16767
  msgid "As separate meta box"
16768
  msgstr ""
16769
 
16770
+ #: includes/settings/wcj-settings-product-msrp.php:121
16771
+ msgid "Other Options"
16772
+ msgstr ""
16773
+
16774
+ #: includes/settings/wcj-settings-product-msrp.php:126
16775
+ #: includes/settings/wcj-settings-purchase-data.php:195
16776
+ msgid "Treat Variable Products as Simple Products"
16777
+ msgstr ""
16778
+
16779
+ #: includes/settings/wcj-settings-product-msrp.php:133
16780
+ msgid "Archive Field"
16781
+ msgstr ""
16782
+
16783
+ #: includes/settings/wcj-settings-product-msrp.php:136
16784
+ msgid "Adds a MSRP field that will be displayed on the product archive."
16785
+ msgstr ""
16786
+
16787
+ #: includes/settings/wcj-settings-product-msrp.php:146
16788
+ msgid "Template Variable Formulas"
16789
+ msgstr ""
16790
+
16791
+ #: includes/settings/wcj-settings-product-msrp.php:151
16792
+ msgid "You Save"
16793
+ msgstr ""
16794
+
16795
+ #: includes/settings/wcj-settings-product-msrp.php:152
16796
+ #: includes/settings/wcj-settings-product-msrp.php:161
16797
+ msgid "Variable: "
16798
+ msgstr ""
16799
+
16800
+ #: includes/settings/wcj-settings-product-msrp.php:154
16801
+ msgid "%you_save%"
16802
+ msgstr ""
16803
+
16804
+ #: includes/settings/wcj-settings-product-msrp.php:160
16805
+ msgid "You Save Percent"
16806
+ msgstr ""
16807
+
16808
+ #: includes/settings/wcj-settings-product-msrp.php:163
16809
+ msgid "%you_save_percent%"
16810
+ msgstr ""
16811
+
16812
  #: includes/settings/wcj-settings-product-open-pricing.php:27
16813
  msgid "Frontend Label"
16814
  msgstr ""
16884
  msgstr ""
16885
 
16886
  #: includes/settings/wcj-settings-product-open-pricing.php:147
16887
+ #: includes/settings/wcj-settings-wholesale-price.php:124
16888
  msgid "Advanced: Price Changes"
16889
  msgstr ""
16890
 
17498
  msgid "More Options"
17499
  msgstr ""
17500
 
 
 
 
 
17501
  #: includes/settings/wcj-settings-related-products.php:27
17502
  msgid "Meta Value"
17503
  msgstr ""
17796
  msgid "Shipping Methods by %s"
17797
  msgstr ""
17798
 
17799
+ #: includes/settings/wcj-settings-shipping-by-condition.php:93
17800
+ #: includes/settings/wcj-settings-shipping-by-condition.php:113
17801
  #, php-format
17802
  msgid "Include %s"
17803
  msgstr ""
17804
 
17805
+ #: includes/settings/wcj-settings-shipping-by-condition.php:101
17806
+ #: includes/settings/wcj-settings-shipping-by-condition.php:124
17807
  #, php-format
17808
  msgid "Exclude %s"
17809
  msgstr ""
17810
 
17811
+ #: includes/settings/wcj-settings-shipping-by-condition.php:151
17812
  msgid "Filter Priority"
17813
  msgstr ""
17814
 
18905
  msgstr ""
18906
 
18907
  #: includes/settings/wcj-settings-wholesale-price.php:25
18908
+ msgid "Price Table Format"
18909
+ msgstr ""
18910
+
18911
+ #: includes/settings/wcj-settings-wholesale-price.php:26
18912
+ msgid ""
18913
+ "The title format from <code>[wcj_product_wholesale_price_table]</code> "
18914
+ "shortcode."
18915
+ msgstr ""
18916
+
18917
+ #: includes/settings/wcj-settings-wholesale-price.php:34
18918
  msgid "Enable per Product"
18919
  msgstr ""
18920
 
18921
+ #: includes/settings/wcj-settings-wholesale-price.php:42
18922
  msgid "Quantity Calculation"
18923
  msgstr ""
18924
 
18925
+ #: includes/settings/wcj-settings-wholesale-price.php:47
18926
  msgid "Product quantity"
18927
  msgstr ""
18928
 
18929
+ #: includes/settings/wcj-settings-wholesale-price.php:48
18930
  msgid "Total cart quantity (wholesale products only)"
18931
  msgstr ""
18932
 
18933
+ #: includes/settings/wcj-settings-wholesale-price.php:49
18934
  msgid "Total cart quantity"
18935
  msgstr ""
18936
 
18937
+ #: includes/settings/wcj-settings-wholesale-price.php:53
18938
  msgid "Exclusive Use Only"
18939
  msgstr ""
18940
 
18941
+ #: includes/settings/wcj-settings-wholesale-price.php:55
18942
  msgid "Apply wholesale discount only if no other cart discounts were applied."
18943
  msgstr ""
18944
 
18945
+ #: includes/settings/wcj-settings-wholesale-price.php:61
18946
  msgid "Round Single Product Price"
18947
  msgstr ""
18948
 
18949
+ #: includes/settings/wcj-settings-wholesale-price.php:62
18950
  msgid ""
18951
  "If enabled will round single product price with precision set in WooCommerce "
18952
  "> Settings > General > Number of decimals."
18953
  msgstr ""
18954
 
18955
+ #: includes/settings/wcj-settings-wholesale-price.php:69
18956
  msgid "Discount Info on Cart Page"
18957
  msgstr ""
18958
 
18959
+ #: includes/settings/wcj-settings-wholesale-price.php:76
18960
  msgid "If show discount info on cart page is enabled, set format here."
18961
  msgstr ""
18962
 
18963
+ #: includes/settings/wcj-settings-wholesale-price.php:125
18964
  msgid "Disable wholesale pricing for products with \"Price Changes\""
18965
  msgstr ""
18966
 
18967
+ #: includes/settings/wcj-settings-wholesale-price.php:132
18968
  msgid "Advanced: Price Filters Priority"
18969
  msgstr ""
18970
 
18971
+ #: includes/settings/wcj-settings-wholesale-price.php:145
18972
+ msgid "Template Variables"
18973
+ msgstr ""
18974
+
18975
+ #: includes/settings/wcj-settings-wholesale-price.php:147
18976
+ msgid "Options regarding template variables"
18977
+ msgstr ""
18978
+
18979
+ #: includes/settings/wcj-settings-wholesale-price.php:151
18980
+ msgid "Discount Value - Fixed Discount Totals"
18981
+ msgstr ""
18982
+
18983
+ #: includes/settings/wcj-settings-wholesale-price.php:155
18984
+ msgid ""
18985
+ "Defines how the <code>%discount_value%</code> will calculate the totals when "
18986
+ "the fixed discount is in use."
18987
+ msgstr ""
18988
+
18989
+ #: includes/settings/wcj-settings-wholesale-price.php:159
18990
+ msgid "Do not consider quantity"
18991
+ msgstr ""
18992
+
18993
+ #: includes/settings/wcj-settings-wholesale-price.php:160
18994
+ msgid "Consider quantity"
18995
+ msgstr ""
18996
+
18997
+ #: includes/settings/wcj-settings-wholesale-price.php:168
18998
  msgid "Wholesale Levels Options"
18999
  msgstr ""
19000
 
19001
+ #: includes/settings/wcj-settings-wholesale-price.php:173
19002
+ #: includes/settings/wcj-settings-wholesale-price.php:237
19003
  msgid "Number of Levels"
19004
  msgstr ""
19005
 
19006
+ #: includes/settings/wcj-settings-wholesale-price.php:184
19007
  msgid "Default Max Qty Level"
19008
  msgstr ""
19009
 
19010
+ #: includes/settings/wcj-settings-wholesale-price.php:194
19011
+ #: includes/settings/wcj-settings-wholesale-price.php:251
19012
  msgid "Min Quantity"
19013
  msgstr ""
19014
 
19015
+ #: includes/settings/wcj-settings-wholesale-price.php:195
19016
+ #: includes/settings/wcj-settings-wholesale-price.php:252
19017
  msgid "Minimum quantity to apply discount"
19018
  msgstr ""
19019
 
19020
+ #: includes/settings/wcj-settings-wholesale-price.php:217
19021
  msgid "Additional User Roles Options"
19022
  msgstr ""
19023
 
19024
+ #: includes/settings/wcj-settings-wholesale-price.php:219
19025
  msgid ""
19026
  "If you want to set different wholesale pricing options for different user "
19027
  "roles, fill this section. Please note that you can also use Booster's "
19028
  "\"Price based on User Role\" module without filling this section."
19029
  msgstr ""
19030
 
19031
+ #: includes/settings/wcj-settings-wholesale-price.php:223
19032
  msgid "User Roles Settings"
19033
  msgstr ""
19034
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Booster for WooCommerce ===
2
- Contributors: algoritmika, anbinder, debugeris, karzin
3
  Tags: woocommerce, booster for woocommerce, woocommerce jetpack
4
  Requires at least: 4.4
5
  Tested up to: 5.4
6
- Stable tag: 4.8.0
7
  License: GNU General Public License v3.0
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -193,14 +193,48 @@ You can see the differences between versions in this [table](https://booster.io/
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  = 4.8.0 - 18/03/2020 =
197
  * Fix - Functions - General - Fix php warning if WPML isn't active and 'WPML: Get Terms in All Languages' is enabled.
198
  * Fix - PRICES & CURRENCIES - Multicurrency Product Base Price - Remove "Third Party Price Filter Compatibility" option.
199
  * Fix - PRICES & CURRENCIES - Multicurrency Product Base Price - Fix Compatibility with Price Filter widget.
200
  * Fix - PRICES & CURRENCIES - Fix "WooCommerce Price Filter Compatibility" option.
201
  * Fix - PRODUCTS - Product Availability by Date - Fix wrong availabilities by always creating the date with `DateTime::createFromFormat`.
202
- * Fix - PRODUCTS - Product Addons - Fix warning when exporting '_wcj_product_addons_per_product_enable_by_variation_%' meta.
203
- * Fix - PRODUCTS - Product Addons - Fix wrong '_wcj_product_addons_per_product_enable_by_variation_%' meta value after import.
204
  * Fix - SHIPPING & ORDERS - Order Custom Statuses - Add compatibility with "Load Modules on Init Hook" option.
205
  * Dev - CART & CHECKOUT - Checkout Custom Fields - Update fields on admin for subscription orders.
206
  * Dev - EMAILS & MISC. - Admin Tools - Add 'Enable Interface By User Roles' option allowing to disable the whole Booster admin interface for not selected roles.
1
  === Booster for WooCommerce ===
2
+ Contributors: algoritmika, anbinder, debugeris, karzin, pluggabl
3
  Tags: woocommerce, booster for woocommerce, woocommerce jetpack
4
  Requires at least: 4.4
5
  Tested up to: 5.4
6
+ Stable tag: 4.9.0
7
  License: GNU General Public License v3.0
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
193
 
194
  == Changelog ==
195
 
196
+ = 4.9.0 - 19/05/2020 =
197
+ * Fix - CART & CHECKOUT - EU VAT Number - Add 'Restrictive Loading' option allowing to enqueue the module scripts on some conditions.
198
+ * Fix - CART & CHECKOUT - Avoid possible cURL error on site-health by starting session only on frontend.
199
+ * Fix - EMAILS & MISC. - Booster WPML - General Options - Improve 'Auto Switch Booster Currency' option using the `wcml_client_currency` filter to get the currency as well.
200
+ * Fix - PAYMENT GATEWAYS - Custom Gateways - Add compatibility with "Load Modules on Init Hook" option.
201
+ * Fix - PRICES & CURRENCIES - Global Discount - Fix possible php warning: Illegal string offset `wcj_global_discount_price_hash`.
202
+ * Fix - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Get per product regular price instead of sale price when scheduled sale price is not valid.
203
+ * Fix - PRICES & CURRENCIES - Wholesale Price - Display the `[wcj_product_wholesale_price_table]` shortcode only to products that really need the module.
204
+ * Fix - PRODUCTS - Product Addons - Add Addon field to cart using its default value when the product is not on `$_POST`.
205
+ * Fix - SHIPPING & ORDERS - Shipping by Cities - Improve city detection by also getting it when customer changes city.
206
+ * Dev - CART & CHECKOUT - Checkout Core Fields - Add 'Checking Relation' option as a Plus feature, allowing to check only one condition to be true or all of them.
207
+ * Dev - EMAILS & MISC. - Admin Tools - Add 'Shop Manager Editable Roles' option allowing to change the roles the Shop Manager role can edit.
208
+ * Dev - PAYMENT GATEWAYS - Custom Gateways - Minimum order amount - Add option allowing to exclude Discounts from Yith Gift Cards on plus version.
209
+ * Dev - PDF INVOICING & PACKING SLIPS - Create option allowing to choose to display some meta from 'WooCommerce Extra Product Options' on `item_name` paramater from `wcj_order_items_table` shortcode.
210
+ * Dev - PDF INVOICING & PACKING SLIPS - Create option allowing to choose the separator from `item_meta` parameter from `wcj_order_items_table`.
211
+ * Dev - PRICES & CURRENCIES - Wholesale Price - Add 'Price Table Format' option allowing to setup the title from `[wcj_product_wholesale_price_table]` shortcode.
212
+ * Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add compatibility option with WooCommerce Coupons regarding min and max amount values.
213
+ * Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add 'Convert Shipping Values' option.
214
+ * Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add Compatibility option with 'WooCommerce Tree Table Rate Shipping' plugin.
215
+ * Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add `wcj_multicurrency_compatibility_wc_ttrs_instances` filter.
216
+ * Dev - PRICES & CURRENCIES - Multicurrency (Currency Switcher) - Add Compatibility option with 'Flexible Shipping' plugin.
217
+ * Dev - PRICES & CURRENCIES - Prices and Currencies by Country - Add compatibility option with 'Woo Discount Rules' plugin.
218
+ * Dev - PRICES & CURRENCIES - Prices and Currencies by Country - Add option 'Advanced: Saved Calculated Products Prices'.
219
+ * Dev - PRODUCTS - Product Visibility by Country - Make the Country Switcher widget change the currency from the module.
220
+ * Dev - PRODUCTS - Product Visibility by User Role - Add option to ignore the `editable_roles` filter allowing for example the `shop_manager` to see all roles.
221
+ * Dev - PRODUCTS - Product MSRP - Add 'Treat Variable Products as Simple Products' option.
222
+ * Dev - PRODUCTS - Product MSRP - Add 'Archive Field' option allowing to register a value that will be displayed only on archive.
223
+ * Dev - PRODUCTS - Product MSRP - Add formula options for %you_save% and %you_save_percent% template variables.
224
+ * Dev - SHIPPING & ORDERS - Shipping Methods by Users - Replace "Shipping Methods by Users" options by ajax settings.
225
+ * Dev - Functions - Admin - Allow `wcj_get_ajax_settings()` searching customers by ajax passing `woocommerce_json_search_customers` on `$search_type` parameter.
226
+ * Dev - Functions - Date Time - Add `wcj_pretty_utc_date()` function that takes into consideration configured language, timezone, and date format.
227
+ * Tested up to: 5.4.
228
+ * WC tested up to: 4.1
229
+
230
  = 4.8.0 - 18/03/2020 =
231
  * Fix - Functions - General - Fix php warning if WPML isn't active and 'WPML: Get Terms in All Languages' is enabled.
232
  * Fix - PRICES & CURRENCIES - Multicurrency Product Base Price - Remove "Third Party Price Filter Compatibility" option.
233
  * Fix - PRICES & CURRENCIES - Multicurrency Product Base Price - Fix Compatibility with Price Filter widget.
234
  * Fix - PRICES & CURRENCIES - Fix "WooCommerce Price Filter Compatibility" option.
235
  * Fix - PRODUCTS - Product Availability by Date - Fix wrong availabilities by always creating the date with `DateTime::createFromFormat`.
236
+ * Fix - PRODUCTS - Product Addons - Fix warning when exporting `_wcj_product_addons_per_product_enable_by_variation_%` meta.
237
+ * Fix - PRODUCTS - Product Addons - Fix wrong `_wcj_product_addons_per_product_enable_by_variation_%` meta value after import.
238
  * Fix - SHIPPING & ORDERS - Order Custom Statuses - Add compatibility with "Load Modules on Init Hook" option.
239
  * Dev - CART & CHECKOUT - Checkout Custom Fields - Update fields on admin for subscription orders.
240
  * Dev - EMAILS & MISC. - Admin Tools - Add 'Enable Interface By User Roles' option allowing to disable the whole Booster admin interface for not selected roles.
woocommerce-jetpack.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Booster for WooCommerce
4
  Plugin URI: https://booster.io
5
  Description: Supercharge your WooCommerce site with these awesome powerful features. More than 100 modules. All in one WooCommerce plugin.
6
- Version: 4.8.0
7
  Author: Algoritmika Ltd
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
10
  Domain Path: /langs
11
  Copyright: © 2020 Algoritmika Ltd.
12
- WC tested up to: 4.0
13
  License: GNU General Public License v3.0
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
  */
@@ -57,7 +57,7 @@ final class WC_Jetpack {
57
  * @var string
58
  * @since 2.4.7
59
  */
60
- public $version = '4.8.0';
61
 
62
  /**
63
  * @var WC_Jetpack The single instance of the class
3
  Plugin Name: Booster for WooCommerce
4
  Plugin URI: https://booster.io
5
  Description: Supercharge your WooCommerce site with these awesome powerful features. More than 100 modules. All in one WooCommerce plugin.
6
+ Version: 4.9.0
7
  Author: Algoritmika Ltd
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
10
  Domain Path: /langs
11
  Copyright: © 2020 Algoritmika Ltd.
12
+ WC tested up to: 4.1
13
  License: GNU General Public License v3.0
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
  */
57
  * @var string
58
  * @since 2.4.7
59
  */
60
+ public $version = '4.9.0';
61
 
62
  /**
63
  * @var WC_Jetpack The single instance of the class