Booster for WooCommerce - Version 5.3.2

Version Description

  • 16/09/2020 =
  • Fix - Uncaught Error: Call to a member function add_enable_module_setting() on int error message in wcj-options.php:18.
Download this release

Release Info

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

Code changes from version 5.3.0 to 5.3.2

includes/admin/class-wc-settings-jetpack.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Settings
4
  *
5
- * @version 5.3.0
6
  * @since 1.0.0
7
  * @author Pluggabl LLC.
8
  */
@@ -16,7 +16,7 @@ class WC_Settings_Jetpack extends WC_Settings_Page {
16
  /**
17
  * Constructor.
18
  *
19
- * @version 5.3.0
20
  */
21
  function __construct() {
22
 
@@ -37,7 +37,10 @@ class WC_Settings_Jetpack extends WC_Settings_Page {
37
  add_action( 'woocommerce_after_settings_' . $this->id, array( $this, 'create_free_version_footer_review_notice' ) );
38
  add_action( 'woocommerce_settings_' . $this->id, array( $this, 'create_free_version_notice_about_plus' ) );
39
  add_action( 'woocommerce_after_settings_' . $this->id, array( $this, 'create_free_version_notice_about_reasons_to_upgrade' ) );
40
-
 
 
 
41
  require_once( 'class-wcj-settings-custom-fields.php' );
42
  }
43
 
@@ -181,6 +184,32 @@ class WC_Settings_Jetpack extends WC_Settings_Page {
181
  <?php
182
  echo '<div class="' . $class . '"><p>' . $message . '</p></div>';
183
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
 
185
  /**
186
  * Output cats
2
  /**
3
  * Booster for WooCommerce - Settings
4
  *
5
+ * @version 5.3.1
6
  * @since 1.0.0
7
  * @author Pluggabl LLC.
8
  */
16
  /**
17
  * Constructor.
18
  *
19
+ * @version 5.3.1
20
  */
21
  function __construct() {
22
 
37
  add_action( 'woocommerce_after_settings_' . $this->id, array( $this, 'create_free_version_footer_review_notice' ) );
38
  add_action( 'woocommerce_settings_' . $this->id, array( $this, 'create_free_version_notice_about_plus' ) );
39
  add_action( 'woocommerce_after_settings_' . $this->id, array( $this, 'create_free_version_notice_about_reasons_to_upgrade' ) );
40
+
41
+ // Create a PRO version ratting notice
42
+ add_action( 'woocommerce_after_settings_' . $this->id, array( $this, 'create_pro_version_footer_review_notice' ) );
43
+
44
  require_once( 'class-wcj-settings-custom-fields.php' );
45
  }
46
 
184
  <?php
185
  echo '<div class="' . $class . '"><p>' . $message . '</p></div>';
186
  }
187
+ /**
188
+ * create_pro_version_footer_review_notice.
189
+ *
190
+ * @version 5.3.1
191
+ * @since 5.3.1
192
+ */
193
+ function create_pro_version_footer_review_notice() {
194
+ if ( 'booster-plus-for-woocommerce.php' !== basename( WCJ_PLUGIN_FILE ) ) {
195
+ return;
196
+ }
197
+ $class = 'notice notice-info inline';
198
+ $link = 'https://wordpress.org/support/plugin/woocommerce-jetpack/reviews/?filter=5';
199
+ $pro_link = 'https://booster.io/reviews/';
200
+ $star = '<span class="wcj-review-icon dashicons dashicons-star-filled"></span>';
201
+ $stars_link = '<a href="' . $pro_link . '" target="_blank">' . $star . $star . $star . $star . $star . '</a>';
202
+ $message = sprintf( __( 'Please rate <strong>Booster for WooCommerce</strong> %s on <a href="%s" target="_blank">booster.io</a> or <a href="%s" target="_blank">WordPress.org</a> to help us spread the word. Thank you from Booster team!', 'woocommerce-jetpack' ), $stars_link,$pro_link, $link );
203
+ ?>
204
+ <style>
205
+ .wcj-review-icon {
206
+ vertical-align: middle;
207
+ margin:-6px 0 0 0;
208
+ }
209
+ </style>
210
+ <?php
211
+ echo '<div class="' . $class . '"><p>' . $message . '</p></div>';
212
+ }
213
 
214
  /**
215
  * Output cats
includes/admin/wcj-modules-cats.php CHANGED
@@ -8,7 +8,7 @@
8
  * @todo (maybe) split "Shipping & Orders", "Cart & Checkout", "Products", "Prices & Currencies" etc.
9
  */
10
 
11
- $wcj_modules = apply_filters( 'wcj_modules', array(
12
 
13
  'dashboard' => array(
14
  'label' => __( 'Dashboard', 'woocommerce-jetpack' ),
@@ -203,5 +203,3 @@ $wcj_modules = apply_filters( 'wcj_modules', array(
203
  ),
204
 
205
  ) );
206
-
207
- return $wcj_modules;
8
  * @todo (maybe) split "Shipping & Orders", "Cart & Checkout", "Products", "Prices & Currencies" etc.
9
  */
10
 
11
+ return apply_filters( 'wcj_modules', array(
12
 
13
  'dashboard' => array(
14
  'label' => __( 'Dashboard', 'woocommerce-jetpack' ),
203
  ),
204
 
205
  ) );
 
 
includes/classes/class-wcj-pdf-invoice.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce PDF Invoice
4
  *
5
- * @version 5.1.0
6
  * @author Pluggabl LLC.
7
  */
8
 
@@ -24,7 +24,7 @@ class WCJ_PDF_Invoice extends WCJ_Invoice {
24
  /**
25
  * prepare_pdf.
26
  *
27
- * @version 4.7.1
28
  * @todo [dev] check `addTTFfont()`
29
  * @todo [dev] maybe `$pdf->SetAuthor( 'Booster for WooCommerce' )`
30
  * @todo [dev] maybe `$pdf->setLanguageArray( $l )`
@@ -144,12 +144,8 @@ class WCJ_PDF_Invoice extends WCJ_Invoice {
144
 
145
  // Background image
146
  if ( '' != ( $background_image = do_shortcode( get_option( 'wcj_invoicing_' . $invoice_type . '_background_image', '' ) ) ) ) {
147
- $background_image = 'yes' === ( $parse_bkg_image = get_option( 'wcj_invoicing_' . $invoice_type . '_background_image_parse', 'yes' ) ) ? parse_url( $background_image, PHP_URL_PATH ) : $background_image;
148
- if ( 'yes' === $parse_bkg_image && file_exists( K_PATH_IMAGES . $background_image ) ) {
149
- $pdf->Image( $background_image, 0, 0, $pdf->getPageWidth(), $pdf->getPageHeight() );
150
- } elseif ( 'no' === $parse_bkg_image ) {
151
- $pdf->Image( $background_image, 0, 0, $pdf->getPageWidth(), $pdf->getPageHeight() );
152
- }
153
  }
154
 
155
  return $pdf;
2
  /**
3
  * Booster for WooCommerce PDF Invoice
4
  *
5
+ * @version 5.3.1
6
  * @author Pluggabl LLC.
7
  */
8
 
24
  /**
25
  * prepare_pdf.
26
  *
27
+ * @version 5.3.1
28
  * @todo [dev] check `addTTFfont()`
29
  * @todo [dev] maybe `$pdf->SetAuthor( 'Booster for WooCommerce' )`
30
  * @todo [dev] maybe `$pdf->setLanguageArray( $l )`
144
 
145
  // Background image
146
  if ( '' != ( $background_image = do_shortcode( get_option( 'wcj_invoicing_' . $invoice_type . '_background_image', '' ) ) ) ) {
147
+ $background_image = 'yes' === ( $parse_bkg_image = get_option( 'wcj_invoicing_' . $invoice_type . '_background_image_parse', 'yes' ) ) ? $_SERVER['DOCUMENT_ROOT'] . parse_url( $background_image, PHP_URL_PATH ) : $background_image;
148
+ $pdf->Image( $background_image, 0, 0, $pdf->getPageWidth(), $pdf->getPageHeight() );
 
 
 
 
149
  }
150
 
151
  return $pdf;
includes/core/wcj-loader.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Core - Loader
4
  *
5
- * @version 4.4.0
6
  * @since 3.2.4
7
  * @author Pluggabl LLC.
8
  */
@@ -50,6 +50,9 @@ require_once( WCJ_PLUGIN_PATH . '/includes/classes/class-wcj-module-shipping-by-
50
  require_once( WCJ_PLUGIN_PATH . '/includes/classes/class-wcj-invoice.php' );
51
  require_once( WCJ_PLUGIN_PATH . '/includes/classes/class-wcj-pdf-invoice.php' );
52
 
 
 
 
53
  // Plus
54
  if ( 'booster-plus-for-woocommerce.php' === basename( WCJ_PLUGIN_FILE ) && apply_filters( 'wcj_full_pack', true ) ) {
55
  require_once( WCJ_PLUGIN_PATH . '/includes/plus/class-wcj-plus.php' );
2
  /**
3
  * Booster for WooCommerce - Core - Loader
4
  *
5
+ * @version 5.3.1
6
  * @since 3.2.4
7
  * @author Pluggabl LLC.
8
  */
50
  require_once( WCJ_PLUGIN_PATH . '/includes/classes/class-wcj-invoice.php' );
51
  require_once( WCJ_PLUGIN_PATH . '/includes/classes/class-wcj-pdf-invoice.php' );
52
 
53
+ // Mini Plugin
54
+ require_once( WCJ_PLUGIN_PATH . '/includes/mini-plugin/wcj-mini-plugin.php' );
55
+
56
  // Plus
57
  if ( 'booster-plus-for-woocommerce.php' === basename( WCJ_PLUGIN_FILE ) && apply_filters( 'wcj_full_pack', true ) ) {
58
  require_once( WCJ_PLUGIN_PATH . '/includes/plus/class-wcj-plus.php' );
includes/core/wcj-modules.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Modules
4
  *
5
- * @version 4.5.0
6
  * @since 3.2.4
7
  * @author Pluggabl LLC.
8
  */
@@ -143,3 +143,4 @@ foreach ( $wcj_module_files as $wcj_module_file ) {
143
  $module = include_once( $wcj_modules_dir . $wcj_module_file );
144
  $this->modules[ $module->id ] = $module;
145
  }
 
2
  /**
3
  * Booster for WooCommerce - Modules
4
  *
5
+ * @version 5.3.1
6
  * @since 3.2.4
7
  * @author Pluggabl LLC.
8
  */
143
  $module = include_once( $wcj_modules_dir . $wcj_module_file );
144
  $this->modules[ $module->id ] = $module;
145
  }
146
+ $this->modules = apply_filters( 'wcj_modules_loaded', $this->modules );
includes/mini-plugin/wcj-mini-plugin.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Booster for WooCommerce - Mini plugin customizations
4
+ *
5
+ * @author Pluggabl LLC.
6
+ */
includes/shortcodes/class-wcj-shortcodes-order-items.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Order Items
4
  *
5
- * @version 5.3.0
6
  * @author Pluggabl LLC.
7
  */
8
 
@@ -248,7 +248,7 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
248
  /**
249
  * wcj_order_items_table.
250
  *
251
- * @version 5.3.0
252
  * @todo `sort_by_column` - fix `item_number`
253
  * @todo `$item['is_custom']` may be defined only if WCJ_IS_WC_VERSION_BELOW_3
254
  * @todo `if ( '' !== $column_cell_data )` - this may be optional?
@@ -317,7 +317,7 @@ class WCJ_Order_Items_Shortcodes extends WCJ_Shortcodes {
317
  $item_counter = 0;
318
  foreach ( $the_items as $item_id => $item ) {
319
  $item['is_custom'] = ( isset( $item['is_custom'] ) );
320
- $the_product = ( true === $item['is_custom'] ) ? null : $item->get_product( $item );
321
  // Check if it's not excluded by category
322
  if ( '' != $atts['exclude_by_categories'] && $the_product ) {
323
  if ( wcj_product_has_terms( $the_product, $atts['exclude_by_categories'], 'product_cat' ) ) {
2
  /**
3
  * Booster for WooCommerce - Shortcodes - Order Items
4
  *
5
+ * @version 5.3.1
6
  * @author Pluggabl LLC.
7
  */
8
 
248
  /**
249
  * wcj_order_items_table.
250
  *
251
+ * @version 5.3.1
252
  * @todo `sort_by_column` - fix `item_number`
253
  * @todo `$item['is_custom']` may be defined only if WCJ_IS_WC_VERSION_BELOW_3
254
  * @todo `if ( '' !== $column_cell_data )` - this may be optional?
317
  $item_counter = 0;
318
  foreach ( $the_items as $item_id => $item ) {
319
  $item['is_custom'] = ( isset( $item['is_custom'] ) );
320
+ $the_product = ( true === $item['is_custom'] ) ? null : ( method_exists( $item, 'get_product' ) ? $item->get_product( $item ) : null );
321
  // Check if it's not excluded by category
322
  if ( '' != $atts['exclude_by_categories'] && $the_product ) {
323
  if ( wcj_product_has_terms( $the_product, $atts['exclude_by_categories'], 'product_cat' ) ) {
langs/woocommerce-jetpack.pot CHANGED
@@ -34,7 +34,7 @@ msgid "Product category (archive) view"
34
  msgstr ""
35
 
36
  #: includes/admin/class-wc-settings-jetpack.php:24
37
- #: includes/admin/class-wc-settings-jetpack.php:367
38
  #: includes/class-wcj-admin-bar.php:276
39
  #: includes/class-wcj-checkout-files-upload.php:219
40
  #: includes/class-wcj-eu-vat-number.php:166
@@ -48,62 +48,62 @@ msgstr ""
48
  msgid "Booster"
49
  msgstr ""
50
 
51
- #: includes/admin/class-wc-settings-jetpack.php:56
52
  msgid "Upgrade today to unlock these popular premium features:"
53
  msgstr ""
54
 
55
- #: includes/admin/class-wc-settings-jetpack.php:58
56
  msgid "Add ability to create Proforma Invoices, Credit Notes and Packing slips"
57
  msgstr ""
58
 
59
- #: includes/admin/class-wc-settings-jetpack.php:59
60
  msgid ""
61
  "<strong>Cart and checkout</strong> – add multiple – custom fields, custom "
62
  "info blocks, check out file uploads"
63
  msgstr ""
64
 
65
- #: includes/admin/class-wc-settings-jetpack.php:60
66
  msgid ""
67
  "<strong>Prices and currencies</strong> – add more unlimited number of "
68
  "currencies to WooCommerce"
69
  msgstr ""
70
 
71
- #: includes/admin/class-wc-settings-jetpack.php:61
72
  msgid ""
73
  "<strong>Add to cart</strong> – customize add to cart messages, Button labels "
74
  "- multiple category groups allowed"
75
  msgstr ""
76
 
77
- #: includes/admin/class-wc-settings-jetpack.php:62
78
  msgid ""
79
  "<strong>Empty Cart</strong> – customize empty cart button text, different "
80
  "button positions on cart page"
81
  msgstr ""
82
 
83
- #: includes/admin/class-wc-settings-jetpack.php:63
84
  msgid "<strong>Mini cart</strong> – More custom information options"
85
  msgstr ""
86
 
87
- #: includes/admin/class-wc-settings-jetpack.php:64
88
  msgid "<strong>Export options</strong> – more fields enabled"
89
  msgstr ""
90
 
91
- #: includes/admin/class-wc-settings-jetpack.php:65
92
  msgid "More configuration options for payments and shipping"
93
  msgstr ""
94
 
95
- #: includes/admin/class-wc-settings-jetpack.php:75
96
  msgid "Upgrade to Booster Plus"
97
  msgstr ""
98
 
99
- #: includes/admin/class-wc-settings-jetpack.php:140
100
  #, php-format
101
  msgid ""
102
  "You're using Booster free version. To unlock more features please consider <a "
103
  "target=\"_blank\" href=\"%s\">upgrading to Plus</a>."
104
  msgstr ""
105
 
106
- #: includes/admin/class-wc-settings-jetpack.php:173
107
  #, php-format
108
  msgid ""
109
  "Please rate <strong>Booster for WooCommerce</strong> %s on <a href=\"%s\" "
@@ -111,44 +111,52 @@ msgid ""
111
  "from Booster team!"
112
  msgstr ""
113
 
114
- #: includes/admin/class-wc-settings-jetpack.php:229
 
 
 
 
 
 
 
 
115
  #: includes/class-wcj-admin-bar.php:140
116
  msgid "Alphabetically"
117
  msgstr ""
118
 
119
- #: includes/admin/class-wc-settings-jetpack.php:230
120
  #: includes/class-wcj-admin-bar.php:144
121
  msgid "By Category"
122
  msgstr ""
123
 
124
- #: includes/admin/class-wc-settings-jetpack.php:231
125
  #: includes/class-wcj-admin-bar.php:148
126
  msgid "Active"
127
  msgstr ""
128
 
129
- #: includes/admin/class-wc-settings-jetpack.php:232
130
  #: includes/class-wcj-admin-bar.php:152
131
  msgid "Manage Settings"
132
  msgstr ""
133
 
134
- #: includes/admin/class-wc-settings-jetpack.php:292
135
  #: includes/admin/wcj-modules-cats.php:14 includes/class-wcj-admin-bar.php:214
136
  #: includes/class-wcj-my-account.php:34
137
  msgid "Dashboard"
138
  msgstr ""
139
 
140
- #: includes/admin/class-wc-settings-jetpack.php:336
141
  #, php-format
142
  msgid ""
143
  "Please note that current <em>%s</em> module is deprecated and will be removed "
144
  "in future updates. Please use <em>%s</em> module instead."
145
  msgstr ""
146
 
147
- #: includes/admin/class-wc-settings-jetpack.php:341
148
  msgid "Module will be removed from the module's list as soon as you disable it."
149
  msgstr ""
150
 
151
- #: includes/admin/class-wc-settings-jetpack.php:352
152
  #, php-format
153
  msgid ""
154
  "Please note that <em>%s</em> module is currently under development. Until "
@@ -156,85 +164,85 @@ msgid ""
156
  "be moved to paid plugin version."
157
  msgstr ""
158
 
159
- #: includes/admin/class-wc-settings-jetpack.php:363
160
  #: includes/class-wcj-admin-bar.php:384
161
  #: includes/settings/wcj-settings-emails-verification.php:146
162
  #: includes/settings/wcj-settings-price-by-country.php:237
163
  msgid "WooCommerce"
164
  msgstr ""
165
 
166
- #: includes/admin/class-wc-settings-jetpack.php:365
167
- #: includes/admin/class-wc-settings-jetpack.php:560
168
  #: includes/class-wcj-admin-bar.php:168 includes/class-wcj-admin-bar.php:508
169
  #: includes/class-wcj-admin-bar.php:608 includes/core/class-wcj-admin.php:116
170
  msgid "Settings"
171
  msgstr ""
172
 
173
- #: includes/admin/class-wc-settings-jetpack.php:416
174
  msgid ""
175
  "This section lets you export, import or reset all Booster's modules settings."
176
  msgstr ""
177
 
178
- #: includes/admin/class-wc-settings-jetpack.php:440
179
  #: includes/class-wcj-export-import.php:26
180
  msgid "Export"
181
  msgstr ""
182
 
183
- #: includes/admin/class-wc-settings-jetpack.php:441
184
  msgid "Export all Booster's options to a file."
185
  msgstr ""
186
 
187
- #: includes/admin/class-wc-settings-jetpack.php:444
188
  #: includes/class-wcj-purchase-data.php:94
189
  msgid "Import"
190
  msgstr ""
191
 
192
- #: includes/admin/class-wc-settings-jetpack.php:446
193
  msgid "Import all Booster's options from a file."
194
  msgstr ""
195
 
196
- #: includes/admin/class-wc-settings-jetpack.php:450
197
  msgid ""
198
  "This will reset settings to defaults for all Booster modules. Are you sure?"
199
  msgstr ""
200
 
201
- #: includes/admin/class-wc-settings-jetpack.php:451
202
  msgid "Reset"
203
  msgstr ""
204
 
205
- #: includes/admin/class-wc-settings-jetpack.php:452
206
  msgid "Reset all Booster's options."
207
  msgstr ""
208
 
209
- #: includes/admin/class-wc-settings-jetpack.php:456
210
  msgid "This will delete all Booster meta. Are you sure?"
211
  msgstr ""
212
 
213
- #: includes/admin/class-wc-settings-jetpack.php:457
214
  msgid "Reset meta"
215
  msgstr ""
216
 
217
- #: includes/admin/class-wc-settings-jetpack.php:458
218
  msgid "Reset all Booster's meta."
219
  msgstr ""
220
 
221
- #: includes/admin/class-wc-settings-jetpack.php:496
222
  msgid "Version"
223
  msgstr ""
224
 
225
- #: includes/admin/class-wc-settings-jetpack.php:517
226
- #: includes/admin/class-wc-settings-jetpack.php:524
227
  msgid "Select All"
228
  msgstr ""
229
 
230
- #: includes/admin/class-wc-settings-jetpack.php:518
231
- #: includes/admin/class-wc-settings-jetpack.php:525
232
  #: includes/admin/class-wcj-tools.php:76
233
  msgid "Module"
234
  msgstr ""
235
 
236
- #: includes/admin/class-wc-settings-jetpack.php:519
237
- #: includes/admin/class-wc-settings-jetpack.php:526
238
  #: includes/admin/class-wcj-tools.php:77
239
  #: includes/export/class-wcj-fields-helper.php:293
240
  #: includes/gateways/class-wc-gateway-wcj-custom.php:61
@@ -246,102 +254,102 @@ msgstr ""
246
  msgid "Description"
247
  msgstr ""
248
 
249
- #: includes/admin/class-wc-settings-jetpack.php:562
250
  #: includes/class-wcj-admin-bar.php:172
251
  #: includes/classes/class-wcj-module.php:898
252
  msgid "Documentation"
253
  msgstr ""
254
 
255
- #: includes/admin/class-wc-settings-jetpack.php:573
256
  msgid "No active modules found."
257
  msgstr ""
258
 
259
- #: includes/admin/class-wc-settings-jetpack.php:576
260
  msgid "Total Modules:"
261
  msgstr ""
262
 
263
- #: includes/admin/class-wc-settings-jetpack.php:614
264
  msgid "Autoload Booster's Options"
265
  msgstr ""
266
 
267
- #: includes/admin/class-wc-settings-jetpack.php:616
268
  msgid ""
269
  "Choose if you want Booster's options to be autoloaded when calling "
270
  "add_option. After saving this option, you need to Reset all Booster's "
271
  "settings. Leave default value (i.e. Enabled) if not sure."
272
  msgstr ""
273
 
274
- #: includes/admin/class-wc-settings-jetpack.php:621
275
  msgid "Load Modules on Init Hook"
276
  msgstr ""
277
 
278
- #: includes/admin/class-wc-settings-jetpack.php:623
279
  msgid "Choose if you want to load Booster Modules on Init hook."
280
  msgstr ""
281
 
282
- #: includes/admin/class-wc-settings-jetpack.php:623
283
  msgid ""
284
  "It will load the locale appropriately if users change it from the profile "
285
  "page."
286
  msgstr ""
287
 
288
- #: includes/admin/class-wc-settings-jetpack.php:628
289
  msgid "Use List Instead of Comma Separated Text for Products in Settings"
290
  msgstr ""
291
 
292
- #: includes/admin/class-wc-settings-jetpack.php:630
293
- #: includes/admin/class-wc-settings-jetpack.php:644
294
- #: includes/admin/class-wc-settings-jetpack.php:653
295
  #, php-format
296
  msgid "Supported modules: %s."
297
  msgstr ""
298
 
299
- #: includes/admin/class-wc-settings-jetpack.php:631
300
  #: includes/class-wcj-payment-gateways-per-category.php:26
301
  msgid "Gateways per Product or Category"
302
  msgstr ""
303
 
304
- #: includes/admin/class-wc-settings-jetpack.php:632
305
  #: includes/class-wcj-global-discount.php:29
306
  #: includes/settings/wcj-settings-product-addons.php:254
307
  msgid "Global Discount"
308
  msgstr ""
309
 
310
- #: includes/admin/class-wc-settings-jetpack.php:633
311
- #: includes/admin/class-wc-settings-jetpack.php:645
312
- #: includes/admin/class-wc-settings-jetpack.php:654
313
  #: includes/class-wcj-product-custom-info.php:24
314
  #: includes/functions/wcj-functions-general.php:449
315
  msgid "Product Info"
316
  msgstr ""
317
 
318
- #: includes/admin/class-wc-settings-jetpack.php:634
319
  #: includes/class-wcj-product-input-fields.php:24
320
  #: includes/input-fields/class-wcj-product-input-fields-core.php:185
321
  msgid "Product Input Fields"
322
  msgstr ""
323
 
324
- #: includes/admin/class-wc-settings-jetpack.php:635
325
  msgid "Products XML"
326
  msgstr ""
327
 
328
- #: includes/admin/class-wc-settings-jetpack.php:636
329
  #: includes/class-wcj-related-products.php:38
330
  #: includes/settings/meta-box/wcj-settings-meta-box-related-products.php:30
331
  #: includes/settings/wcj-settings-free-price.php:20
332
  msgid "Related Products"
333
  msgstr ""
334
 
335
- #: includes/admin/class-wc-settings-jetpack.php:642
336
  msgid ""
337
  "Use List Instead of Comma Separated Text for Products Categories in Settings"
338
  msgstr ""
339
 
340
- #: includes/admin/class-wc-settings-jetpack.php:651
341
  msgid "Use List Instead of Comma Separated Text for Products Tags in Settings"
342
  msgstr ""
343
 
344
- #: includes/admin/class-wc-settings-jetpack.php:678
345
  #: includes/core/class-wcj-admin.php:100
346
  msgid "Booster for WooCommerce"
347
  msgstr ""
@@ -5554,7 +5562,7 @@ msgstr ""
5554
  msgid "Company Name"
5555
  msgstr ""
5556
 
5557
- #: includes/classes/class-wcj-pdf-invoice.php:263
5558
  #: includes/functions/wcj-functions-general.php:145
5559
  #: includes/pdf-invoices/class-wcj-pdf-invoicing-report-tool.php:245
5560
  msgid "Unexpected error"
34
  msgstr ""
35
 
36
  #: includes/admin/class-wc-settings-jetpack.php:24
37
+ #: includes/admin/class-wc-settings-jetpack.php:396
38
  #: includes/class-wcj-admin-bar.php:276
39
  #: includes/class-wcj-checkout-files-upload.php:219
40
  #: includes/class-wcj-eu-vat-number.php:166
48
  msgid "Booster"
49
  msgstr ""
50
 
51
+ #: includes/admin/class-wc-settings-jetpack.php:59
52
  msgid "Upgrade today to unlock these popular premium features:"
53
  msgstr ""
54
 
55
+ #: includes/admin/class-wc-settings-jetpack.php:61
56
  msgid "Add ability to create Proforma Invoices, Credit Notes and Packing slips"
57
  msgstr ""
58
 
59
+ #: includes/admin/class-wc-settings-jetpack.php:62
60
  msgid ""
61
  "<strong>Cart and checkout</strong> – add multiple – custom fields, custom "
62
  "info blocks, check out file uploads"
63
  msgstr ""
64
 
65
+ #: includes/admin/class-wc-settings-jetpack.php:63
66
  msgid ""
67
  "<strong>Prices and currencies</strong> – add more unlimited number of "
68
  "currencies to WooCommerce"
69
  msgstr ""
70
 
71
+ #: includes/admin/class-wc-settings-jetpack.php:64
72
  msgid ""
73
  "<strong>Add to cart</strong> – customize add to cart messages, Button labels "
74
  "- multiple category groups allowed"
75
  msgstr ""
76
 
77
+ #: includes/admin/class-wc-settings-jetpack.php:65
78
  msgid ""
79
  "<strong>Empty Cart</strong> – customize empty cart button text, different "
80
  "button positions on cart page"
81
  msgstr ""
82
 
83
+ #: includes/admin/class-wc-settings-jetpack.php:66
84
  msgid "<strong>Mini cart</strong> – More custom information options"
85
  msgstr ""
86
 
87
+ #: includes/admin/class-wc-settings-jetpack.php:67
88
  msgid "<strong>Export options</strong> – more fields enabled"
89
  msgstr ""
90
 
91
+ #: includes/admin/class-wc-settings-jetpack.php:68
92
  msgid "More configuration options for payments and shipping"
93
  msgstr ""
94
 
95
+ #: includes/admin/class-wc-settings-jetpack.php:78
96
  msgid "Upgrade to Booster Plus"
97
  msgstr ""
98
 
99
+ #: includes/admin/class-wc-settings-jetpack.php:143
100
  #, php-format
101
  msgid ""
102
  "You're using Booster free version. To unlock more features please consider <a "
103
  "target=\"_blank\" href=\"%s\">upgrading to Plus</a>."
104
  msgstr ""
105
 
106
+ #: includes/admin/class-wc-settings-jetpack.php:176
107
  #, php-format
108
  msgid ""
109
  "Please rate <strong>Booster for WooCommerce</strong> %s on <a href=\"%s\" "
111
  "from Booster team!"
112
  msgstr ""
113
 
114
+ #: includes/admin/class-wc-settings-jetpack.php:202
115
+ #, php-format
116
+ msgid ""
117
+ "Please rate <strong>Booster for WooCommerce</strong> %s on <a href=\"%s\" "
118
+ "target=\"_blank\">booster.io</a> or <a href=\"%s\" target=\"_blank"
119
+ "\">WordPress.org</a> to help us spread the word. Thank you from Booster team!"
120
+ msgstr ""
121
+
122
+ #: includes/admin/class-wc-settings-jetpack.php:258
123
  #: includes/class-wcj-admin-bar.php:140
124
  msgid "Alphabetically"
125
  msgstr ""
126
 
127
+ #: includes/admin/class-wc-settings-jetpack.php:259
128
  #: includes/class-wcj-admin-bar.php:144
129
  msgid "By Category"
130
  msgstr ""
131
 
132
+ #: includes/admin/class-wc-settings-jetpack.php:260
133
  #: includes/class-wcj-admin-bar.php:148
134
  msgid "Active"
135
  msgstr ""
136
 
137
+ #: includes/admin/class-wc-settings-jetpack.php:261
138
  #: includes/class-wcj-admin-bar.php:152
139
  msgid "Manage Settings"
140
  msgstr ""
141
 
142
+ #: includes/admin/class-wc-settings-jetpack.php:321
143
  #: includes/admin/wcj-modules-cats.php:14 includes/class-wcj-admin-bar.php:214
144
  #: includes/class-wcj-my-account.php:34
145
  msgid "Dashboard"
146
  msgstr ""
147
 
148
+ #: includes/admin/class-wc-settings-jetpack.php:365
149
  #, php-format
150
  msgid ""
151
  "Please note that current <em>%s</em> module is deprecated and will be removed "
152
  "in future updates. Please use <em>%s</em> module instead."
153
  msgstr ""
154
 
155
+ #: includes/admin/class-wc-settings-jetpack.php:370
156
  msgid "Module will be removed from the module's list as soon as you disable it."
157
  msgstr ""
158
 
159
+ #: includes/admin/class-wc-settings-jetpack.php:381
160
  #, php-format
161
  msgid ""
162
  "Please note that <em>%s</em> module is currently under development. Until "
164
  "be moved to paid plugin version."
165
  msgstr ""
166
 
167
+ #: includes/admin/class-wc-settings-jetpack.php:392
168
  #: includes/class-wcj-admin-bar.php:384
169
  #: includes/settings/wcj-settings-emails-verification.php:146
170
  #: includes/settings/wcj-settings-price-by-country.php:237
171
  msgid "WooCommerce"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-wc-settings-jetpack.php:394
175
+ #: includes/admin/class-wc-settings-jetpack.php:589
176
  #: includes/class-wcj-admin-bar.php:168 includes/class-wcj-admin-bar.php:508
177
  #: includes/class-wcj-admin-bar.php:608 includes/core/class-wcj-admin.php:116
178
  msgid "Settings"
179
  msgstr ""
180
 
181
+ #: includes/admin/class-wc-settings-jetpack.php:445
182
  msgid ""
183
  "This section lets you export, import or reset all Booster's modules settings."
184
  msgstr ""
185
 
186
+ #: includes/admin/class-wc-settings-jetpack.php:469
187
  #: includes/class-wcj-export-import.php:26
188
  msgid "Export"
189
  msgstr ""
190
 
191
+ #: includes/admin/class-wc-settings-jetpack.php:470
192
  msgid "Export all Booster's options to a file."
193
  msgstr ""
194
 
195
+ #: includes/admin/class-wc-settings-jetpack.php:473
196
  #: includes/class-wcj-purchase-data.php:94
197
  msgid "Import"
198
  msgstr ""
199
 
200
+ #: includes/admin/class-wc-settings-jetpack.php:475
201
  msgid "Import all Booster's options from a file."
202
  msgstr ""
203
 
204
+ #: includes/admin/class-wc-settings-jetpack.php:479
205
  msgid ""
206
  "This will reset settings to defaults for all Booster modules. Are you sure?"
207
  msgstr ""
208
 
209
+ #: includes/admin/class-wc-settings-jetpack.php:480
210
  msgid "Reset"
211
  msgstr ""
212
 
213
+ #: includes/admin/class-wc-settings-jetpack.php:481
214
  msgid "Reset all Booster's options."
215
  msgstr ""
216
 
217
+ #: includes/admin/class-wc-settings-jetpack.php:485
218
  msgid "This will delete all Booster meta. Are you sure?"
219
  msgstr ""
220
 
221
+ #: includes/admin/class-wc-settings-jetpack.php:486
222
  msgid "Reset meta"
223
  msgstr ""
224
 
225
+ #: includes/admin/class-wc-settings-jetpack.php:487
226
  msgid "Reset all Booster's meta."
227
  msgstr ""
228
 
229
+ #: includes/admin/class-wc-settings-jetpack.php:525
230
  msgid "Version"
231
  msgstr ""
232
 
233
+ #: includes/admin/class-wc-settings-jetpack.php:546
234
+ #: includes/admin/class-wc-settings-jetpack.php:553
235
  msgid "Select All"
236
  msgstr ""
237
 
238
+ #: includes/admin/class-wc-settings-jetpack.php:547
239
+ #: includes/admin/class-wc-settings-jetpack.php:554
240
  #: includes/admin/class-wcj-tools.php:76
241
  msgid "Module"
242
  msgstr ""
243
 
244
+ #: includes/admin/class-wc-settings-jetpack.php:548
245
+ #: includes/admin/class-wc-settings-jetpack.php:555
246
  #: includes/admin/class-wcj-tools.php:77
247
  #: includes/export/class-wcj-fields-helper.php:293
248
  #: includes/gateways/class-wc-gateway-wcj-custom.php:61
254
  msgid "Description"
255
  msgstr ""
256
 
257
+ #: includes/admin/class-wc-settings-jetpack.php:591
258
  #: includes/class-wcj-admin-bar.php:172
259
  #: includes/classes/class-wcj-module.php:898
260
  msgid "Documentation"
261
  msgstr ""
262
 
263
+ #: includes/admin/class-wc-settings-jetpack.php:602
264
  msgid "No active modules found."
265
  msgstr ""
266
 
267
+ #: includes/admin/class-wc-settings-jetpack.php:605
268
  msgid "Total Modules:"
269
  msgstr ""
270
 
271
+ #: includes/admin/class-wc-settings-jetpack.php:643
272
  msgid "Autoload Booster's Options"
273
  msgstr ""
274
 
275
+ #: includes/admin/class-wc-settings-jetpack.php:645
276
  msgid ""
277
  "Choose if you want Booster's options to be autoloaded when calling "
278
  "add_option. After saving this option, you need to Reset all Booster's "
279
  "settings. Leave default value (i.e. Enabled) if not sure."
280
  msgstr ""
281
 
282
+ #: includes/admin/class-wc-settings-jetpack.php:650
283
  msgid "Load Modules on Init Hook"
284
  msgstr ""
285
 
286
+ #: includes/admin/class-wc-settings-jetpack.php:652
287
  msgid "Choose if you want to load Booster Modules on Init hook."
288
  msgstr ""
289
 
290
+ #: includes/admin/class-wc-settings-jetpack.php:652
291
  msgid ""
292
  "It will load the locale appropriately if users change it from the profile "
293
  "page."
294
  msgstr ""
295
 
296
+ #: includes/admin/class-wc-settings-jetpack.php:657
297
  msgid "Use List Instead of Comma Separated Text for Products in Settings"
298
  msgstr ""
299
 
300
+ #: includes/admin/class-wc-settings-jetpack.php:659
301
+ #: includes/admin/class-wc-settings-jetpack.php:673
302
+ #: includes/admin/class-wc-settings-jetpack.php:682
303
  #, php-format
304
  msgid "Supported modules: %s."
305
  msgstr ""
306
 
307
+ #: includes/admin/class-wc-settings-jetpack.php:660
308
  #: includes/class-wcj-payment-gateways-per-category.php:26
309
  msgid "Gateways per Product or Category"
310
  msgstr ""
311
 
312
+ #: includes/admin/class-wc-settings-jetpack.php:661
313
  #: includes/class-wcj-global-discount.php:29
314
  #: includes/settings/wcj-settings-product-addons.php:254
315
  msgid "Global Discount"
316
  msgstr ""
317
 
318
+ #: includes/admin/class-wc-settings-jetpack.php:662
319
+ #: includes/admin/class-wc-settings-jetpack.php:674
320
+ #: includes/admin/class-wc-settings-jetpack.php:683
321
  #: includes/class-wcj-product-custom-info.php:24
322
  #: includes/functions/wcj-functions-general.php:449
323
  msgid "Product Info"
324
  msgstr ""
325
 
326
+ #: includes/admin/class-wc-settings-jetpack.php:663
327
  #: includes/class-wcj-product-input-fields.php:24
328
  #: includes/input-fields/class-wcj-product-input-fields-core.php:185
329
  msgid "Product Input Fields"
330
  msgstr ""
331
 
332
+ #: includes/admin/class-wc-settings-jetpack.php:664
333
  msgid "Products XML"
334
  msgstr ""
335
 
336
+ #: includes/admin/class-wc-settings-jetpack.php:665
337
  #: includes/class-wcj-related-products.php:38
338
  #: includes/settings/meta-box/wcj-settings-meta-box-related-products.php:30
339
  #: includes/settings/wcj-settings-free-price.php:20
340
  msgid "Related Products"
341
  msgstr ""
342
 
343
+ #: includes/admin/class-wc-settings-jetpack.php:671
344
  msgid ""
345
  "Use List Instead of Comma Separated Text for Products Categories in Settings"
346
  msgstr ""
347
 
348
+ #: includes/admin/class-wc-settings-jetpack.php:680
349
  msgid "Use List Instead of Comma Separated Text for Products Tags in Settings"
350
  msgstr ""
351
 
352
+ #: includes/admin/class-wc-settings-jetpack.php:707
353
  #: includes/core/class-wcj-admin.php:100
354
  msgid "Booster for WooCommerce"
355
  msgstr ""
5562
  msgid "Company Name"
5563
  msgstr ""
5564
 
5565
+ #: includes/classes/class-wcj-pdf-invoice.php:259
5566
  #: includes/functions/wcj-functions-general.php:145
5567
  #: includes/pdf-invoices/class-wcj-pdf-invoicing-report-tool.php:245
5568
  msgid "Unexpected error"
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: anbinder, karzin, pluggabl
3
  Tags: woocommerce, booster for woocommerce, woocommerce jetpack
4
  Requires at least: 4.4
5
  Tested up to: 5.5
6
- Stable tag: 5.3.0
7
  License: GNU General Public License v3.0
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -113,7 +113,7 @@ Booster for WooCommerce is a WordPress WooCommerce plugin that supercharges your
113
  * *Maximum Products per User* - Limit number of items your (logged) customers can buy (Free version allows to limit globally).
114
  * *Order Custom Statuses* - Custom statuses for WooCommerce orders. Make Custom Status Orders Editable (Plus). Add Custom Statuses to Admin Order List Action Buttons (Plus).
115
  * *Order Minimum Amount* - Minimum order amount. Order Minimum Amount by User Role (Administrator, Guest and Customer available in free version).
116
- * *Order Numbers* - Sequential order numbering, custom order number prefix, suffix and number width. Prefix Options (Order Number Custom Prefix available in free version). Suffix options (Plus).
117
  * *Order Quantities* - Manage product quantities in WooCommerce order: set min, max, step; enable decimal quantities etc.
118
  * *Orders* - Orders auto-complete; admin order currency; admin order navigation; bulk regenerate download permissions for orders (Plus).
119
  * *Shipping Calculator* - Customize WooCommerce shipping calculator on cart page. Calculate shipping label (Plus). Update totals label (Plus).
@@ -193,6 +193,15 @@ You can see the differences between versions in this [table](https://booster.io/
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
 
 
 
196
  = 5.3.0 - 08/09/2020 =
197
  * Fix - Replace `WC_Abstract_Legacy_Order::get_product_from_item()` deprecated function by `$item->get_product()`.
198
  * Fix - PAYMENT GATEWAYS - Gateways Fees and Discounts - Add compatibility with "Load Modules on Init Hook" option.
3
  Tags: woocommerce, booster for woocommerce, woocommerce jetpack
4
  Requires at least: 4.4
5
  Tested up to: 5.5
6
+ Stable tag: 5.3.2
7
  License: GNU General Public License v3.0
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
113
  * *Maximum Products per User* - Limit number of items your (logged) customers can buy (Free version allows to limit globally).
114
  * *Order Custom Statuses* - Custom statuses for WooCommerce orders. Make Custom Status Orders Editable (Plus). Add Custom Statuses to Admin Order List Action Buttons (Plus).
115
  * *Order Minimum Amount* - Minimum order amount. Order Minimum Amount by User Role (Administrator, Guest and Customer available in free version).
116
+ * *Order Numbers* - Sequential order numbering, custom order number prefix, suffix and number width. Prefix Options (Order Number Custom Prefix available in free version). Suffix options (Plus).
117
  * *Order Quantities* - Manage product quantities in WooCommerce order: set min, max, step; enable decimal quantities etc.
118
  * *Orders* - Orders auto-complete; admin order currency; admin order navigation; bulk regenerate download permissions for orders (Plus).
119
  * *Shipping Calculator* - Customize WooCommerce shipping calculator on cart page. Calculate shipping label (Plus). Update totals label (Plus).
193
 
194
  == Changelog ==
195
 
196
+ = 5.3.2 - 16/09/2020 =
197
+ * Fix - `Uncaught Error: Call to a member function add_enable_module_setting() on int` error message in `wcj-options.php:18`.
198
+
199
+ = 5.3.1 - 16/09/2020 =
200
+ * Fix - PDF INVOICING & PACKING SLIPS - Fix `Call to undefined method get_product()` error by fixing `discount_as_item` and `shipping_as_item` parameters from `[wcj_order_items_table]` shortcode.
201
+ * Fix - PDF INVOICING & PACKING SLIPS - Page Settings - Improve 'Parse Background Image URL' option.
202
+ * Dev - Add filter `wcj_modules_loaded` on wcj-modules.
203
+ * Dev - Create notice on PRO version asking for a review on WordPress.org and booster.io.
204
+
205
  = 5.3.0 - 08/09/2020 =
206
  * Fix - Replace `WC_Abstract_Legacy_Order::get_product_from_item()` deprecated function by `$item->get_product()`.
207
  * Fix - PAYMENT GATEWAYS - Gateways Fees and Discounts - Add compatibility with "Load Modules on Init Hook" option.
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. More than 100 modules. All in one WooCommerce plugin.
6
- Version: 5.3.0
7
  Author: Pluggabl LLC
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
@@ -57,7 +57,7 @@ final class WC_Jetpack {
57
  * @var string
58
  * @since 2.4.7
59
  */
60
- public $version = '5.3.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: 5.3.2
7
  Author: Pluggabl LLC
8
  Author URI: https://booster.io
9
  Text Domain: woocommerce-jetpack
57
  * @var string
58
  * @since 2.4.7
59
  */
60
+ public $version = '5.3.2';
61
 
62
  /**
63
  * @var WC_Jetpack The single instance of the class