Version Description
- 12/12/2014 =
- Fix - Temporary disabled all
gettext
(in Cart and Shipping Calculator).
Download this release
Release Info
Developer | algoritmika |
Plugin | Booster for WooCommerce |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- includes/class-wcj-cart.php +5 -5
- includes/class-wcj-shipping-calculator.php +4 -4
- readme.txt +4 -1
- woocommerce-jetpack.php +1 -1
includes/class-wcj-cart.php
CHANGED
@@ -36,8 +36,8 @@ class WCJ_Cart {
|
|
36 |
if ( 'yes' === get_option( 'wcj_add_to_cart_on_visit_enabled' ) )
|
37 |
add_action( 'woocommerce_before_single_product', array( $this, 'add_to_cart_on_visit' ), 100 );
|
38 |
|
39 |
-
if ( 'yes' === get_option( 'wcj_cart_hide_shipping_and_taxes_estimated_message' ) )
|
40 |
-
add_filter( 'gettext', array( $this, 'hide_shipping_and_taxes_estimated_message' ), 20, 3 )
|
41 |
}
|
42 |
|
43 |
// Settings hooks
|
@@ -115,7 +115,7 @@ class WCJ_Cart {
|
|
115 |
|
116 |
/**
|
117 |
* change_labels.
|
118 |
-
|
119 |
public function hide_shipping_and_taxes_estimated_message( $translated_text, $text, $domain ) {
|
120 |
|
121 |
if ( ! function_exists( 'is_cart' ) || ! is_cart() )
|
@@ -147,13 +147,13 @@ class WCJ_Cart {
|
|
147 |
'type' => 'checkbox',
|
148 |
),
|
149 |
|
150 |
-
array(
|
151 |
'title' => __( 'Hide "Note: Shipping and taxes are estimated..." message on Cart page', 'woocommerce-jetpack' ),
|
152 |
'desc' => __( 'Hide', 'woocommerce-jetpack' ),
|
153 |
'id' => 'wcj_cart_hide_shipping_and_taxes_estimated_message',
|
154 |
'default' => 'no',
|
155 |
'type' => 'checkbox',
|
156 |
-
)
|
157 |
|
158 |
array( 'type' => 'sectionend', 'id' => 'wcj_cart_options' ),
|
159 |
|
36 |
if ( 'yes' === get_option( 'wcj_add_to_cart_on_visit_enabled' ) )
|
37 |
add_action( 'woocommerce_before_single_product', array( $this, 'add_to_cart_on_visit' ), 100 );
|
38 |
|
39 |
+
/*if ( 'yes' === get_option( 'wcj_cart_hide_shipping_and_taxes_estimated_message' ) )
|
40 |
+
add_filter( 'gettext', array( $this, 'hide_shipping_and_taxes_estimated_message' ), 20, 3 );*/
|
41 |
}
|
42 |
|
43 |
// Settings hooks
|
115 |
|
116 |
/**
|
117 |
* change_labels.
|
118 |
+
*
|
119 |
public function hide_shipping_and_taxes_estimated_message( $translated_text, $text, $domain ) {
|
120 |
|
121 |
if ( ! function_exists( 'is_cart' ) || ! is_cart() )
|
147 |
'type' => 'checkbox',
|
148 |
),
|
149 |
|
150 |
+
/*array(
|
151 |
'title' => __( 'Hide "Note: Shipping and taxes are estimated..." message on Cart page', 'woocommerce-jetpack' ),
|
152 |
'desc' => __( 'Hide', 'woocommerce-jetpack' ),
|
153 |
'id' => 'wcj_cart_hide_shipping_and_taxes_estimated_message',
|
154 |
'default' => 'no',
|
155 |
'type' => 'checkbox',
|
156 |
+
),*/
|
157 |
|
158 |
array( 'type' => 'sectionend', 'id' => 'wcj_cart_options' ),
|
159 |
|
includes/class-wcj-shipping-calculator.php
CHANGED
@@ -26,7 +26,7 @@ class WCJ_Shipping_Calculator {
|
|
26 |
add_filter( 'woocommerce_shipping_calculator_enable_city' , array( $this, 'enable_city' ) );
|
27 |
add_filter( 'woocommerce_shipping_calculator_enable_postcode', array( $this, 'enable_postcode' ) );
|
28 |
add_action( 'wp_head', array( $this, 'add_custom_styles' ) );
|
29 |
-
add_filter( 'gettext', array( $this, 'change_labels' ), 20, 3 );
|
30 |
}
|
31 |
|
32 |
// Settings hooks
|
@@ -37,7 +37,7 @@ class WCJ_Shipping_Calculator {
|
|
37 |
|
38 |
/**
|
39 |
* change_labels.
|
40 |
-
|
41 |
public function change_labels( $translated_text, $text, $domain ) {
|
42 |
|
43 |
if ( ! function_exists( 'is_cart' ) || ! is_cart() )
|
@@ -169,7 +169,7 @@ class WCJ_Shipping_Calculator {
|
|
169 |
),
|
170 |
),
|
171 |
|
172 |
-
array(
|
173 |
'title' => __( 'Label for Calculate Shipping', 'woocommerce-jetpack' ),
|
174 |
'id' => 'wcj_shipping_calculator_label_calculate_shipping',
|
175 |
'default' => '',
|
@@ -181,7 +181,7 @@ class WCJ_Shipping_Calculator {
|
|
181 |
'id' => 'wcj_shipping_calculator_label_update_totals',
|
182 |
'default' => '',
|
183 |
'type' => 'text',
|
184 |
-
)
|
185 |
|
186 |
array( 'type' => 'sectionend', 'id' => 'wcj_shipping_calculator_options' ),
|
187 |
);
|
26 |
add_filter( 'woocommerce_shipping_calculator_enable_city' , array( $this, 'enable_city' ) );
|
27 |
add_filter( 'woocommerce_shipping_calculator_enable_postcode', array( $this, 'enable_postcode' ) );
|
28 |
add_action( 'wp_head', array( $this, 'add_custom_styles' ) );
|
29 |
+
//add_filter( 'gettext', array( $this, 'change_labels' ), 20, 3 );
|
30 |
}
|
31 |
|
32 |
// Settings hooks
|
37 |
|
38 |
/**
|
39 |
* change_labels.
|
40 |
+
*
|
41 |
public function change_labels( $translated_text, $text, $domain ) {
|
42 |
|
43 |
if ( ! function_exists( 'is_cart' ) || ! is_cart() )
|
169 |
),
|
170 |
),
|
171 |
|
172 |
+
/*array(
|
173 |
'title' => __( 'Label for Calculate Shipping', 'woocommerce-jetpack' ),
|
174 |
'id' => 'wcj_shipping_calculator_label_calculate_shipping',
|
175 |
'default' => '',
|
181 |
'id' => 'wcj_shipping_calculator_label_update_totals',
|
182 |
'default' => '',
|
183 |
'type' => 'text',
|
184 |
+
),*/
|
185 |
|
186 |
array( 'type' => 'sectionend', 'id' => 'wcj_shipping_calculator_options' ),
|
187 |
);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.9.1
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -64,6 +64,9 @@ To unlock all WooCommerce Jetpack features, please install additional <a href="h
|
|
64 |
|
65 |
== Changelog ==
|
66 |
|
|
|
|
|
|
|
67 |
= 2.0.1 - 12/12/2014 =
|
68 |
* Dev - CURRENCIES - **Prices and Currencies by Country** - Added no retries on unsuccessful DB update.
|
69 |
|
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.9.1
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 2.0.2
|
8 |
License: GNU General Public License v3.0
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
64 |
|
65 |
== Changelog ==
|
66 |
|
67 |
+
= 2.0.2 - 12/12/2014 =
|
68 |
+
* Fix - Temporary disabled all `gettext` (in Cart and Shipping Calculator).
|
69 |
+
|
70 |
= 2.0.1 - 12/12/2014 =
|
71 |
* Dev - CURRENCIES - **Prices and Currencies by Country** - Added no retries on unsuccessful DB update.
|
72 |
|
woocommerce-jetpack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WooCommerce Jetpack
|
4 |
Plugin URI: http://woojetpack.com
|
5 |
Description: Supercharge your WooCommerce site with these awesome powerful features.
|
6 |
-
Version: 2.0.
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: http://www.algoritmika.com
|
9 |
Copyright: © 2014 Algoritmika Ltd.
|
3 |
Plugin Name: WooCommerce Jetpack
|
4 |
Plugin URI: http://woojetpack.com
|
5 |
Description: Supercharge your WooCommerce site with these awesome powerful features.
|
6 |
+
Version: 2.0.2
|
7 |
Author: Algoritmika Ltd
|
8 |
Author URI: http://www.algoritmika.com
|
9 |
Copyright: © 2014 Algoritmika Ltd.
|