Booster for WooCommerce - Version 2.8.2

Version Description

  • 24/05/2017 =
  • Fix - Functions - wcj_order_get_payment_method() - Additional check for order (not null, object and method/property exists) added.
  • Fix - Shortcodes - Orders - [wcj_order_items_table] - add_variation_info_to_item_name (defaults to no) attribute added - this fixes the issue with double variation info.
  • Dev - Shortcodes - Orders - [wcj_order_items_table] - exclude_by_categories and exclude_by_tags attributes added.
  • Fix - PRICES & CURRENCIES - Price by User Role - get_variation_prices_hash() - Additional check for categories option not empty added.
  • Fix - PRICES & CURRENCIES - Product Open Pricing (Name Your Price) - Display Product Price Info in Archives - Displaying info for not open pricing products fixed.
  • Dev - PAYMENT GATEWAYS - Gateways Fees and Discounts - "Exclude Shipping when Calculating Total Cart Amount" option added.
  • Tweak - Checking for required Plus version message updated.
  • Tweak - PDF INVOICING & PACKING SLIPS - Styling - "Unicode" added to unicode fonts descriptions.
Download this release

Release Info

Developer algoritmika
Plugin Icon 128x128 Booster for WooCommerce
Version 2.8.2
Comparing to
See all releases

Code changes from version 2.8.1 to 2.8.2

includes/class-wcj-payment-gateways-fees.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Gateways Fees and Discounts
4
  *
5
- * @version 2.8.0
6
  * @since 2.2.2
7
  * @author Algoritmika Ltd.
8
  */
@@ -47,7 +47,7 @@ class WCJ_Payment_Gateways_Fees extends WCJ_Module {
47
  /**
48
  * gateways_fees.
49
  *
50
- * @version 2.7.0
51
  */
52
  function gateways_fees() {
53
  global $woocommerce;
@@ -74,7 +74,10 @@ class WCJ_Payment_Gateways_Fees extends WCJ_Module {
74
  $min_cart_amount = WCJ()->modules['multicurrency']->change_price( $min_cart_amount, null );
75
  $max_cart_amount = WCJ()->modules['multicurrency']->change_price( $max_cart_amount, null );
76
  }
77
- $total_in_cart = $woocommerce->cart->cart_contents_total + $woocommerce->cart->shipping_total;
 
 
 
78
  if ( '' != $fee_text && $total_in_cart >= $min_cart_amount && ( 0 == $max_cart_amount || $total_in_cart <= $max_cart_amount ) ) {
79
  $fee_value = get_option( 'wcj_gateways_fees_value_' . $current_gateway );
80
  $fee_type = get_option( 'wcj_gateways_fees_type_' . $current_gateway );
2
  /**
3
  * Booster for WooCommerce - Module - Gateways Fees and Discounts
4
  *
5
+ * @version 2.8.2
6
  * @since 2.2.2
7
  * @author Algoritmika Ltd.
8
  */
47
  /**
48
  * gateways_fees.
49
  *
50
+ * @version 2.8.2
51
  */
52
  function gateways_fees() {
53
  global $woocommerce;
74
  $min_cart_amount = WCJ()->modules['multicurrency']->change_price( $min_cart_amount, null );
75
  $max_cart_amount = WCJ()->modules['multicurrency']->change_price( $max_cart_amount, null );
76
  }
77
+ $total_in_cart = ( 'no' === get_option( 'wcj_gateways_fees_exclude_shipping_' . $current_gateway, 'no' ) ?
78
+ $woocommerce->cart->cart_contents_total + $woocommerce->cart->shipping_total :
79
+ $woocommerce->cart->cart_contents_total
80
+ );
81
  if ( '' != $fee_text && $total_in_cart >= $min_cart_amount && ( 0 == $max_cart_amount || $total_in_cart <= $max_cart_amount ) ) {
82
  $fee_value = get_option( 'wcj_gateways_fees_value_' . $current_gateway );
83
  $fee_type = get_option( 'wcj_gateways_fees_type_' . $current_gateway );
includes/class-wcj-price-by-user-role.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Price by User Role
4
  *
5
- * @version 2.8.0
6
  * @since 2.5.0
7
  * @author Algoritmika Ltd.
8
  * @todo Fix "Make Empty Price" option for variable products
@@ -241,7 +241,7 @@ class WCJ_Price_By_User_Role extends WCJ_Module {
241
  /**
242
  * get_variation_prices_hash.
243
  *
244
- * @version 2.8.0
245
  * @since 2.5.0
246
  * @todo only hash categories that is relevant to the product
247
  */
@@ -256,9 +256,11 @@ class WCJ_Price_By_User_Role extends WCJ_Module {
256
  get_option( 'wcj_price_by_user_role_per_product_type', 'fixed' ),
257
  $categories,
258
  );
259
- foreach ( $categories as $category ) {
260
- $price_hash['wcj_user_role'][] = get_option( 'wcj_price_by_user_role_cat_empty_price_' . $category . '_' . $user_role, 'no' );
261
- $price_hash['wcj_user_role'][] = get_option( 'wcj_price_by_user_role_cat_' . $category . '_' . $user_role, 1 );
 
 
262
  }
263
  return $price_hash;
264
  }
2
  /**
3
  * Booster for WooCommerce - Module - Price by User Role
4
  *
5
+ * @version 2.8.2
6
  * @since 2.5.0
7
  * @author Algoritmika Ltd.
8
  * @todo Fix "Make Empty Price" option for variable products
241
  /**
242
  * get_variation_prices_hash.
243
  *
244
+ * @version 2.8.2
245
  * @since 2.5.0
246
  * @todo only hash categories that is relevant to the product
247
  */
256
  get_option( 'wcj_price_by_user_role_per_product_type', 'fixed' ),
257
  $categories,
258
  );
259
+ if ( ! empty( $categories ) ) {
260
+ foreach ( $categories as $category ) {
261
+ $price_hash['wcj_user_role'][] = get_option( 'wcj_price_by_user_role_cat_empty_price_' . $category . '_' . $user_role, 'no' );
262
+ $price_hash['wcj_user_role'][] = get_option( 'wcj_price_by_user_role_cat_' . $category . '_' . $user_role, 1 );
263
+ }
264
  }
265
  return $price_hash;
266
  }
includes/class-wcj-product-open-pricing.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Product Open Pricing
4
  *
5
- * @version 2.8.0
6
  * @since 2.4.8
7
  * @author Algoritmika Ltd.
8
  */
@@ -86,27 +86,30 @@ class WCJ_Product_Open_Pricing extends WCJ_Module {
86
  /**
87
  * add_price_info_to_loop.
88
  *
89
- * @version 2.8.0
90
  * @since 2.8.0
91
  */
92
  function add_price_info_to_loop() {
93
  $_product_id = get_the_ID();
94
- $replaceable_values = array(
95
- '%default_price%' => wc_price( get_post_meta( $_product_id, '_' . 'wcj_product_open_price_default_price', true ) ),
96
- '%min_price%' => wc_price( get_post_meta( $_product_id, '_' . 'wcj_product_open_price_min_price', true ) ),
97
- '%max_price%' => wc_price( get_post_meta( $_product_id, '_' . 'wcj_product_open_price_max_price', true ) ),
98
- );
99
- echo str_replace( array_keys( $replaceable_values ), array_values( $replaceable_values ), $this->loop_price_info_template );
 
 
100
  }
101
 
102
  /**
103
  * is_open_price_product.
104
  *
105
- * @version 2.7.0
106
  * @since 2.4.8
107
  */
108
  function is_open_price_product( $_product ) {
109
- return ( 'yes' === get_post_meta( wcj_get_product_id_or_variation_parent_id( $_product ), '_' . 'wcj_product_open_price_enabled', true ) ) ? true : false;
 
110
  }
111
 
112
  /**
2
  /**
3
  * Booster for WooCommerce - Module - Product Open Pricing
4
  *
5
+ * @version 2.8.2
6
  * @since 2.4.8
7
  * @author Algoritmika Ltd.
8
  */
86
  /**
87
  * add_price_info_to_loop.
88
  *
89
+ * @version 2.8.2
90
  * @since 2.8.0
91
  */
92
  function add_price_info_to_loop() {
93
  $_product_id = get_the_ID();
94
+ if ( $this->is_open_price_product( $_product_id ) ) {
95
+ $replaceable_values = array(
96
+ '%default_price%' => wc_price( get_post_meta( $_product_id, '_' . 'wcj_product_open_price_default_price', true ) ),
97
+ '%min_price%' => wc_price( get_post_meta( $_product_id, '_' . 'wcj_product_open_price_min_price', true ) ),
98
+ '%max_price%' => wc_price( get_post_meta( $_product_id, '_' . 'wcj_product_open_price_max_price', true ) ),
99
+ );
100
+ echo str_replace( array_keys( $replaceable_values ), array_values( $replaceable_values ), $this->loop_price_info_template );
101
+ }
102
  }
103
 
104
  /**
105
  * is_open_price_product.
106
  *
107
+ * @version 2.8.2
108
  * @since 2.4.8
109
  */
110
  function is_open_price_product( $_product ) {
111
+ $_product_id = ( is_numeric( $_product ) ? $_product : wcj_get_product_id_or_variation_parent_id( $_product ) );
112
+ return ( 'yes' === get_post_meta( $_product_id, '_' . 'wcj_product_open_price_enabled', true ) );
113
  }
114
 
115
  /**
includes/functions/wcj-functions.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Functions
4
  *
5
- * @version 2.8.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -13,7 +13,7 @@ if ( ! function_exists( 'wcj_customer_get_country' ) ) {
13
  * wcj_customer_get_country.
14
  *
15
  * @version 2.8.0
16
- * @version 2.8.0
17
  */
18
  function wcj_customer_get_country() {
19
  return ( WCJ_IS_WC_VERSION_BELOW_3 ? WC()->customer->get_country() : WC()->customer->get_billing_country() );
@@ -24,11 +24,18 @@ if ( ! function_exists( 'wcj_order_get_payment_method' ) ) {
24
  /**
25
  * wcj_order_get_payment_method.
26
  *
27
- * @version 2.8.0
28
- * @version 2.8.0
29
  */
30
  function wcj_order_get_payment_method( $_order ) {
31
- return ( WCJ_IS_WC_VERSION_BELOW_3 ? $_order->payment_method : $_order->get_payment_method() );
 
 
 
 
 
 
 
32
  }
33
  }
34
 
@@ -37,7 +44,7 @@ if ( ! function_exists( 'wcj_check_time_from' ) ) {
37
  * wcj_check_time_from.
38
  *
39
  * @version 2.8.0
40
- * @version 2.8.0
41
  */
42
  function wcj_check_time_from( $time_from, $args ) {
43
  $time_from = explode( ':', $time_from );
@@ -56,7 +63,7 @@ if ( ! function_exists( 'wcj_check_time_to' ) ) {
56
  * wcj_check_time_to.
57
  *
58
  * @version 2.8.0
59
- * @version 2.8.0
60
  */
61
  function wcj_check_time_to( $time_to, $args ) {
62
  $time_to = explode( ':', $time_to );
@@ -75,7 +82,7 @@ if ( ! function_exists( 'wcj_check_single_time' ) ) {
75
  * wcj_check_single_time.
76
  *
77
  * @version 2.8.0
78
- * @version 2.8.0
79
  */
80
  function wcj_check_single_time( $_time, $args ) {
81
  $_time = explode( '-', $_time );
@@ -98,7 +105,7 @@ if ( ! function_exists( 'wcj_check_time' ) ) {
98
  * wcj_check_time.
99
  *
100
  * @version 2.8.0
101
- * @version 2.8.0
102
  */
103
  function wcj_check_time( $_time, $args = array() ) {
104
  if ( empty( $args ) ) {
@@ -801,6 +808,35 @@ if ( ! function_exists( 'wcj_get_products' ) ) {
801
  }
802
  }
803
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  if ( ! function_exists( 'wcj_get_terms' ) ) {
805
  /**
806
  * wcj_get_terms.
2
  /**
3
  * Booster for WooCommerce - Functions
4
  *
5
+ * @version 2.8.2
6
  * @author Algoritmika Ltd.
7
  */
8
 
13
  * wcj_customer_get_country.
14
  *
15
  * @version 2.8.0
16
+ * @since 2.8.0
17
  */
18
  function wcj_customer_get_country() {
19
  return ( WCJ_IS_WC_VERSION_BELOW_3 ? WC()->customer->get_country() : WC()->customer->get_billing_country() );
24
  /**
25
  * wcj_order_get_payment_method.
26
  *
27
+ * @version 2.8.2
28
+ * @since 2.8.0
29
  */
30
  function wcj_order_get_payment_method( $_order ) {
31
+ if ( ! $_order || ! is_object( $_order ) ) {
32
+ return null;
33
+ }
34
+ if ( WCJ_IS_WC_VERSION_BELOW_3 ) {
35
+ return ( isset( $_order->payment_method ) ? $_order->payment_method : null );
36
+ } else {
37
+ return ( method_exists( $_order, 'get_payment_method' ) ? $_order->get_payment_method() : null );
38
+ }
39
  }
40
  }
41
 
44
  * wcj_check_time_from.
45
  *
46
  * @version 2.8.0
47
+ * @since 2.8.0
48
  */
49
  function wcj_check_time_from( $time_from, $args ) {
50
  $time_from = explode( ':', $time_from );
63
  * wcj_check_time_to.
64
  *
65
  * @version 2.8.0
66
+ * @since 2.8.0
67
  */
68
  function wcj_check_time_to( $time_to, $args ) {
69
  $time_to = explode( ':', $time_to );
82
  * wcj_check_single_time.
83
  *
84
  * @version 2.8.0
85
+ * @since 2.8.0
86
  */
87
  function wcj_check_single_time( $_time, $args ) {
88
  $_time = explode( '-', $_time );
105
  * wcj_check_time.
106
  *
107
  * @version 2.8.0
108
+ * @since 2.8.0
109
  */
110
  function wcj_check_time( $_time, $args = array() ) {
111
  if ( empty( $args ) ) {
808
  }
809
  }
810
 
811
+ if ( ! function_exists( 'wcj_product_has_terms' ) ) {
812
+ /**
813
+ * wcj_product_has_terms.
814
+ *
815
+ * @version 2.8.2
816
+ * @version 2.8.2
817
+ */
818
+ function wcj_product_has_terms( $_product, $_values, $_term ) {
819
+ if ( is_string( $_values ) ) {
820
+ $_values = explode( ',', $_values );
821
+ }
822
+ if ( empty( $_values ) ) {
823
+ return false;
824
+ }
825
+ $product_categories = get_the_terms( wcj_get_product_id_or_variation_parent_id( $_product ), $_term );
826
+ if ( empty( $product_categories ) ) {
827
+ return false;
828
+ }
829
+ foreach ( $product_categories as $product_category ) {
830
+ foreach ( $_values as $_value ) {
831
+ if ( $product_category->slug === $_value ) {
832
+ return true;
833
+ }
834
+ }
835
+ }
836
+ return false;
837
+ }
838
+ }
839
+
840
  if ( ! function_exists( 'wcj_get_terms' ) ) {
841
  /**
842
  * wcj_get_terms.
includes/settings/wcj-settings-payment-gateways-fees.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Gateways Fees and Discounts
4
  *
5
- * @version 2.8.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -94,6 +94,14 @@ foreach ( $available_gateways as $key => $gateway ) {
94
  'type' => 'select',
95
  'options' => array_merge( array( __( 'Standard Rate', 'woocommerce-jetpack' ) ), WC_Tax::get_tax_classes() ),
96
  ),
 
 
 
 
 
 
 
 
97
  array(
98
  'type' => 'sectionend',
99
  'id' => 'wcj_gateways_fees_options_' . $key,
2
  /**
3
  * Booster for WooCommerce - Settings - Gateways Fees and Discounts
4
  *
5
+ * @version 2.8.2
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
94
  'type' => 'select',
95
  'options' => array_merge( array( __( 'Standard Rate', 'woocommerce-jetpack' ) ), WC_Tax::get_tax_classes() ),
96
  ),
97
+ array(
98
+ 'title' => __( 'Exclude Shipping when Calculating Total Cart Amount', 'woocommerce-jetpack' ),
99
+ 'desc' => __( 'Exclude', 'woocommerce-jetpack' ),
100
+ 'desc_tip' => __( 'This affects "Percent" type fees and "Minimum/Maximum Cart Amount" options.', 'woocommerce-jetpack' ),
101
+ 'id' => 'wcj_gateways_fees_exclude_shipping_' . $key,
102
+ 'default' => 'no',
103
+ 'type' => 'checkbox',
104
+ ),
105
  array(
106
  'type' => 'sectionend',
107
  'id' => 'wcj_gateways_fees_options_' . $key,
includes/settings/wcj-settings-pdf-invoicing-styling.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings - PDF Invoicing - Styling
4
  *
5
- * @version 2.8.0
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
@@ -41,14 +41,14 @@ foreach ( $invoice_types as $invoice_type ) {
41
  'default' => 'dejavusans',
42
  'type' => 'select',
43
  'options' => array(
44
- 'dejavusans' => 'DejaVu Sans',
45
  'courier' => 'Courier',
46
  'helvetica' => 'Helvetica',
47
  'times' => 'Times',
48
- 'droidsansfallback' => 'Droid Sans Fallback',
49
- 'angsanaupc' => 'AngsanaUPC',
50
- 'cordiaupc' => 'CordiaUPC',
51
- 'thsarabun' => 'THSarabunPSK',
52
  ),
53
  'custom_attributes' => apply_filters( 'booster_get_message', '', 'disabled' ),
54
  ),
2
  /**
3
  * Booster for WooCommerce - Settings - PDF Invoicing - Styling
4
  *
5
+ * @version 2.8.2
6
  * @since 2.8.0
7
  * @author Algoritmika Ltd.
8
  */
41
  'default' => 'dejavusans',
42
  'type' => 'select',
43
  'options' => array(
44
+ 'dejavusans' => 'DejaVu Sans (Unicode)',
45
  'courier' => 'Courier',
46
  'helvetica' => 'Helvetica',
47
  'times' => 'Times',
48
+ 'droidsansfallback' => 'Droid Sans Fallback (Unicode)',
49
+ 'angsanaupc' => 'AngsanaUPC (Unicode)',
50
+ 'cordiaupc' => 'CordiaUPC (Unicode)',
51
+ 'thsarabun' => 'THSarabunPSK (Unicode)',
52
  ),
53
  'custom_attributes' => apply_filters( 'booster_get_message', '', 'disabled' ),
54
  ),
includes/shortcodes/class-wcj-order-items-shortcodes.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Order Items
4
  *
5
- * @version 2.8.0
6
  * @author Algoritmika Ltd.
7
  */
8
 
@@ -27,7 +27,7 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
27
  /**
28
  * add_extra_atts.
29
  *
30
- * @version 2.8.0
31
  */
32
  function add_extra_atts( $atts ) {
33
  $modified_atts = array_merge( array(
@@ -50,8 +50,11 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
50
  'variation_as_metadata' => 'yes',
51
  'wc_extra_product_options_show_price' => 'no',
52
  'order_user_roles' => '',
 
 
53
  'exclude_by_attribute__name' => '',
54
  'exclude_by_attribute__value' => '',
 
55
  ), $atts );
56
  return $modified_atts;
57
  }
@@ -266,7 +269,7 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
266
  /**
267
  * wcj_order_items_table.
268
  *
269
- * @version 2.8.0
270
  */
271
  function wcj_order_items_table( $atts, $content = '' ) {
272
 
@@ -323,6 +326,18 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
323
  foreach ( $the_items as $item_id => $item ) {
324
  $item['is_custom'] = ( isset( $item['is_custom'] ) ) ? true : false; // $item['is_custom'] may be defined only if WCJ_IS_WC_VERSION_BELOW_3
325
  $the_product = ( true === $item['is_custom'] ) ? null : $the_order->get_product_from_item( $item );
 
 
 
 
 
 
 
 
 
 
 
 
326
  // Check if it's not excluded by product attribute
327
  if ( $the_product && '' != $atts['exclude_by_attribute__name'] /* && '' != $atts['exclude_by_attribute__value'] */ ) {
328
  $product_attributes = $the_product->get_attributes();
@@ -384,7 +399,7 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
384
  } else {
385
  $the_item_title = $item['name'];
386
  // Variation (if needed)
387
- if ( isset( $item['variation_id'] ) && 0 != $item['variation_id'] && ! in_array( 'item_variation', $columns ) ) {
388
  $the_item_title .= '<div style="' . $atts['style_item_name_variation'] . '">';
389
  if ( 'yes' === $atts['variation_as_metadata'] ) {
390
  $the_item_title .= wcj_get_order_item_meta_info( $item_id, $item, $this->the_order, true, $the_product );
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Order Items
4
  *
5
+ * @version 2.8.2
6
  * @author Algoritmika Ltd.
7
  */
8
 
27
  /**
28
  * add_extra_atts.
29
  *
30
+ * @version 2.8.2
31
  */
32
  function add_extra_atts( $atts ) {
33
  $modified_atts = array_merge( array(
50
  'variation_as_metadata' => 'yes',
51
  'wc_extra_product_options_show_price' => 'no',
52
  'order_user_roles' => '',
53
+ 'exclude_by_categories' => '',
54
+ 'exclude_by_tags' => '',
55
  'exclude_by_attribute__name' => '',
56
  'exclude_by_attribute__value' => '',
57
+ 'add_variation_info_to_item_name' => 'no',
58
  ), $atts );
59
  return $modified_atts;
60
  }
269
  /**
270
  * wcj_order_items_table.
271
  *
272
+ * @version 2.8.2
273
  */
274
  function wcj_order_items_table( $atts, $content = '' ) {
275
 
326
  foreach ( $the_items as $item_id => $item ) {
327
  $item['is_custom'] = ( isset( $item['is_custom'] ) ) ? true : false; // $item['is_custom'] may be defined only if WCJ_IS_WC_VERSION_BELOW_3
328
  $the_product = ( true === $item['is_custom'] ) ? null : $the_order->get_product_from_item( $item );
329
+ // Check if it's not excluded by category
330
+ if ( '' != $atts['exclude_by_categories'] && $the_product ) {
331
+ if ( wcj_product_has_terms( $the_product, $atts['exclude_by_categories'], 'product_cat' ) ) {
332
+ continue;
333
+ }
334
+ }
335
+ // Check if it's not excluded by tag
336
+ if ( '' != $atts['exclude_by_tags'] && $the_product ) {
337
+ if ( wcj_product_has_terms( $the_product, $atts['exclude_by_tags'], 'product_tag' ) ) {
338
+ continue;
339
+ }
340
+ }
341
  // Check if it's not excluded by product attribute
342
  if ( $the_product && '' != $atts['exclude_by_attribute__name'] /* && '' != $atts['exclude_by_attribute__value'] */ ) {
343
  $product_attributes = $the_product->get_attributes();
399
  } else {
400
  $the_item_title = $item['name'];
401
  // Variation (if needed)
402
+ if ( 'yes' === $atts['add_variation_info_to_item_name'] && isset( $item['variation_id'] ) && 0 != $item['variation_id'] && ! in_array( 'item_variation', $columns ) ) {
403
  $the_item_title .= '<div style="' . $atts['style_item_name_variation'] . '">';
404
  if ( 'yes' === $atts['variation_as_metadata'] ) {
405
  $the_item_title .= wcj_get_order_item_meta_info( $item_id, $item, $this->the_order, true, $the_product );
langs/woocommerce-jetpack.pot CHANGED
@@ -9,10 +9,10 @@
9
  #, fuzzy
10
  msgid ""
11
  msgstr ""
12
- "Project-Id-Version: Booster for WooCommerce 2.8.0\n"
13
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-"
14
  "jetpack\n"
15
- "POT-Creation-Date: 2017-05-19 11:30+0300\n"
16
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
17
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
18
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -22,7 +22,7 @@ msgstr ""
22
  "Content-Transfer-Encoding: 8bit\n"
23
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
24
 
25
- #: woocommerce-jetpack.php:346
26
  #, php-format
27
  msgid ""
28
  "Please upgrade <strong>Booster Plus for WooCommerce</strong> plugin to "
@@ -30,110 +30,110 @@ msgid ""
30
  "download the latest Booster Plus version."
31
  msgstr ""
32
 
33
- #: woocommerce-jetpack.php:366
34
  #, php-format
35
  msgid ""
36
  "If you like <strong>Booster for WooCommerce</strong> please leave us a %s "
37
  "rating. Thank you, we couldn't have done it without you!"
38
  msgstr ""
39
 
40
- #: woocommerce-jetpack.php:382
41
  #: includes/admin/class-wc-settings-jetpack.php:400
42
  msgid "Booster for WooCommerce"
43
  msgstr ""
44
 
45
- #: woocommerce-jetpack.php:383
46
  msgid "Booster Settings"
47
  msgstr ""
48
 
49
- #: woocommerce-jetpack.php:398
50
  #: includes/admin/class-wc-settings-jetpack.php:173
51
  #: includes/admin/class-wc-settings-jetpack.php:335
52
  msgid "Settings"
53
  msgstr ""
54
 
55
- #: woocommerce-jetpack.php:399
56
  msgid "Docs"
57
  msgstr ""
58
 
59
- #: woocommerce-jetpack.php:402
60
  msgid "Unlock all"
61
  msgstr ""
62
 
63
- #: woocommerce-jetpack.php:419
64
  msgid "Install Booster Plus to unlock all features"
65
  msgstr ""
66
 
67
- #: woocommerce-jetpack.php:420
68
  #, php-format
69
  msgid ""
70
  "Some settings fields are locked and you will need %s to modify all locked "
71
  "fields."
72
  msgstr ""
73
 
74
- #: woocommerce-jetpack.php:421
75
  msgid "Buy now"
76
  msgstr ""
77
 
78
- #: woocommerce-jetpack.php:421
79
  msgid "Visit Booster Site"
80
  msgstr ""
81
 
82
- #: woocommerce-jetpack.php:425
83
  msgid ""
84
  "Get <a href=\"https://booster.io/plus/\" target=\"_blank\">Booster Plus</a> "
85
  "to change value."
86
  msgstr ""
87
 
88
- #: woocommerce-jetpack.php:428
89
  #, php-format
90
  msgid ""
91
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to enable \"%s\" "
92
  "option."
93
  msgstr ""
94
 
95
- #: woocommerce-jetpack.php:431
96
  #, php-format
97
  msgid "Get Booster Plus to enable \"%s\" option."
98
  msgstr ""
99
 
100
- #: woocommerce-jetpack.php:434
101
  msgid ""
102
  "Get <a href=\"https://booster.io/plus/\" target=\"_blank\">Booster Plus</a> "
103
  "to change values below."
104
  msgstr ""
105
 
106
- #: woocommerce-jetpack.php:437
107
  msgid ""
108
  "Get <a href=\"https://booster.io/plus/\" target=\"_blank\">Booster Plus</a> "
109
  "to change values above."
110
  msgstr ""
111
 
112
- #: woocommerce-jetpack.php:440
113
  msgid "Get Booster Plus to change value."
114
  msgstr ""
115
 
116
- #: woocommerce-jetpack.php:692
117
  #, php-format
118
  msgid ""
119
  "<strong>Booster for WooCommerce</strong> plugin was successfully updated to "
120
  "version <strong>%s</strong>."
121
  msgstr ""
122
 
123
- #: woocommerce-jetpack.php:709
124
  msgid "Please upload a file to import!"
125
  msgstr ""
126
 
127
- #: woocommerce-jetpack.php:717 woocommerce-jetpack.php:722
128
  msgid "Wrong file format!"
129
  msgstr ""
130
 
131
- #: woocommerce-jetpack.php:729
132
  #, php-format
133
  msgid "%d options successfully imported."
134
  msgstr ""
135
 
136
- #: woocommerce-jetpack.php:794
137
  #, php-format
138
  msgid "%d options successfully deleted."
139
  msgstr ""
@@ -874,7 +874,7 @@ msgstr ""
874
  #: includes/class-wcj-left-to-free-shipping.php:62
875
  #: includes/class-wcj-left-to-free-shipping.php:72
876
  #: includes/class-wcj-left-to-free-shipping.php:82
877
- #: includes/functions/wcj-functions.php:518
878
  #: includes/settings/wcj-settings-left-to-free-shipping.php:33
879
  #: includes/settings/wcj-settings-left-to-free-shipping.php:68
880
  #: includes/settings/wcj-settings-left-to-free-shipping.php:107
@@ -1022,7 +1022,7 @@ msgid "Pending payment"
1022
  msgstr ""
1023
 
1024
  #: includes/class-wcj-order-custom-statuses.php:157
1025
- #: includes/functions/wcj-functions.php:1039
1026
  msgctxt "Order status"
1027
  msgid "Processing"
1028
  msgstr ""
@@ -1033,25 +1033,25 @@ msgid "On hold"
1033
  msgstr ""
1034
 
1035
  #: includes/class-wcj-order-custom-statuses.php:159
1036
- #: includes/functions/wcj-functions.php:1041
1037
  msgctxt "Order status"
1038
  msgid "Completed"
1039
  msgstr ""
1040
 
1041
  #: includes/class-wcj-order-custom-statuses.php:160
1042
- #: includes/functions/wcj-functions.php:1042
1043
  msgctxt "Order status"
1044
  msgid "Cancelled"
1045
  msgstr ""
1046
 
1047
  #: includes/class-wcj-order-custom-statuses.php:161
1048
- #: includes/functions/wcj-functions.php:1043
1049
  msgctxt "Order status"
1050
  msgid "Refunded"
1051
  msgstr ""
1052
 
1053
  #: includes/class-wcj-order-custom-statuses.php:162
1054
- #: includes/functions/wcj-functions.php:1044
1055
  msgctxt "Order status"
1056
  msgid "Failed"
1057
  msgstr ""
@@ -1719,7 +1719,7 @@ msgid "\"Date to\" must be after \"Date from\""
1719
  msgstr ""
1720
 
1721
  #: includes/class-wcj-product-bookings.php:144
1722
- #: includes/class-wcj-product-open-pricing.php:219
1723
  msgid "Read more"
1724
  msgstr ""
1725
 
@@ -1938,7 +1938,7 @@ msgid "Products category"
1938
  msgstr ""
1939
 
1940
  #: includes/class-wcj-product-bulk-price-converter.php:260
1941
- #: includes/shortcodes/class-wcj-products-shortcodes.php:281
1942
  msgid "Any"
1943
  msgstr ""
1944
 
@@ -2189,7 +2189,7 @@ msgstr ""
2189
  msgid "Open Pricing"
2190
  msgstr ""
2191
 
2192
- #: includes/class-wcj-product-open-pricing.php:180
2193
  msgid ""
2194
  "Booster: Free plugin's version is limited to only one open pricing product "
2195
  "enabled at a time. You will need to get <a href=\"http://booster.io/plus/\" "
@@ -2197,22 +2197,22 @@ msgid ""
2197
  "products."
2198
  msgstr ""
2199
 
2200
- #: includes/class-wcj-product-open-pricing.php:275
2201
  #: includes/settings/wcj-settings-product-open-pricing.php:60
2202
  msgid "Price is required!"
2203
  msgstr ""
2204
 
2205
- #: includes/class-wcj-product-open-pricing.php:279
2206
  #: includes/settings/wcj-settings-product-open-pricing.php:67
2207
  msgid "Entered price is too small!"
2208
  msgstr ""
2209
 
2210
- #: includes/class-wcj-product-open-pricing.php:285
2211
  #: includes/settings/wcj-settings-product-open-pricing.php:74
2212
  msgid "Entered price is too big!"
2213
  msgstr ""
2214
 
2215
- #: includes/class-wcj-product-open-pricing.php:342
2216
  #: includes/settings/wcj-settings-product-open-pricing.php:23
2217
  msgid "Name Your Price"
2218
  msgstr ""
@@ -5299,97 +5299,97 @@ msgstr ""
5299
  msgid "TCMB"
5300
  msgstr ""
5301
 
5302
- #: includes/functions/wcj-functions.php:558
5303
  #: includes/settings/wcj-settings-left-to-free-shipping.php:143
5304
  msgid "You have Free delivery"
5305
  msgstr ""
5306
 
5307
- #: includes/functions/wcj-functions.php:579
5308
  msgid "Before cart"
5309
  msgstr ""
5310
 
5311
- #: includes/functions/wcj-functions.php:580
5312
  msgid "Before cart table"
5313
  msgstr ""
5314
 
5315
- #: includes/functions/wcj-functions.php:581
5316
  msgid "Before cart contents"
5317
  msgstr ""
5318
 
5319
- #: includes/functions/wcj-functions.php:582
5320
  msgid "Cart contents"
5321
  msgstr ""
5322
 
5323
- #: includes/functions/wcj-functions.php:583
5324
  msgid "Cart coupon"
5325
  msgstr ""
5326
 
5327
- #: includes/functions/wcj-functions.php:584
5328
  msgid "Cart actions"
5329
  msgstr ""
5330
 
5331
- #: includes/functions/wcj-functions.php:585
5332
  msgid "After cart contents"
5333
  msgstr ""
5334
 
5335
- #: includes/functions/wcj-functions.php:586
5336
  msgid "After cart table"
5337
  msgstr ""
5338
 
5339
- #: includes/functions/wcj-functions.php:587
5340
  msgid "Cart collaterals"
5341
  msgstr ""
5342
 
5343
- #: includes/functions/wcj-functions.php:588
5344
  msgid "After cart"
5345
  msgstr ""
5346
 
5347
- #: includes/functions/wcj-functions.php:590
5348
  msgid "Before cart totals"
5349
  msgstr ""
5350
 
5351
- #: includes/functions/wcj-functions.php:591
5352
  msgid "Cart totals: Before shipping"
5353
  msgstr ""
5354
 
5355
- #: includes/functions/wcj-functions.php:592
5356
  msgid "Cart totals: After shipping"
5357
  msgstr ""
5358
 
5359
- #: includes/functions/wcj-functions.php:593
5360
  msgid "Cart totals: Before order total"
5361
  msgstr ""
5362
 
5363
- #: includes/functions/wcj-functions.php:594
5364
  msgid "Cart totals: After order total"
5365
  msgstr ""
5366
 
5367
- #: includes/functions/wcj-functions.php:595
5368
  msgid "Proceed to checkout"
5369
  msgstr ""
5370
 
5371
- #: includes/functions/wcj-functions.php:596
5372
  msgid "After cart totals"
5373
  msgstr ""
5374
 
5375
- #: includes/functions/wcj-functions.php:598
5376
  msgid "Before shipping calculator"
5377
  msgstr ""
5378
 
5379
- #: includes/functions/wcj-functions.php:599
5380
  msgid "After shipping calculator"
5381
  msgstr ""
5382
 
5383
- #: includes/functions/wcj-functions.php:601
5384
  msgid "If cart is empty"
5385
  msgstr ""
5386
 
5387
- #: includes/functions/wcj-functions.php:1038
5388
  msgctxt "Order status"
5389
  msgid "Pending Payment"
5390
  msgstr ""
5391
 
5392
- #: includes/functions/wcj-functions.php:1040
5393
  msgctxt "Order status"
5394
  msgid "On Hold"
5395
  msgstr ""
@@ -8330,6 +8330,7 @@ msgid "Exclude Shipping from Cart Total"
8330
  msgstr ""
8331
 
8332
  #: includes/settings/wcj-settings-order-min-amount.php:29
 
8333
  msgid "Exclude"
8334
  msgstr ""
8335
 
@@ -8722,6 +8723,16 @@ msgstr ""
8722
  msgid "Standard Rate"
8723
  msgstr ""
8724
 
 
 
 
 
 
 
 
 
 
 
8725
  #: includes/settings/wcj-settings-payment-gateways-icons.php:35
8726
  msgid "Leave blank to set WooCommerce default value"
8727
  msgstr ""
@@ -11899,7 +11910,7 @@ msgstr ""
11899
  msgid "Attribute \"name\" is required!"
11900
  msgstr ""
11901
 
11902
- #: includes/shortcodes/class-wcj-order-items-shortcodes.php:207
11903
  msgid "Standard"
11904
  msgstr ""
11905
 
@@ -11949,12 +11960,12 @@ msgstr ""
11949
  msgid "Edit Product"
11950
  msgstr ""
11951
 
11952
- #: includes/shortcodes/class-wcj-products-shortcodes.php:249
11953
  #, php-format
11954
  msgid "%s ago"
11955
  msgstr ""
11956
 
11957
- #: includes/shortcodes/class-wcj-products-shortcodes.php:265
11958
  msgid "No sales yet."
11959
  msgstr ""
11960
 
9
  #, fuzzy
10
  msgid ""
11
  msgstr ""
12
+ "Project-Id-Version: Booster for WooCommerce 2.8.2\n"
13
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-"
14
  "jetpack\n"
15
+ "POT-Creation-Date: 2017-05-24 11:38+0300\n"
16
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
17
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
18
  "Language-Team: LANGUAGE <LL@li.org>\n"
22
  "Content-Transfer-Encoding: 8bit\n"
23
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
24
 
25
+ #: woocommerce-jetpack.php:347
26
  #, php-format
27
  msgid ""
28
  "Please upgrade <strong>Booster Plus for WooCommerce</strong> plugin to "
30
  "download the latest Booster Plus version."
31
  msgstr ""
32
 
33
+ #: woocommerce-jetpack.php:367
34
  #, php-format
35
  msgid ""
36
  "If you like <strong>Booster for WooCommerce</strong> please leave us a %s "
37
  "rating. Thank you, we couldn't have done it without you!"
38
  msgstr ""
39
 
40
+ #: woocommerce-jetpack.php:383
41
  #: includes/admin/class-wc-settings-jetpack.php:400
42
  msgid "Booster for WooCommerce"
43
  msgstr ""
44
 
45
+ #: woocommerce-jetpack.php:384
46
  msgid "Booster Settings"
47
  msgstr ""
48
 
49
+ #: woocommerce-jetpack.php:399
50
  #: includes/admin/class-wc-settings-jetpack.php:173
51
  #: includes/admin/class-wc-settings-jetpack.php:335
52
  msgid "Settings"
53
  msgstr ""
54
 
55
+ #: woocommerce-jetpack.php:400
56
  msgid "Docs"
57
  msgstr ""
58
 
59
+ #: woocommerce-jetpack.php:403
60
  msgid "Unlock all"
61
  msgstr ""
62
 
63
+ #: woocommerce-jetpack.php:420
64
  msgid "Install Booster Plus to unlock all features"
65
  msgstr ""
66
 
67
+ #: woocommerce-jetpack.php:421
68
  #, php-format
69
  msgid ""
70
  "Some settings fields are locked and you will need %s to modify all locked "
71
  "fields."
72
  msgstr ""
73
 
74
+ #: woocommerce-jetpack.php:422
75
  msgid "Buy now"
76
  msgstr ""
77
 
78
+ #: woocommerce-jetpack.php:422
79
  msgid "Visit Booster Site"
80
  msgstr ""
81
 
82
+ #: woocommerce-jetpack.php:426
83
  msgid ""
84
  "Get <a href=\"https://booster.io/plus/\" target=\"_blank\">Booster Plus</a> "
85
  "to change value."
86
  msgstr ""
87
 
88
+ #: woocommerce-jetpack.php:429
89
  #, php-format
90
  msgid ""
91
  "Get <a href=\"%s\" target=\"_blank\">Booster Plus</a> to enable \"%s\" "
92
  "option."
93
  msgstr ""
94
 
95
+ #: woocommerce-jetpack.php:432
96
  #, php-format
97
  msgid "Get Booster Plus to enable \"%s\" option."
98
  msgstr ""
99
 
100
+ #: woocommerce-jetpack.php:435
101
  msgid ""
102
  "Get <a href=\"https://booster.io/plus/\" target=\"_blank\">Booster Plus</a> "
103
  "to change values below."
104
  msgstr ""
105
 
106
+ #: woocommerce-jetpack.php:438
107
  msgid ""
108
  "Get <a href=\"https://booster.io/plus/\" target=\"_blank\">Booster Plus</a> "
109
  "to change values above."
110
  msgstr ""
111
 
112
+ #: woocommerce-jetpack.php:441
113
  msgid "Get Booster Plus to change value."
114
  msgstr ""
115
 
116
+ #: woocommerce-jetpack.php:693
117
  #, php-format
118
  msgid ""
119
  "<strong>Booster for WooCommerce</strong> plugin was successfully updated to "
120
  "version <strong>%s</strong>."
121
  msgstr ""
122
 
123
+ #: woocommerce-jetpack.php:710
124
  msgid "Please upload a file to import!"
125
  msgstr ""
126
 
127
+ #: woocommerce-jetpack.php:718 woocommerce-jetpack.php:723
128
  msgid "Wrong file format!"
129
  msgstr ""
130
 
131
+ #: woocommerce-jetpack.php:730
132
  #, php-format
133
  msgid "%d options successfully imported."
134
  msgstr ""
135
 
136
+ #: woocommerce-jetpack.php:795
137
  #, php-format
138
  msgid "%d options successfully deleted."
139
  msgstr ""
874
  #: includes/class-wcj-left-to-free-shipping.php:62
875
  #: includes/class-wcj-left-to-free-shipping.php:72
876
  #: includes/class-wcj-left-to-free-shipping.php:82
877
+ #: includes/functions/wcj-functions.php:525
878
  #: includes/settings/wcj-settings-left-to-free-shipping.php:33
879
  #: includes/settings/wcj-settings-left-to-free-shipping.php:68
880
  #: includes/settings/wcj-settings-left-to-free-shipping.php:107
1022
  msgstr ""
1023
 
1024
  #: includes/class-wcj-order-custom-statuses.php:157
1025
+ #: includes/functions/wcj-functions.php:1075
1026
  msgctxt "Order status"
1027
  msgid "Processing"
1028
  msgstr ""
1033
  msgstr ""
1034
 
1035
  #: includes/class-wcj-order-custom-statuses.php:159
1036
+ #: includes/functions/wcj-functions.php:1077
1037
  msgctxt "Order status"
1038
  msgid "Completed"
1039
  msgstr ""
1040
 
1041
  #: includes/class-wcj-order-custom-statuses.php:160
1042
+ #: includes/functions/wcj-functions.php:1078
1043
  msgctxt "Order status"
1044
  msgid "Cancelled"
1045
  msgstr ""
1046
 
1047
  #: includes/class-wcj-order-custom-statuses.php:161
1048
+ #: includes/functions/wcj-functions.php:1079
1049
  msgctxt "Order status"
1050
  msgid "Refunded"
1051
  msgstr ""
1052
 
1053
  #: includes/class-wcj-order-custom-statuses.php:162
1054
+ #: includes/functions/wcj-functions.php:1080
1055
  msgctxt "Order status"
1056
  msgid "Failed"
1057
  msgstr ""
1719
  msgstr ""
1720
 
1721
  #: includes/class-wcj-product-bookings.php:144
1722
+ #: includes/class-wcj-product-open-pricing.php:222
1723
  msgid "Read more"
1724
  msgstr ""
1725
 
1938
  msgstr ""
1939
 
1940
  #: includes/class-wcj-product-bulk-price-converter.php:260
1941
+ #: includes/shortcodes/class-wcj-products-shortcodes.php:292
1942
  msgid "Any"
1943
  msgstr ""
1944
 
2189
  msgid "Open Pricing"
2190
  msgstr ""
2191
 
2192
+ #: includes/class-wcj-product-open-pricing.php:183
2193
  msgid ""
2194
  "Booster: Free plugin's version is limited to only one open pricing product "
2195
  "enabled at a time. You will need to get <a href=\"http://booster.io/plus/\" "
2197
  "products."
2198
  msgstr ""
2199
 
2200
+ #: includes/class-wcj-product-open-pricing.php:278
2201
  #: includes/settings/wcj-settings-product-open-pricing.php:60
2202
  msgid "Price is required!"
2203
  msgstr ""
2204
 
2205
+ #: includes/class-wcj-product-open-pricing.php:282
2206
  #: includes/settings/wcj-settings-product-open-pricing.php:67
2207
  msgid "Entered price is too small!"
2208
  msgstr ""
2209
 
2210
+ #: includes/class-wcj-product-open-pricing.php:288
2211
  #: includes/settings/wcj-settings-product-open-pricing.php:74
2212
  msgid "Entered price is too big!"
2213
  msgstr ""
2214
 
2215
+ #: includes/class-wcj-product-open-pricing.php:345
2216
  #: includes/settings/wcj-settings-product-open-pricing.php:23
2217
  msgid "Name Your Price"
2218
  msgstr ""
5299
  msgid "TCMB"
5300
  msgstr ""
5301
 
5302
+ #: includes/functions/wcj-functions.php:565
5303
  #: includes/settings/wcj-settings-left-to-free-shipping.php:143
5304
  msgid "You have Free delivery"
5305
  msgstr ""
5306
 
5307
+ #: includes/functions/wcj-functions.php:586
5308
  msgid "Before cart"
5309
  msgstr ""
5310
 
5311
+ #: includes/functions/wcj-functions.php:587
5312
  msgid "Before cart table"
5313
  msgstr ""
5314
 
5315
+ #: includes/functions/wcj-functions.php:588
5316
  msgid "Before cart contents"
5317
  msgstr ""
5318
 
5319
+ #: includes/functions/wcj-functions.php:589
5320
  msgid "Cart contents"
5321
  msgstr ""
5322
 
5323
+ #: includes/functions/wcj-functions.php:590
5324
  msgid "Cart coupon"
5325
  msgstr ""
5326
 
5327
+ #: includes/functions/wcj-functions.php:591
5328
  msgid "Cart actions"
5329
  msgstr ""
5330
 
5331
+ #: includes/functions/wcj-functions.php:592
5332
  msgid "After cart contents"
5333
  msgstr ""
5334
 
5335
+ #: includes/functions/wcj-functions.php:593
5336
  msgid "After cart table"
5337
  msgstr ""
5338
 
5339
+ #: includes/functions/wcj-functions.php:594
5340
  msgid "Cart collaterals"
5341
  msgstr ""
5342
 
5343
+ #: includes/functions/wcj-functions.php:595
5344
  msgid "After cart"
5345
  msgstr ""
5346
 
5347
+ #: includes/functions/wcj-functions.php:597
5348
  msgid "Before cart totals"
5349
  msgstr ""
5350
 
5351
+ #: includes/functions/wcj-functions.php:598
5352
  msgid "Cart totals: Before shipping"
5353
  msgstr ""
5354
 
5355
+ #: includes/functions/wcj-functions.php:599
5356
  msgid "Cart totals: After shipping"
5357
  msgstr ""
5358
 
5359
+ #: includes/functions/wcj-functions.php:600
5360
  msgid "Cart totals: Before order total"
5361
  msgstr ""
5362
 
5363
+ #: includes/functions/wcj-functions.php:601
5364
  msgid "Cart totals: After order total"
5365
  msgstr ""
5366
 
5367
+ #: includes/functions/wcj-functions.php:602
5368
  msgid "Proceed to checkout"
5369
  msgstr ""
5370
 
5371
+ #: includes/functions/wcj-functions.php:603
5372
  msgid "After cart totals"
5373
  msgstr ""
5374
 
5375
+ #: includes/functions/wcj-functions.php:605
5376
  msgid "Before shipping calculator"
5377
  msgstr ""
5378
 
5379
+ #: includes/functions/wcj-functions.php:606
5380
  msgid "After shipping calculator"
5381
  msgstr ""
5382
 
5383
+ #: includes/functions/wcj-functions.php:608
5384
  msgid "If cart is empty"
5385
  msgstr ""
5386
 
5387
+ #: includes/functions/wcj-functions.php:1074
5388
  msgctxt "Order status"
5389
  msgid "Pending Payment"
5390
  msgstr ""
5391
 
5392
+ #: includes/functions/wcj-functions.php:1076
5393
  msgctxt "Order status"
5394
  msgid "On Hold"
5395
  msgstr ""
8330
  msgstr ""
8331
 
8332
  #: includes/settings/wcj-settings-order-min-amount.php:29
8333
+ #: includes/settings/wcj-settings-payment-gateways-fees.php:99
8334
  msgid "Exclude"
8335
  msgstr ""
8336
 
8723
  msgid "Standard Rate"
8724
  msgstr ""
8725
 
8726
+ #: includes/settings/wcj-settings-payment-gateways-fees.php:98
8727
+ msgid "Exclude Shipping when Calculating Total Cart Amount"
8728
+ msgstr ""
8729
+
8730
+ #: includes/settings/wcj-settings-payment-gateways-fees.php:100
8731
+ msgid ""
8732
+ "This affects \"Percent\" type fees and \"Minimum/Maximum Cart Amount\" "
8733
+ "options."
8734
+ msgstr ""
8735
+
8736
  #: includes/settings/wcj-settings-payment-gateways-icons.php:35
8737
  msgid "Leave blank to set WooCommerce default value"
8738
  msgstr ""
11910
  msgid "Attribute \"name\" is required!"
11911
  msgstr ""
11912
 
11913
+ #: includes/shortcodes/class-wcj-order-items-shortcodes.php:210
11914
  msgid "Standard"
11915
  msgstr ""
11916
 
11960
  msgid "Edit Product"
11961
  msgstr ""
11962
 
11963
+ #: includes/shortcodes/class-wcj-products-shortcodes.php:260
11964
  #, php-format
11965
  msgid "%s ago"
11966
  msgstr ""
11967
 
11968
+ #: includes/shortcodes/class-wcj-products-shortcodes.php:276
11969
  msgid "No sales yet."
11970
  msgstr ""
11971
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: algoritmika,anbinder
3
  Tags: woocommerce,booster for woocommerce,woocommerce jetpack
4
  Requires at least: 4.4
5
  Tested up to: 4.7
6
- Stable tag: 2.8.1
7
  License: GNU General Public License v3.0
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -157,6 +157,16 @@ You can see the differences between versions in this [table](https://booster.io/
157
 
158
  == Changelog ==
159
 
 
 
 
 
 
 
 
 
 
 
160
  = 2.8.1 - 19/05/2017 =
161
  * Fix - Shortcodes - Orders - `[wcj_order_checkout_field]` - Fixed custom checkout fields value not returning properly.
162
  * Dev - Shortcodes - Products - `[wcj_product_id]` shortcode added.
3
  Tags: woocommerce,booster for woocommerce,woocommerce jetpack
4
  Requires at least: 4.4
5
  Tested up to: 4.7
6
+ Stable tag: 2.8.2
7
  License: GNU General Public License v3.0
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
157
 
158
  == Changelog ==
159
 
160
+ = 2.8.2 - 24/05/2017 =
161
+ * Fix - Functions - `wcj_order_get_payment_method()` - Additional check for order (not null, object and method/property exists) added.
162
+ * Fix - Shortcodes - Orders - `[wcj_order_items_table]` - `add_variation_info_to_item_name` (defaults to `no`) attribute added - this fixes the issue with double variation info.
163
+ * Dev - Shortcodes - Orders - `[wcj_order_items_table]` - `exclude_by_categories` and `exclude_by_tags` attributes added.
164
+ * Fix - PRICES & CURRENCIES - Price by User Role - `get_variation_prices_hash()` - Additional check for categories option not empty added.
165
+ * Fix - PRICES & CURRENCIES - Product Open Pricing (Name Your Price) - Display Product Price Info in Archives - Displaying info for not open pricing products fixed.
166
+ * Dev - PAYMENT GATEWAYS - Gateways Fees and Discounts - "Exclude Shipping when Calculating Total Cart Amount" option added.
167
+ * Tweak - Checking for required Plus version message updated.
168
+ * Tweak - PDF INVOICING & PACKING SLIPS - Styling - "Unicode" added to unicode fonts descriptions.
169
+
170
  = 2.8.1 - 19/05/2017 =
171
  * Fix - Shortcodes - Orders - `[wcj_order_checkout_field]` - Fixed custom checkout fields value not returning properly.
172
  * Dev - Shortcodes - Products - `[wcj_product_id]` shortcode added.
woocommerce-jetpack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Booster for WooCommerce
4
  Plugin URI: https://booster.io
5
  Description: Supercharge your WooCommerce site with these awesome powerful features.
6
- Version: 2.8.1
7
  Author: Algoritmika Ltd
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
@@ -45,7 +45,7 @@ if ( ! class_exists( 'WC_Jetpack' ) ) :
45
  * Main WC_Jetpack Class
46
  *
47
  * @class WC_Jetpack
48
- * @version 2.8.0
49
  */
50
  final class WC_Jetpack {
51
 
@@ -55,7 +55,7 @@ final class WC_Jetpack {
55
  * @var string
56
  * @since 2.4.7
57
  */
58
- public $version = '2.8.1';
59
 
60
  /**
61
  * @var WC_Jetpack The single instance of the class
@@ -72,8 +72,9 @@ final class WC_Jetpack {
72
  * @return WC_Jetpack - Main instance
73
  */
74
  public static function instance() {
75
- if ( is_null( self::$_instance ) )
76
  self::$_instance = new self();
 
77
  return self::$_instance;
78
  }
79
 
@@ -316,7 +317,7 @@ final class WC_Jetpack {
316
  /**
317
  * check_plus_version.
318
  *
319
- * @version 2.5.9
320
  * @since 2.5.9
321
  */
322
  function check_plus_version() {
@@ -331,7 +332,7 @@ final class WC_Jetpack {
331
  }
332
  foreach ( $active_plugins as $active_plugin ) {
333
  $active_plugin = explode( '/', $active_plugin );
334
- if ( isset( $active_plugin[1] ) && 'woocommerce-jetpack-plus.php' === $active_plugin[1] ) {
335
  $is_plus_active = true;
336
  break;
337
  }
@@ -340,7 +341,7 @@ final class WC_Jetpack {
340
  if ( $is_plus_active ) {
341
  $plus_version = get_option( 'booster_plus_version', false );
342
  $required_plus_version = '1.1.0';
343
- if ( 0 != version_compare( $plus_version, $required_plus_version ) ) {
344
  $class = 'notice notice-error';
345
  $message = sprintf(
346
  __( 'Please upgrade <strong>Booster Plus for WooCommerce</strong> plugin to version %s. Please visit <a href="%s">your account</a> on booster.io to download the latest Booster Plus version.', 'woocommerce-jetpack' ),
3
  Plugin Name: Booster for WooCommerce
4
  Plugin URI: https://booster.io
5
  Description: Supercharge your WooCommerce site with these awesome powerful features.
6
+ Version: 2.8.2
7
  Author: Algoritmika Ltd
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
45
  * Main WC_Jetpack Class
46
  *
47
  * @class WC_Jetpack
48
+ * @version 2.8.2
49
  */
50
  final class WC_Jetpack {
51
 
55
  * @var string
56
  * @since 2.4.7
57
  */
58
+ public $version = '2.8.2';
59
 
60
  /**
61
  * @var WC_Jetpack The single instance of the class
72
  * @return WC_Jetpack - Main instance
73
  */
74
  public static function instance() {
75
+ if ( is_null( self::$_instance ) ) {
76
  self::$_instance = new self();
77
+ }
78
  return self::$_instance;
79
  }
80
 
317
  /**
318
  * check_plus_version.
319
  *
320
+ * @version 2.8.2
321
  * @since 2.5.9
322
  */
323
  function check_plus_version() {
332
  }
333
  foreach ( $active_plugins as $active_plugin ) {
334
  $active_plugin = explode( '/', $active_plugin );
335
+ if ( isset( $active_plugin[1] ) && ( 'woocommerce-jetpack-plus.php' === $active_plugin[1] || 'woocommerce-booster-plus.php' === $active_plugin[1] ) ) {
336
  $is_plus_active = true;
337
  break;
338
  }
341
  if ( $is_plus_active ) {
342
  $plus_version = get_option( 'booster_plus_version', false );
343
  $required_plus_version = '1.1.0';
344
+ if ( version_compare( $plus_version, $required_plus_version, '<' ) ) {
345
  $class = 'notice notice-error';
346
  $message = sprintf(
347
  __( 'Please upgrade <strong>Booster Plus for WooCommerce</strong> plugin to version %s. Please visit <a href="%s">your account</a> on booster.io to download the latest Booster Plus version.', 'woocommerce-jetpack' ),