Version Description
- 05/10/2015 =
- Fix - PAYMENT GATEWAYS - Gateways Currency - Bug, causing module not to work properly (prices didn't change at checkout), fixed.
Download this release
Release Info
Developer | algoritmika |
Plugin | Booster for WooCommerce |
Version | 2.3.5 |
Comparing to | |
See all releases |
Code changes from version 2.3.2 to 2.3.5
includes/class-wcj-payment-gateways-currency.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* The WooCommerce Jetpack Payment Gateways Currency class.
|
6 |
*
|
7 |
-
* @version 2.3.
|
8 |
* @since 2.3.0
|
9 |
* @author Algoritmika Ltd.
|
10 |
*/
|
@@ -18,7 +18,7 @@ class WCJ_Payment_Gateways_Currency extends WCJ_Module {
|
|
18 |
/**
|
19 |
* Constructor.
|
20 |
*
|
21 |
-
* @version 2.3.
|
22 |
*/
|
23 |
function __construct() {
|
24 |
|
@@ -30,7 +30,8 @@ class WCJ_Payment_Gateways_Currency extends WCJ_Module {
|
|
30 |
add_action( 'init', array( $this, 'add_settings_hook' ) );
|
31 |
|
32 |
if ( $this->is_enabled() ) {
|
33 |
-
add_action( 'init', array( $this, 'add_hooks' ) );
|
|
|
34 |
}
|
35 |
}
|
36 |
|
@@ -54,9 +55,12 @@ class WCJ_Payment_Gateways_Currency extends WCJ_Module {
|
|
54 |
|
55 |
/**
|
56 |
* is_cart_or_checkout.
|
|
|
|
|
57 |
*/
|
58 |
function is_cart_or_checkout() {
|
59 |
-
if ( wcj_is_frontend() ) {
|
|
|
60 |
if ( is_cart() || is_checkout() ) return true;
|
61 |
}
|
62 |
return false;
|
4 |
*
|
5 |
* The WooCommerce Jetpack Payment Gateways Currency class.
|
6 |
*
|
7 |
+
* @version 2.3.5
|
8 |
* @since 2.3.0
|
9 |
* @author Algoritmika Ltd.
|
10 |
*/
|
18 |
/**
|
19 |
* Constructor.
|
20 |
*
|
21 |
+
* @version 2.3.5
|
22 |
*/
|
23 |
function __construct() {
|
24 |
|
30 |
add_action( 'init', array( $this, 'add_settings_hook' ) );
|
31 |
|
32 |
if ( $this->is_enabled() ) {
|
33 |
+
/* add_action( 'init', array( $this, 'add_hooks' ) ); */
|
34 |
+
$this->add_hooks();
|
35 |
}
|
36 |
}
|
37 |
|
55 |
|
56 |
/**
|
57 |
* is_cart_or_checkout.
|
58 |
+
*
|
59 |
+
* @version 2.3.5
|
60 |
*/
|
61 |
function is_cart_or_checkout() {
|
62 |
+
//if ( wcj_is_frontend() ) {
|
63 |
+
if ( ! is_admin() ) {
|
64 |
if ( is_cart() || is_checkout() ) return true;
|
65 |
}
|
66 |
return false;
|
includes/class-wcj-price-by-country.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* The WooCommerce Jetpack Price by Country class.
|
6 |
*
|
7 |
-
* @version 2.3.
|
8 |
* @author Algoritmika Ltd.
|
9 |
*/
|
10 |
|
@@ -17,7 +17,7 @@ class WCJ_Price_By_Country extends WCJ_Module {
|
|
17 |
/**
|
18 |
* Constructor.
|
19 |
*
|
20 |
-
* @version 2.3.
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
|
@@ -28,21 +28,18 @@ class WCJ_Price_By_Country extends WCJ_Module {
|
|
28 |
|
29 |
if ( $this->is_enabled() ) {
|
30 |
|
31 |
-
|
32 |
// Frontend
|
33 |
include_once( 'price-by-country/class-wcj-price-by-country-core.php' );
|
34 |
-
|
35 |
if ( is_admin() ) {
|
36 |
// Backend
|
37 |
-
// include_once( 'price-by-country/class-wcj-exchange-rates.php' );
|
38 |
include_once( 'price-by-country/class-wcj-price-by-country-reports.php' );
|
39 |
if ( 'yes' === get_option( 'wcj_price_by_country_local_enabled' ) ) {
|
40 |
include_once( 'price-by-country/class-wcj-price-by-country-local.php' );
|
41 |
}
|
42 |
}
|
43 |
}
|
44 |
-
// include_once( 'price-by-country/class-wcj-exchange-rates.php' );
|
45 |
-
// include_once( 'price-by-country/class-wcj-exchange-rates-crons.php' );
|
46 |
}
|
47 |
|
48 |
/**
|
4 |
*
|
5 |
* The WooCommerce Jetpack Price by Country class.
|
6 |
*
|
7 |
+
* @version 2.3.4
|
8 |
* @author Algoritmika Ltd.
|
9 |
*/
|
10 |
|
17 |
/**
|
18 |
* Constructor.
|
19 |
*
|
20 |
+
* @version 2.3.4
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
|
28 |
|
29 |
if ( $this->is_enabled() ) {
|
30 |
|
31 |
+
if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
|
32 |
// Frontend
|
33 |
include_once( 'price-by-country/class-wcj-price-by-country-core.php' );
|
34 |
+
}
|
35 |
if ( is_admin() ) {
|
36 |
// Backend
|
|
|
37 |
include_once( 'price-by-country/class-wcj-price-by-country-reports.php' );
|
38 |
if ( 'yes' === get_option( 'wcj_price_by_country_local_enabled' ) ) {
|
39 |
include_once( 'price-by-country/class-wcj-price-by-country-local.php' );
|
40 |
}
|
41 |
}
|
42 |
}
|
|
|
|
|
43 |
}
|
44 |
|
45 |
/**
|
includes/js/wcj-datepicker.js
CHANGED
@@ -2,5 +2,4 @@ jQuery(document).ready(function() {
|
|
2 |
jQuery("input[display='date']").datepicker({
|
3 |
dateFormat : 'yy/mm/dd'
|
4 |
});
|
5 |
-
jQuery("input[display='time']").timepicker();
|
6 |
});
|
2 |
jQuery("input[display='date']").datepicker({
|
3 |
dateFormat : 'yy/mm/dd'
|
4 |
});
|
|
|
5 |
});
|
includes/js/wcj-timepicker.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function() {
|
2 |
+
jQuery("input[display='time']").timepicker();
|
3 |
+
});
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.3
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -116,8 +116,17 @@ To unlock all Booster for WooCommerce features, please install additional <a hre
|
|
116 |
|
117 |
== Changelog ==
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
= 2.3.2 - 03/10/2015 =
|
120 |
-
* Fix - PAYMENT GATEWAYS - Gateways Currency - Bug, breaking some WP dashboard functions, fixed.
|
121 |
|
122 |
= 2.3.1 - 02/10/2015 =
|
123 |
* Dev - PAYMENT GATEWAYS - Gateways Icons - Remove Icon option added.
|
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.3
|
7 |
+
Stable tag: 2.3.5
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
116 |
|
117 |
== Changelog ==
|
118 |
|
119 |
+
= 2.3.5 - 05/10/2015 =
|
120 |
+
* Fix - PAYMENT GATEWAYS - Gateways Currency - Bug, causing module not to work properly (prices didn't change at checkout), fixed.
|
121 |
+
|
122 |
+
= 2.3.4 - 04/10/2015 =
|
123 |
+
* Fix - PRICES & CURRENCIES - Prices and Currencies by Country - Bug, showing changed prices by countries in admin products backend, fixed.
|
124 |
+
|
125 |
+
= 2.3.3 - 03/10/2015 =
|
126 |
+
* Fix - Bug, breaking some WP dashboard functions, fixed (e.g. Admin WP Menus manager).
|
127 |
+
|
128 |
= 2.3.2 - 03/10/2015 =
|
129 |
+
* Fix - PAYMENT GATEWAYS - Gateways Currency - Bug, breaking some WP dashboard functions, fixed (e.g. Admin WP Media uploader).
|
130 |
|
131 |
= 2.3.1 - 02/10/2015 =
|
132 |
* Dev - PAYMENT GATEWAYS - Gateways Icons - Remove Icon option added.
|
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.3.
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: http://www.algoritmika.com
|
9 |
Copyright: © 2015 Algoritmika Ltd.
|
@@ -20,7 +20,8 @@ if ( ! class_exists( 'WC_Jetpack' ) ) :
|
|
20 |
/**
|
21 |
* Main WC_Jetpack Class
|
22 |
*
|
23 |
-
* @class
|
|
|
24 |
*/
|
25 |
|
26 |
final class WC_Jetpack {
|
@@ -119,7 +120,7 @@ final class WC_Jetpack {
|
|
119 |
/**
|
120 |
* enqueue_frontend_scripts.
|
121 |
*
|
122 |
-
* @version 2.3.
|
123 |
* @since 2.3.0
|
124 |
*/
|
125 |
function enqueue_frontend_scripts() {
|
@@ -129,9 +130,13 @@ final class WC_Jetpack {
|
|
129 |
array( 'jquery' ),
|
130 |
false,
|
131 |
true );
|
|
|
|
|
|
|
|
|
132 |
|
133 |
wp_enqueue_style( 'jquery-ui-css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
|
134 |
-
wp_enqueue_style( 'wcj-timepicker', wcj_plugin_url() . '/includes/css/jquery.timepicker.min.css' );
|
135 |
}
|
136 |
|
137 |
/**
|
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.3.5
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: http://www.algoritmika.com
|
9 |
Copyright: © 2015 Algoritmika Ltd.
|
20 |
/**
|
21 |
* Main WC_Jetpack Class
|
22 |
*
|
23 |
+
* @class WC_Jetpack
|
24 |
+
* @version 2.3.3
|
25 |
*/
|
26 |
|
27 |
final class WC_Jetpack {
|
120 |
/**
|
121 |
* enqueue_frontend_scripts.
|
122 |
*
|
123 |
+
* @version 2.3.3
|
124 |
* @since 2.3.0
|
125 |
*/
|
126 |
function enqueue_frontend_scripts() {
|
130 |
array( 'jquery' ),
|
131 |
false,
|
132 |
true );
|
133 |
+
wp_enqueue_script( 'wcj-timepicker', wcj_plugin_url() . '/includes/js/wcj-timepicker.js',
|
134 |
+
array( 'jquery' ),
|
135 |
+
false,
|
136 |
+
true );
|
137 |
|
138 |
wp_enqueue_style( 'jquery-ui-css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );
|
139 |
+
wp_enqueue_style( 'wcj-timepicker-css', wcj_plugin_url() . '/includes/css/jquery.timepicker.min.css' );
|
140 |
}
|
141 |
|
142 |
/**
|