Booster for WooCommerce - Version 2.2.5

Version Description

  • 02/08/2015 =
  • Fix - datepicker js script - issue with bazar theme (Add Shortcodes on page edit) fixed.
  • Dev - Plugin renaming continued.
Download this release

Release Info

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

Code changes from version 2.2.4 to 2.2.5

includes/admin/class-wc-settings-jetpack.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * The WooCommerce Jetpack Settings class.
6
  *
7
- * @version 2.2.4
8
  * @since 1.0.0
9
  * @author Algoritmika Ltd.
10
  */
@@ -376,7 +376,7 @@ class WC_Settings_Jetpack extends WC_Settings_Page {
376
  /**
377
  * Get settings array
378
  *
379
- * @version 2.2.4
380
  * @return array
381
  */
382
  function get_settings( $current_section = '' ) {
@@ -387,7 +387,7 @@ class WC_Settings_Jetpack extends WC_Settings_Page {
387
  $settings[] = array(
388
  'title' => __( 'Booster for WooCommerce - Dashboard', 'woocommerce-jetpack' ),
389
  'type' => 'title',
390
- 'desc' => __( 'This dashboard lets you enable/disable any Booster\'s module. Each checkbox comes with short module\'s description. Please visit <a href="http://BoostWooCommerce.com" target="_blank">BoostWooCommerce.com</a> for detailed info on each feature.', 'woocommerce-jetpack' ),
391
  'id' => 'wcj_options'
392
  );
393
  //$settings = apply_filters( 'wcj_features_status', $settings );
4
  *
5
  * The WooCommerce Jetpack Settings class.
6
  *
7
+ * @version 2.2.5
8
  * @since 1.0.0
9
  * @author Algoritmika Ltd.
10
  */
376
  /**
377
  * Get settings array
378
  *
379
+ * @version 2.2.5
380
  * @return array
381
  */
382
  function get_settings( $current_section = '' ) {
387
  $settings[] = array(
388
  'title' => __( 'Booster for WooCommerce - Dashboard', 'woocommerce-jetpack' ),
389
  'type' => 'title',
390
+ 'desc' => __( 'This dashboard lets you enable/disable any Booster\'s module. Each checkbox comes with short module\'s description. Please visit <a href="http://boostwoo.com" target="_blank">BoostWoo.com</a> for detailed info on each feature.', 'woocommerce-jetpack' ),
391
  'id' => 'wcj_options'
392
  );
393
  //$settings = apply_filters( 'wcj_features_status', $settings );
includes/js/wcj-datepicker.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ jQuery(document).ready(function() {
2
+ jQuery("input[display='date']").datepicker({
3
+ dateFormat : 'yy/mm/dd'
4
+ });
5
+ });
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Booster for WooCommerce ===
2
  Contributors: algoritmika
3
  Donate link: http://algoritmika.com/donate/
4
- Tags: woocommerce,woocommerce jetpack,custom price labels,call for price,currency symbol,remove sorting,remove old product slugs,add to cart text,order number,sequential order numbering,email pdf invoice,pdf invoice,pdf invoices,already in cart,empty cart,redirect to checkout,minimum order amount,customize checkout fields,checkout fields,email,customize product tabs,product tabs,related products number,empty cart,redirect add to cart,redirect to checkout,product already in cart,custom payment gateway,payment gateway icon,auto-complete all orders,custom order statuses,custom order status,remove text from price,custom css,hide categories count,hide subcategories count,hide category count,hide subcategory count,display total sales,custom product tabs,remove product tab,payment gateway fee,
5
  Requires at least: 3.8
6
  Tested up to: 4.2
7
- Stable tag: 2.2.4
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -72,20 +72,20 @@ Booster for WooCommerce is a WordPress plugin that supercharges your site with a
72
 
73
  **Emails & Misc.**
74
 
75
- * *Admin Tools* - Debug and log tools for WooCommerce Jetpack.
76
  * *Emails* - Add another email recipient(s) to all WooCommerce emails.
77
  * *General* - Separate custom CSS for front and back end. Shortcodes in Wordpress text widgets.
78
  * *Old Slugs* - Remove old WooCommerce products slugs.
79
  * *Reports* - WooCommerce stock, sales, customers etc. reports.
80
- * *WPML* - Basic WPML support for WooCommerce Jetpack.
81
 
82
  = Feedback =
83
  * We are open to your suggestions and feedback - thank you for using or trying out one of our plugins!
84
- * If you have any ideas how to upgrade the plugin to make it better, or if you have ideas about the features that are missing from our plugin, please [fill the form](http://woojetpack.com/submit-idea/).
85
- * For support visit the [contact page](http://woojetpack.com/contact-us/).
86
 
87
  = More =
88
- * Visit the [WooCommerce Jetpack plugin page](http://woojetpack.com/)
89
 
90
  = Available Translations =
91
  * `FR_fr` by Jean-Marc Schreiber.
@@ -100,7 +100,7 @@ Booster for WooCommerce is a WordPress plugin that supercharges your site with a
100
 
101
  = How to unlock those some features settings that are locked? =
102
 
103
- To unlock all WooCommerce Jetpack features, please install additional <a href="http://woojetpack.com/plus/">WooCommerce Jetpack Plus</a> plugin.
104
 
105
  == Screenshots ==
106
 
@@ -108,6 +108,10 @@ To unlock all WooCommerce Jetpack features, please install additional <a href="h
108
 
109
  == Changelog ==
110
 
 
 
 
 
111
  = 2.2.4 - 01/08/2015 =
112
  * Dev - Plugin renamed from "WooCommerce Jetpack" to "Booster for WooCommerce" (`name_changed_notice` added).
113
  * Dev - PRODUCTS - Sorting - "Sort SKUs as numbers instead of as texts" option added.
@@ -414,7 +418,7 @@ To unlock all WooCommerce Jetpack features, please install additional <a href="h
414
  %price%, %price_excluding_tax% (suggested by Josh),
415
  %stock_availability% (by https://wordpress.org/support/topic/custom-tabs-1),
416
  %time_since_last_sale%, %weight%, %list_attributes% etc.
417
- For full list of short codes, please visit http://woojetpack.com/features/product-info/
418
  * Feature Upgraded - Product Listings - Option to change default WooCommerce behavior on displaying all products if none categories are dispalyed.
419
  Now it's possible to disable displaying the products. Suggested by Xavier.
420
  * Feature Upgraded - PDF Invoices - Order date and time added. Suggested by https://wordpress.org/support/topic/order-time
1
  === Booster for WooCommerce ===
2
  Contributors: algoritmika
3
  Donate link: http://algoritmika.com/donate/
4
+ Tags: woocommerce,booster for woocommerce,woocommerce jetpack,custom price labels,call for price,currency symbol,remove sorting,remove old product slugs,add to cart text,order number,sequential order numbering,email pdf invoice,pdf invoice,pdf invoices,already in cart,empty cart,redirect to checkout,minimum order amount,customize checkout fields,checkout fields,email,customize product tabs,product tabs,related products number,empty cart,redirect add to cart,redirect to checkout,product already in cart,custom payment gateway,payment gateway icon,auto-complete all orders,custom order statuses,custom order status,remove text from price,custom css,hide categories count,hide subcategories count,hide category count,hide subcategory count,display total sales,custom product tabs,remove product tab,payment gateway fee,
5
  Requires at least: 3.8
6
  Tested up to: 4.2
7
+ Stable tag: 2.2.5
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
72
 
73
  **Emails & Misc.**
74
 
75
+ * *Admin Tools* - Booster for WooCommerce debug and log tools.
76
  * *Emails* - Add another email recipient(s) to all WooCommerce emails.
77
  * *General* - Separate custom CSS for front and back end. Shortcodes in Wordpress text widgets.
78
  * *Old Slugs* - Remove old WooCommerce products slugs.
79
  * *Reports* - WooCommerce stock, sales, customers etc. reports.
80
+ * *WPML* - Booster for WooCommerce basic WPML support.
81
 
82
  = Feedback =
83
  * We are open to your suggestions and feedback - thank you for using or trying out one of our plugins!
84
+ * If you have any ideas how to upgrade the plugin to make it better, or if you have ideas about the features that are missing from our plugin, please [fill the form](http://boostwoo.com/submit-idea/).
85
+ * For support visit the [contact page](http://boostwoo.com/contact-us/).
86
 
87
  = More =
88
+ * Visit the [Booster for WooCommerce plugin page](http://boostwoo.com/)
89
 
90
  = Available Translations =
91
  * `FR_fr` by Jean-Marc Schreiber.
100
 
101
  = How to unlock those some features settings that are locked? =
102
 
103
+ To unlock all Booster for WooCommerce features, please install additional <a href="http://boostwoo.com/plus/">Booster for WooCommerce Plus</a> plugin.
104
 
105
  == Screenshots ==
106
 
108
 
109
  == Changelog ==
110
 
111
+ = 2.2.5 - 02/08/2015 =
112
+ * Fix - datepicker js script - issue with bazar theme (Add Shortcodes on page edit) fixed.
113
+ * Dev - Plugin renaming continued.
114
+
115
  = 2.2.4 - 01/08/2015 =
116
  * Dev - Plugin renamed from "WooCommerce Jetpack" to "Booster for WooCommerce" (`name_changed_notice` added).
117
  * Dev - PRODUCTS - Sorting - "Sort SKUs as numbers instead of as texts" option added.
418
  %price%, %price_excluding_tax% (suggested by Josh),
419
  %stock_availability% (by https://wordpress.org/support/topic/custom-tabs-1),
420
  %time_since_last_sale%, %weight%, %list_attributes% etc.
421
+ For full list of short codes, please visit http://boostwoo.com/features/product-info/
422
  * Feature Upgraded - Product Listings - Option to change default WooCommerce behavior on displaying all products if none categories are dispalyed.
423
  Now it's possible to disable displaying the products. Suggested by Xavier.
424
  * Feature Upgraded - PDF Invoices - Order date and time added. Suggested by https://wordpress.org/support/topic/order-time
woocommerce-jetpack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Booster for WooCommerce
4
  Plugin URI: http://BoostWoo.com
5
  Description: Supercharge your WooCommerce site with these awesome powerful features.
6
- Version: 2.2.4
7
  Author: Algoritmika Ltd
8
  Author URI: http://www.algoritmika.com
9
  Copyright: © 2015 Algoritmika Ltd.
@@ -61,6 +61,8 @@ final class WC_Jetpack {
61
 
62
  /**
63
  * WC_Jetpack Constructor.
 
 
64
  * @access public
65
  */
66
  public function __construct() {
@@ -89,7 +91,7 @@ final class WC_Jetpack {
89
  if ( is_admin() ) {
90
  if ( 'yes' === get_option( 'wcj_purchase_data_enabled' ) || 'yes' === get_option( 'wcj_pdf_invoicing_enabled' ) ) {
91
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
92
- add_action( 'admin_head', array( $this, 'add_datepicker_script' ) );
93
  }
94
  }
95
 
@@ -140,13 +142,16 @@ final class WC_Jetpack {
140
 
141
  /**
142
  * enqueue_scripts.
 
 
143
  */
144
  public function enqueue_scripts() {
145
- wp_enqueue_script('jquery-ui-datepicker');
 
146
  wp_enqueue_style( 'jquery-ui-css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
147
  }
148
 
149
- public function add_datepicker_script() {
150
  ?>
151
  <script>
152
  jQuery(document).ready(function() {
@@ -156,7 +161,7 @@ final class WC_Jetpack {
156
  });
157
  </script>
158
  <?php
159
- }
160
 
161
  /**
162
  * admin_footer_text
3
  Plugin Name: Booster for WooCommerce
4
  Plugin URI: http://BoostWoo.com
5
  Description: Supercharge your WooCommerce site with these awesome powerful features.
6
+ Version: 2.2.5
7
  Author: Algoritmika Ltd
8
  Author URI: http://www.algoritmika.com
9
  Copyright: © 2015 Algoritmika Ltd.
61
 
62
  /**
63
  * WC_Jetpack Constructor.
64
+ *
65
+ * @version 2.2.5
66
  * @access public
67
  */
68
  public function __construct() {
91
  if ( is_admin() ) {
92
  if ( 'yes' === get_option( 'wcj_purchase_data_enabled' ) || 'yes' === get_option( 'wcj_pdf_invoicing_enabled' ) ) {
93
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
94
+ //add_action( 'admin_head', array( $this, 'add_datepicker_script' ) );
95
  }
96
  }
97
 
142
 
143
  /**
144
  * enqueue_scripts.
145
+ *
146
+ * @version 2.2.5
147
  */
148
  public function enqueue_scripts() {
149
+ wp_enqueue_script( 'jquery-ui-datepicker' );
150
+ wp_enqueue_script( 'wcj-datepicker', $this->plugin_url() . '/includes/js/wcj-datepicker.js' );
151
  wp_enqueue_style( 'jquery-ui-css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
152
  }
153
 
154
+ /* public function add_datepicker_script() {
155
  ?>
156
  <script>
157
  jQuery(document).ready(function() {
161
  });
162
  </script>
163
  <?php
164
+ } */
165
 
166
  /**
167
  * admin_footer_text
wpml-config.xml CHANGED
@@ -37,6 +37,12 @@
37
  <key name="wcj_product_input_fields_title_global_1" />
38
  <key name="wcj_product_input_fields_placeholder_global_1" />
39
  <key name="wcj_product_input_fields_required_message_global_1" />
 
 
 
 
 
 
40
  <key name="wcj_add_to_cart_per_category_text_single_group_1" />
41
  <key name="wcj_add_to_cart_per_category_text_archive_group_1" />
42
  <key name="wcj_add_to_cart_text_on_single_simple" />
37
  <key name="wcj_product_input_fields_title_global_1" />
38
  <key name="wcj_product_input_fields_placeholder_global_1" />
39
  <key name="wcj_product_input_fields_required_message_global_1" />
40
+ <key name="wcj_product_input_fields_type_checkbox_yes_global_2" />
41
+ <key name="wcj_product_input_fields_type_checkbox_no_global_2" />
42
+ <key name="wcj_product_input_fields_type_file_accept_global_2" />
43
+ <key name="wcj_product_input_fields_title_global_2" />
44
+ <key name="wcj_product_input_fields_placeholder_global_2" />
45
+ <key name="wcj_product_input_fields_required_message_global_2" />
46
  <key name="wcj_add_to_cart_per_category_text_single_group_1" />
47
  <key name="wcj_add_to_cart_per_category_text_archive_group_1" />
48
  <key name="wcj_add_to_cart_text_on_single_simple" />