Version Description
- 06/10/2015 =
- Fix - Orders Shortcodes -
[wcj_order_checkout_field]
bug fixed.
Download this release
Release Info
Developer | algoritmika |
Plugin | Booster for WooCommerce |
Version | 2.3.6 |
Comparing to | |
See all releases |
Code changes from version 2.3.4 to 2.3.6
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/shortcodes/class-wcj-orders-shortcodes.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
*
|
5 |
* The WooCommerce Jetpack Orders Shortcodes class.
|
6 |
*
|
7 |
-
* @version 2.3.
|
8 |
* @author Algoritmika Ltd.
|
9 |
*/
|
10 |
|
@@ -241,12 +241,12 @@ class WCJ_Orders_Shortcodes extends WCJ_Shortcodes {
|
|
241 |
/**
|
242 |
* wcj_order_checkout_field.
|
243 |
*
|
244 |
-
* @version 2.3.
|
245 |
*/
|
246 |
function wcj_order_checkout_field( $atts ) {
|
247 |
if ( '' == $atts['field_id'] ) return '';
|
248 |
$field_value = $this->the_order->$atts['field_id'];
|
249 |
-
return ( isset( $field_value['value'] ) ) ? $field_value['value'] : $field_value;
|
250 |
}
|
251 |
|
252 |
/**
|
4 |
*
|
5 |
* The WooCommerce Jetpack Orders Shortcodes class.
|
6 |
*
|
7 |
+
* @version 2.3.6
|
8 |
* @author Algoritmika Ltd.
|
9 |
*/
|
10 |
|
241 |
/**
|
242 |
* wcj_order_checkout_field.
|
243 |
*
|
244 |
+
* @version 2.3.6
|
245 |
*/
|
246 |
function wcj_order_checkout_field( $atts ) {
|
247 |
if ( '' == $atts['field_id'] ) return '';
|
248 |
$field_value = $this->the_order->$atts['field_id'];
|
249 |
+
return ( is_array( $field_value ) && isset( $field_value['value'] ) ) ? $field_value['value'] : $field_value;
|
250 |
}
|
251 |
|
252 |
/**
|
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,6 +116,12 @@ To unlock all Booster for WooCommerce features, please install additional <a hre
|
|
116 |
|
117 |
== Changelog ==
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
= 2.3.4 - 04/10/2015 =
|
120 |
* Fix - PRICES & CURRENCIES - Prices and Currencies by Country - Bug, showing changed prices by countries in admin products backend, fixed.
|
121 |
|
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.6
|
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.6 - 06/10/2015 =
|
120 |
+
* Fix - Orders Shortcodes - `[wcj_order_checkout_field]` bug fixed.
|
121 |
+
|
122 |
+
= 2.3.5 - 05/10/2015 =
|
123 |
+
* Fix - PAYMENT GATEWAYS - Gateways Currency - Bug, causing module not to work properly (prices didn't change at checkout), fixed.
|
124 |
+
|
125 |
= 2.3.4 - 04/10/2015 =
|
126 |
* Fix - PRICES & CURRENCIES - Prices and Currencies by Country - Bug, showing changed prices by countries in admin products backend, fixed.
|
127 |
|
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.
|
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.6
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: http://www.algoritmika.com
|
9 |
Copyright: © 2015 Algoritmika Ltd.
|