Booster for WooCommerce - Version 5.4.7

Version Description

29/09/2021 =

  • Feature - PRICES & CURRENCIES - Product Price by Formula - Added Compatibility with WoocommerceBooking plugin.
  • Fix - CART & CHECKOUT - Checkout Custom Fields - Fixed PHP warning array_key() expects parameter 1.
  • Fix - CART & CHECKOUT - Checkout Core Fields - Fixed Error Uncaught TypeError: Cannot read property '0' of undefined.
  • WooCommerce 5.7.1 tested
  • WordPress 5.8.1 tested
Download this release

Release Info

Developer ronyp
Plugin Icon 128x128 Booster for WooCommerce
Version 5.4.7
Comparing to
See all releases

Code changes from version 5.4.6 to 5.4.7

includes/class-wcj-checkout-custom-fields.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Module - Checkout Custom Fields
4
  *
5
- * @version 5.4.5
6
  * @author Pluggabl LLC.
7
  */
8
 
@@ -282,7 +282,7 @@ class WCJ_Checkout_Custom_Fields extends WCJ_Module {
282
  /**
283
  * add_custom_fields_to_order_display.
284
  *
285
- * @version 5.4.5
286
  * @since 2.3.0
287
  * @todo convert from before version 2.3.0
288
  */
@@ -353,7 +353,7 @@ class WCJ_Checkout_Custom_Fields extends WCJ_Module {
353
  'field' => '',
354
  'after' => '',
355
  );
356
- $final_output .= str_replace( array_keys( $replaced_values ), $replaced_values, $templates['field'] );
357
  }
358
  }
359
  }
2
  /**
3
  * Booster for WooCommerce - Module - Checkout Custom Fields
4
  *
5
+ * @version 5.4.7
6
  * @author Pluggabl LLC.
7
  */
8
 
282
  /**
283
  * add_custom_fields_to_order_display.
284
  *
285
+ * @version 5.4.7
286
  * @since 2.3.0
287
  * @todo convert from before version 2.3.0
288
  */
353
  'field' => '',
354
  'after' => '',
355
  );
356
+ $final_output .= str_replace( array_keys( $templates ), $templates, $templates['field'] );
357
  }
358
  }
359
  }
includes/class-wcj-emails-verification.php CHANGED
File without changes
includes/class-wcj-product-price-by-formula.php CHANGED
@@ -2,8 +2,8 @@
2
  /**
3
  * Booster for WooCommerce - Module - Product Price by Formula
4
  *
5
- * @version 5.3.0
6
- * @since 2.5.0
7
  * @author Pluggabl LLC.
8
  */
9
 
@@ -16,8 +16,8 @@ class WCJ_Product_Price_by_Formula extends WCJ_Module {
16
  /**
17
  * Constructor.
18
  *
19
- * @version 4.1.0
20
- * @since 2.5.0
21
  * @todo use WC math library instead of `PHPMathParser`
22
  */
23
  function __construct() {
@@ -46,11 +46,92 @@ class WCJ_Product_Price_by_Formula extends WCJ_Module {
46
  add_filter( 'wcj_save_meta_box_value', array( $this, 'save_meta_box_value' ), PHP_INT_MAX, 3 );
47
  add_action( 'admin_notices', array( $this, 'admin_notices' ) );
48
 
 
 
 
 
 
 
 
49
  $this->rounding = wcj_get_option( 'wcj_product_price_by_formula_rounding', 'no_rounding' );
50
  $this->rounding_precision = wcj_get_option( 'wcj_product_price_by_formula_rounding_precision', 0 );
51
  }
52
  }
53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  /**
55
  * add_reset_settings_button.
56
  *
2
  /**
3
  * Booster for WooCommerce - Module - Product Price by Formula
4
  *
5
+ * @version 5.4.7
6
+ * @since 2.5.1
7
  * @author Pluggabl LLC.
8
  */
9
 
16
  /**
17
  * Constructor.
18
  *
19
+ * @version 5.4.7
20
+ * @since 2.5.1
21
  * @todo use WC math library instead of `PHPMathParser`
22
  */
23
  function __construct() {
46
  add_filter( 'wcj_save_meta_box_value', array( $this, 'save_meta_box_value' ), PHP_INT_MAX, 3 );
47
  add_action( 'admin_notices', array( $this, 'admin_notices' ) );
48
 
49
+ if('yes'===wcj_get_option('wcj_product_price_by_formula_woo_booking_plugin' ,'no')){
50
+ add_filter('woocommerce_bookings_calculated_booking_cost_success_output',array($this,'booking_price_change'),PHP_INT_MAX,10,3);
51
+ }
52
+
53
+ if('yes'===wcj_get_option('wcj_product_price_by_formula_woo_booking_promotional','no')) {
54
+ add_filter('woocommerce_get_price_html',array($this,'promotional_price_showing'),PHP_INT_MAX,10,2);
55
+ }
56
  $this->rounding = wcj_get_option( 'wcj_product_price_by_formula_rounding', 'no_rounding' );
57
  $this->rounding_precision = wcj_get_option( 'wcj_product_price_by_formula_rounding_precision', 0 );
58
  }
59
  }
60
 
61
+ /**
62
+ * booking_price_change.
63
+ *
64
+ * @version 5.4.7
65
+ * @since 5.4.7
66
+ */
67
+ function booking_price_change($output, $display_price, $_product) {
68
+ if ( $this->is_price_by_formula_product( $_product ) && '' != $display_price ) {
69
+ $_product_id = wcj_get_product_id_or_variation_parent_id( $_product );
70
+ $saved_price = $this->get_saved_price( $_product_id );
71
+ if ( false !== $saved_price ) {
72
+ return $saved_price;
73
+ }
74
+ $is_per_product = ( 'per_product' === get_post_meta( $_product_id, '_' . 'wcj_product_price_by_formula_calculation', true ) );
75
+ $the_formula = ( $is_per_product )
76
+ ? get_post_meta( $_product_id, '_' . 'wcj_product_price_by_formula_eval', true )
77
+ : wcj_get_option( 'wcj_product_price_by_formula_eval', '' );
78
+ $the_formula = do_shortcode( $the_formula );
79
+ if ( '' != $the_formula ) {
80
+ $total_params = ( $is_per_product )
81
+ ? get_post_meta( $_product_id, '_' . 'wcj_product_price_by_formula_total_params', true )
82
+ : wcj_get_option( 'wcj_product_price_by_formula_total_params', 1 );
83
+ if ( $total_params > 0 ) {
84
+ $the_current_filter = current_filter();
85
+ if ( 'woocommerce_get_price_including_tax' == $the_current_filter || 'woocommerce_get_price_excluding_tax' == $the_current_filter ) {
86
+ $display_price = wcj_get_product_display_price( $_product );
87
+ $this->save_price( $_product_id, $display_price );
88
+ return $display_price;
89
+ }
90
+ $math = new WCJ_Math();
91
+ $math->registerVariable( 'x', $display_price );
92
+ for ( $i = 1; $i <= $total_params; $i++ ) {
93
+ $the_param = ( $is_per_product )
94
+ ? get_post_meta( $_product_id, '_' . 'wcj_product_price_by_formula_param_' . $i, true )
95
+ : wcj_get_option( 'wcj_product_price_by_formula_param_' . $i, '' );
96
+ $the_param = $this->add_product_id_param( $the_param, $_product );
97
+ $the_param = do_shortcode( $the_param );
98
+ if ( '' != $the_param ) {
99
+ $math->registerVariable( 'p' . $i, $the_param );
100
+ }
101
+ }
102
+ $the_formula = str_replace( 'x', '$x', $the_formula );
103
+ $the_formula = str_replace( 'p', '$p', $the_formula );
104
+ try {
105
+ $display_price = $math->evaluate( $the_formula );
106
+ } catch ( Exception $e ) {
107
+ if ( $output_errors ) {
108
+ echo '<p style="color:red;">' . __( 'Error in formula', 'woocommerce-jetpack' ) . ': ' . $e->getMessage() . '</p>';
109
+ }
110
+ }
111
+ if ( 'no_rounding' != $this->rounding ) {
112
+ $display_price = wcj_round( $display_price, $this->rounding_precision, $this->rounding );
113
+ }
114
+ $this->save_price( $_product_id, $display_price );
115
+ }
116
+ }
117
+ }
118
+
119
+ $output = apply_filters( 'woocommerce_bookings_booking_cost_string', __( 'Booking cost', 'woocommerce-jetpack' ), $_product ) . ': <strong>' . wc_price( $display_price ) . $price_suffix . '</strong>';
120
+ return $output;
121
+ }
122
+
123
+ /**
124
+ * promotional_price_showing.
125
+ *
126
+ * @version 5.4.7
127
+ * @since 5.4.7
128
+ */
129
+ function promotional_price_showing($price, $_product){
130
+ $price_html=$_product->get_price();
131
+ $price_html = sprintf( __( 'From: %s', 'woocommerce-jetpack' ), wc_price( $price_html ) );
132
+ return $price_html;
133
+ }
134
+
135
  /**
136
  * add_reset_settings_button.
137
  *
includes/js/wcj-checkout-core-fields.js CHANGED
@@ -1,8 +1,8 @@
1
  /**
2
  * wcj-checkout-core-fields.
3
  *
4
- * @version 5.3.7
5
- * @since 5.3.7
6
  */
7
 
8
  jQuery(document).ready(function () {
@@ -21,7 +21,10 @@ jQuery(document).ready(function () {
21
 
22
  jQuery("p#" + field + '_field').each(function () {
23
  jQuery(this).removeClass("form-row-wide");
24
- jQuery(this).addClass(wcj_checkout_core_field.class[0]);
 
 
 
25
  });
26
  });
27
  });
1
  /**
2
  * wcj-checkout-core-fields.
3
  *
4
+ * @version 5.4.7
5
+ * @since 5.4.7
6
  */
7
 
8
  jQuery(document).ready(function () {
21
 
22
  jQuery("p#" + field + '_field').each(function () {
23
  jQuery(this).removeClass("form-row-wide");
24
+ if (wcj_checkout_core_field.class == null){
25
+ }else{
26
+ jQuery(this).addClass(wcj_checkout_core_field.class[0]);
27
+ }
28
  });
29
  });
30
  });
includes/settings/wcj-settings-product-price-by-formula.php CHANGED
@@ -2,8 +2,8 @@
2
  /**
3
  * Booster for WooCommerce - Settings - Product Price by Formula
4
  *
5
- * @version 5.4.0
6
- * @since 2.8.0
7
  * @author Pluggabl LLC.
8
  */
9
 
@@ -79,6 +79,23 @@ $settings = array_merge( $settings, array(
79
  'default' => 0,
80
  'custom_attributes' => array( 'min' => 0 ),
81
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  array(
83
  'title' => __( 'Disable Admin Scope', 'woocommerce-jetpack' ),
84
  'desc' => __( 'Disable module on Admin scope.', 'woocommerce-jetpack' ),
2
  /**
3
  * Booster for WooCommerce - Settings - Product Price by Formula
4
  *
5
+ * @version 5.4.7
6
+ * @since 2.8.1
7
  * @author Pluggabl LLC.
8
  */
9
 
79
  'default' => 0,
80
  'custom_attributes' => array( 'min' => 0 ),
81
  ),
82
+ array(
83
+ 'title' => __( 'Compatible With Woococommerce Booking Plugin', 'woocommerce-jetpack' ),
84
+ 'desc' => __( 'Enable on Woocommerce Booking Module', 'woocommerce-jetpack' ),
85
+ 'desc_tip' => __( "If you are facing pricing issue after enable Woocommerce Booking plugin please enable the section", 'woocommerce-jetpack' ) . '<br />',
86
+ 'type' => 'checkbox',
87
+ 'id' => 'wcj_product_price_by_formula_woo_booking_plugin',
88
+ 'default' => 'no',
89
+ ),
90
+
91
+ array(
92
+ 'title' => __( 'Promotional pricing issue', 'woocommerce-jetpack' ),
93
+ 'desc' => __( 'Enable', 'woocommerce-jetpack' ),
94
+ 'desc_tip' => __( "If you are facing promotional pricing issue in booking product then enable the section", 'woocommerce-jetpack' ) . '<br />',
95
+ 'type' => 'checkbox',
96
+ 'id' => 'wcj_product_price_by_formula_woo_booking_promotional',
97
+ 'default' => 'no',
98
+ ),
99
  array(
100
  'title' => __( 'Disable Admin Scope', 'woocommerce-jetpack' ),
101
  'desc' => __( 'Disable module on Admin scope.', 'woocommerce-jetpack' ),
langs/woocommerce-jetpack.pot CHANGED
@@ -3387,7 +3387,7 @@ msgstr ""
3387
  #: includes/class-wcj-product-by-country.php:190
3388
  #: includes/class-wcj-product-by-user-role.php:55
3389
  #: includes/class-wcj-product-info.php:235
3390
- #: includes/class-wcj-product-price-by-formula.php:71
3391
  #: includes/class-wcj-shipping-by-products.php:196
3392
  #: includes/class-wcj-shipping-options.php:171
3393
  #: includes/classes/class-wcj-module.php:159
@@ -3598,7 +3598,8 @@ msgstr ""
3598
  #: includes/settings/wcj-settings-product-open-pricing.php:110
3599
  #: includes/settings/wcj-settings-product-open-pricing.php:141
3600
  #: includes/settings/wcj-settings-product-price-by-formula.php:30
3601
- #: includes/settings/wcj-settings-product-price-by-formula.php:119
 
3602
  #: includes/settings/wcj-settings-product-tabs.php:43
3603
  #: includes/settings/wcj-settings-product-tabs.php:233
3604
  #: includes/settings/wcj-settings-product-tabs.php:241
@@ -4654,27 +4655,37 @@ msgstr ""
4654
  msgid "Set formula for automatic product price calculation."
4655
  msgstr ""
4656
 
4657
- #: includes/class-wcj-product-price-by-formula.php:70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4658
  msgid "Reset products"
4659
  msgstr ""
4660
 
4661
- #: includes/class-wcj-product-price-by-formula.php:76
4662
  msgid ""
4663
  "If enabled will also reset formula related settings on products when "
4664
  "<code>Reset Settings</code> button is pressed."
4665
  msgstr ""
4666
 
4667
- #: includes/class-wcj-product-price-by-formula.php:76
4668
  msgid ""
4669
  "It's necessary to <code>Save changes</code> first with the option enabled so "
4670
  "the <code>Reset settings</code> can be pressed."
4671
  msgstr ""
4672
 
4673
- #: includes/class-wcj-product-price-by-formula.php:246
4674
- msgid "Error in formula"
4675
- msgstr ""
4676
-
4677
- #: includes/class-wcj-product-price-by-formula.php:339
4678
  msgid ""
4679
  "Booster: Free plugin's version is limited to only one price by formula "
4680
  "product enabled at a time. You will need to get <a href=\"https://booster.io/"
@@ -4682,7 +4693,7 @@ msgid ""
4682
  "by formula products."
4683
  msgstr ""
4684
 
4685
- #: includes/class-wcj-product-price-by-formula.php:373
4686
  msgid "Final Price Preview"
4687
  msgstr ""
4688
 
@@ -13089,7 +13100,7 @@ msgid ""
13089
  msgstr ""
13090
 
13091
  #: includes/settings/wcj-settings-global-discount.php:180
13092
- #: includes/settings/wcj-settings-product-price-by-formula.php:105
13093
  msgid "Advanced Settings"
13094
  msgstr ""
13095
 
@@ -13119,7 +13130,7 @@ msgstr ""
13119
  #: includes/settings/wcj-settings-price-by-country.php:237
13120
  #: includes/settings/wcj-settings-price-by-user-role.php:111
13121
  #: includes/settings/wcj-settings-product-addons.php:258
13122
- #: includes/settings/wcj-settings-product-price-by-formula.php:110
13123
  msgid "Price Filters Priority"
13124
  msgstr ""
13125
 
@@ -13129,7 +13140,7 @@ msgstr ""
13129
  #: includes/settings/wcj-settings-price-by-country.php:238
13130
  #: includes/settings/wcj-settings-price-by-user-role.php:112
13131
  #: includes/settings/wcj-settings-product-addons.php:259
13132
- #: includes/settings/wcj-settings-product-price-by-formula.php:111
13133
  #: includes/settings/wcj-settings-wholesale-price.php:143
13134
  msgid ""
13135
  "Priority for all module's price filters. If you face pricing issues while "
@@ -13354,7 +13365,7 @@ msgstr ""
13354
  #: includes/settings/wcj-settings-multicurrency-base-price.php:68
13355
  #: includes/settings/wcj-settings-multicurrency.php:281
13356
  #: includes/settings/wcj-settings-price-by-country.php:265
13357
- #: includes/settings/wcj-settings-product-price-by-formula.php:117
13358
  msgid "Save Calculated Products Prices"
13359
  msgstr ""
13360
 
@@ -13668,7 +13679,7 @@ msgstr ""
13668
 
13669
  #: includes/settings/wcj-settings-multicurrency.php:282
13670
  #: includes/settings/wcj-settings-price-by-country.php:266
13671
- #: includes/settings/wcj-settings-product-price-by-formula.php:118
13672
  msgid ""
13673
  "This may help if you are experiencing compatibility issues with other plugins."
13674
  msgstr ""
@@ -16045,12 +16056,12 @@ msgid "Disable Price by Country for Bots"
16045
  msgstr ""
16046
 
16047
  #: includes/settings/wcj-settings-price-by-country.php:174
16048
- #: includes/settings/wcj-settings-product-price-by-formula.php:91
16049
  msgid "Disable Quick Edit Product For Admin Scope"
16050
  msgstr ""
16051
 
16052
  #: includes/settings/wcj-settings-price-by-country.php:175
16053
- #: includes/settings/wcj-settings-product-price-by-formula.php:92
16054
  msgid "Disable For Admin Quick Edit Scope."
16055
  msgstr ""
16056
 
@@ -16059,7 +16070,7 @@ msgid "Disable module on Edit Product For Admin scope."
16059
  msgstr ""
16060
 
16061
  #: includes/settings/wcj-settings-price-by-country.php:176
16062
- #: includes/settings/wcj-settings-product-price-by-formula.php:93
16063
  msgid ""
16064
  "For example if you use Quick Edit Product and donot want change the deafult "
16065
  "price then the box ticked"
@@ -18106,25 +18117,49 @@ msgid "No rounding (disabled)"
18106
  msgstr ""
18107
 
18108
  #: includes/settings/wcj-settings-product-price-by-formula.php:83
18109
- msgid "Disable Admin Scope"
18110
  msgstr ""
18111
 
18112
  #: includes/settings/wcj-settings-product-price-by-formula.php:84
18113
- msgid "Disable module on Admin scope."
18114
  msgstr ""
18115
 
18116
  #: includes/settings/wcj-settings-product-price-by-formula.php:85
18117
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18118
  "Disable if you want to use ‘Product Price by Formula’ module only on Frontend."
18119
  msgstr ""
18120
 
18121
- #: includes/settings/wcj-settings-product-price-by-formula.php:85
18122
  msgid ""
18123
  "For example if you use ‘Cost of Goods’ module the profit will be correctly "
18124
  "calculated if you leave the box unticked"
18125
  msgstr ""
18126
 
18127
- #: includes/settings/wcj-settings-product-price-by-formula.php:93
18128
  msgid ""
18129
  "Disable if you are facing any compatibility issue in product quick/bulk edit. "
18130
  msgstr ""
3387
  #: includes/class-wcj-product-by-country.php:190
3388
  #: includes/class-wcj-product-by-user-role.php:55
3389
  #: includes/class-wcj-product-info.php:235
3390
+ #: includes/class-wcj-product-price-by-formula.php:152
3391
  #: includes/class-wcj-shipping-by-products.php:196
3392
  #: includes/class-wcj-shipping-options.php:171
3393
  #: includes/classes/class-wcj-module.php:159
3598
  #: includes/settings/wcj-settings-product-open-pricing.php:110
3599
  #: includes/settings/wcj-settings-product-open-pricing.php:141
3600
  #: includes/settings/wcj-settings-product-price-by-formula.php:30
3601
+ #: includes/settings/wcj-settings-product-price-by-formula.php:93
3602
+ #: includes/settings/wcj-settings-product-price-by-formula.php:136
3603
  #: includes/settings/wcj-settings-product-tabs.php:43
3604
  #: includes/settings/wcj-settings-product-tabs.php:233
3605
  #: includes/settings/wcj-settings-product-tabs.php:241
4655
  msgid "Set formula for automatic product price calculation."
4656
  msgstr ""
4657
 
4658
+ #: includes/class-wcj-product-price-by-formula.php:108
4659
+ #: includes/class-wcj-product-price-by-formula.php:327
4660
+ msgid "Error in formula"
4661
+ msgstr ""
4662
+
4663
+ #: includes/class-wcj-product-price-by-formula.php:119
4664
+ msgid "Booking cost"
4665
+ msgstr ""
4666
+
4667
+ #: includes/class-wcj-product-price-by-formula.php:131
4668
+ #, php-format
4669
+ msgid "From: %s"
4670
+ msgstr ""
4671
+
4672
+ #: includes/class-wcj-product-price-by-formula.php:151
4673
  msgid "Reset products"
4674
  msgstr ""
4675
 
4676
+ #: includes/class-wcj-product-price-by-formula.php:157
4677
  msgid ""
4678
  "If enabled will also reset formula related settings on products when "
4679
  "<code>Reset Settings</code> button is pressed."
4680
  msgstr ""
4681
 
4682
+ #: includes/class-wcj-product-price-by-formula.php:157
4683
  msgid ""
4684
  "It's necessary to <code>Save changes</code> first with the option enabled so "
4685
  "the <code>Reset settings</code> can be pressed."
4686
  msgstr ""
4687
 
4688
+ #: includes/class-wcj-product-price-by-formula.php:420
 
 
 
 
4689
  msgid ""
4690
  "Booster: Free plugin's version is limited to only one price by formula "
4691
  "product enabled at a time. You will need to get <a href=\"https://booster.io/"
4693
  "by formula products."
4694
  msgstr ""
4695
 
4696
+ #: includes/class-wcj-product-price-by-formula.php:454
4697
  msgid "Final Price Preview"
4698
  msgstr ""
4699
 
13100
  msgstr ""
13101
 
13102
  #: includes/settings/wcj-settings-global-discount.php:180
13103
+ #: includes/settings/wcj-settings-product-price-by-formula.php:122
13104
  msgid "Advanced Settings"
13105
  msgstr ""
13106
 
13130
  #: includes/settings/wcj-settings-price-by-country.php:237
13131
  #: includes/settings/wcj-settings-price-by-user-role.php:111
13132
  #: includes/settings/wcj-settings-product-addons.php:258
13133
+ #: includes/settings/wcj-settings-product-price-by-formula.php:127
13134
  msgid "Price Filters Priority"
13135
  msgstr ""
13136
 
13140
  #: includes/settings/wcj-settings-price-by-country.php:238
13141
  #: includes/settings/wcj-settings-price-by-user-role.php:112
13142
  #: includes/settings/wcj-settings-product-addons.php:259
13143
+ #: includes/settings/wcj-settings-product-price-by-formula.php:128
13144
  #: includes/settings/wcj-settings-wholesale-price.php:143
13145
  msgid ""
13146
  "Priority for all module's price filters. If you face pricing issues while "
13365
  #: includes/settings/wcj-settings-multicurrency-base-price.php:68
13366
  #: includes/settings/wcj-settings-multicurrency.php:281
13367
  #: includes/settings/wcj-settings-price-by-country.php:265
13368
+ #: includes/settings/wcj-settings-product-price-by-formula.php:134
13369
  msgid "Save Calculated Products Prices"
13370
  msgstr ""
13371
 
13679
 
13680
  #: includes/settings/wcj-settings-multicurrency.php:282
13681
  #: includes/settings/wcj-settings-price-by-country.php:266
13682
+ #: includes/settings/wcj-settings-product-price-by-formula.php:135
13683
  msgid ""
13684
  "This may help if you are experiencing compatibility issues with other plugins."
13685
  msgstr ""
16056
  msgstr ""
16057
 
16058
  #: includes/settings/wcj-settings-price-by-country.php:174
16059
+ #: includes/settings/wcj-settings-product-price-by-formula.php:108
16060
  msgid "Disable Quick Edit Product For Admin Scope"
16061
  msgstr ""
16062
 
16063
  #: includes/settings/wcj-settings-price-by-country.php:175
16064
+ #: includes/settings/wcj-settings-product-price-by-formula.php:109
16065
  msgid "Disable For Admin Quick Edit Scope."
16066
  msgstr ""
16067
 
16070
  msgstr ""
16071
 
16072
  #: includes/settings/wcj-settings-price-by-country.php:176
16073
+ #: includes/settings/wcj-settings-product-price-by-formula.php:110
16074
  msgid ""
16075
  "For example if you use Quick Edit Product and donot want change the deafult "
16076
  "price then the box ticked"
18117
  msgstr ""
18118
 
18119
  #: includes/settings/wcj-settings-product-price-by-formula.php:83
18120
+ msgid "Compatible With Woococommerce Booking Plugin"
18121
  msgstr ""
18122
 
18123
  #: includes/settings/wcj-settings-product-price-by-formula.php:84
18124
+ msgid "Enable on Woocommerce Booking Module"
18125
  msgstr ""
18126
 
18127
  #: includes/settings/wcj-settings-product-price-by-formula.php:85
18128
  msgid ""
18129
+ "If you are facing pricing issue after enable Woocommerce Booking plugin "
18130
+ "please enable the section"
18131
+ msgstr ""
18132
+
18133
+ #: includes/settings/wcj-settings-product-price-by-formula.php:92
18134
+ msgid "Promotional pricing issue"
18135
+ msgstr ""
18136
+
18137
+ #: includes/settings/wcj-settings-product-price-by-formula.php:94
18138
+ msgid ""
18139
+ "If you are facing promotional pricing issue in booking product then enable "
18140
+ "the section"
18141
+ msgstr ""
18142
+
18143
+ #: includes/settings/wcj-settings-product-price-by-formula.php:100
18144
+ msgid "Disable Admin Scope"
18145
+ msgstr ""
18146
+
18147
+ #: includes/settings/wcj-settings-product-price-by-formula.php:101
18148
+ msgid "Disable module on Admin scope."
18149
+ msgstr ""
18150
+
18151
+ #: includes/settings/wcj-settings-product-price-by-formula.php:102
18152
+ msgid ""
18153
  "Disable if you want to use ‘Product Price by Formula’ module only on Frontend."
18154
  msgstr ""
18155
 
18156
+ #: includes/settings/wcj-settings-product-price-by-formula.php:102
18157
  msgid ""
18158
  "For example if you use ‘Cost of Goods’ module the profit will be correctly "
18159
  "calculated if you leave the box unticked"
18160
  msgstr ""
18161
 
18162
+ #: includes/settings/wcj-settings-product-price-by-formula.php:110
18163
  msgid ""
18164
  "Disable if you are facing any compatibility issue in product quick/bulk edit. "
18165
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce customization, woocommerce bundle, woocommerce product addon,
4
  Requires at least: 4.4
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
- Stable tag: 5.4.6
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -265,6 +265,14 @@ To unlock all Booster for WooCommerce features, please install additional [Boost
265
 
266
  == Changelog ==
267
 
 
 
 
 
 
 
 
 
268
  = 5.4.6 27/08/2021 =
269
 
270
  * Fix - SHIPPING & ORDERS - Order Numbers - Fixed order number sequential bug for a new order for different PHP versions.
4
  Requires at least: 4.4
5
  Tested up to: 5.8
6
  Requires PHP: 5.6
7
+ Stable tag: 5.4.7
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
265
 
266
  == Changelog ==
267
 
268
+ = 5.4.7 29/09/2021 =
269
+
270
+ * Feature - PRICES & CURRENCIES - Product Price by Formula - Added Compatibility with WoocommerceBooking plugin.
271
+ * Fix - CART & CHECKOUT - Checkout Custom Fields - Fixed PHP warning array_key() expects parameter 1.
272
+ * Fix - CART & CHECKOUT - Checkout Core Fields - Fixed Error Uncaught TypeError: Cannot read property '0' of undefined.
273
+ * WooCommerce 5.7.1 tested
274
+ * WordPress 5.8.1 tested
275
+
276
  = 5.4.6 27/08/2021 =
277
 
278
  * Fix - SHIPPING & ORDERS - Order Numbers - Fixed order number sequential bug for a new order for different PHP versions.
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: 5.4.6
7
  Author: Pluggabl LLC
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
10
  Domain Path: /langs
11
  Copyright: © 2020 Pluggabl LLC.
12
- WC tested up to: 5.6.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 = '5.4.6';
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: 5.4.7
7
  Author: Pluggabl LLC
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
10
  Domain Path: /langs
11
  Copyright: © 2020 Pluggabl LLC.
12
+ WC tested up to: 5.7.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 = '5.4.7';
61
 
62
  /**
63
  * @var WC_Jetpack The single instance of the class