Booster for WooCommerce - Version 2.0.3

Version Description

  • 13/12/2014 =
  • Fix - CURRENCIES - Prices and Currencies by Country - Problems identifying country, when spaces are used in group lists.
Download this release

Release Info

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

Code changes from version 2.0.2 to 2.0.3

includes/class-wcj-price-by-country.php CHANGED
@@ -350,6 +350,7 @@ class WCJ_Price_By_Country {
350
  // Go through all the groups, first found group is returned
351
  for ( $i = 1; $i <= apply_filters( 'wcj_get_option_filter', 1, get_option( 'wcj_price_by_country_total_groups_number', 1 ) ); $i++ ) {
352
  $country_exchange_rate_group = get_option( 'wcj_price_by_country_exchange_rate_countries_group_' . $i );
 
353
  $country_exchange_rate_group = explode( ',', $country_exchange_rate_group );
354
  if ( in_array( $country, $country_exchange_rate_group ) ) {
355
  $this->customer_country_group_id = $i;
@@ -412,7 +413,15 @@ class WCJ_Price_By_Country {
412
 
413
  $settings = array(
414
 
415
- array( 'title' => __( 'Price by Country Options', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'Change product\'s price and currency by customer\'s country. Customer\'s country is detected automatically by IP.', 'woocommerce-jetpack' ), 'id' => 'wcj_price_by_country_options' ),
 
 
 
 
 
 
 
 
416
 
417
  array(
418
  'title' => __( 'Prices and Currencies by Country', 'woocommerce-jetpack' ),
350
  // Go through all the groups, first found group is returned
351
  for ( $i = 1; $i <= apply_filters( 'wcj_get_option_filter', 1, get_option( 'wcj_price_by_country_total_groups_number', 1 ) ); $i++ ) {
352
  $country_exchange_rate_group = get_option( 'wcj_price_by_country_exchange_rate_countries_group_' . $i );
353
+ $country_exchange_rate_group = str_replace( ' ', '', $country_exchange_rate_group );
354
  $country_exchange_rate_group = explode( ',', $country_exchange_rate_group );
355
  if ( in_array( $country, $country_exchange_rate_group ) ) {
356
  $this->customer_country_group_id = $i;
413
 
414
  $settings = array(
415
 
416
+ array(
417
+ 'title' => __( 'Price by Country Options', 'woocommerce-jetpack' ),
418
+ 'type' => 'title',
419
+ 'desc' => __( 'Change product\'s price and currency by customer\'s country. Customer\'s country is detected automatically by IP.', 'woocommerce-jetpack' )
420
+ . '<br>'
421
+ . '<span style="color:gray;font-size:smaller;">'
422
+ . __( 'IP DB version: ', 'woocommerce-jetpack' ) . get_option( 'wcj_geoipcountry_db_version', 0 )
423
+ . '</span>',
424
+ 'id' => 'wcj_price_by_country_options' ),
425
 
426
  array(
427
  'title' => __( 'Prices and Currencies by Country', 'woocommerce-jetpack' ),
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.2
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -21,9 +21,9 @@ WooCommerce Jetpack is a WordPress plugin that supercharges your site with aweso
21
  * PDF Invoices - Add PDF invoices for store owners and for customers. Automatically email PDF invoices to customers (and limit attaching invoice to selected payment gateways only).
22
  * Orders - Sequential order numbering, custom order number prefix, date prefix, suffix and number width. Set minimum order amount.
23
  * More Sorting Options - Add more sorting options or remove sorting at all (including WooCommerce default).
24
- * Payment Gateways - Add and customize up to 10 additional custom off-line payment gateways.
25
- Change icons (images) for all custom and/or default (COD - Cash on Delivery, Cheque, BACS, Mijireh Checkout, PayPal) WooCommerce payment gateways.
26
- Add payment gateways fees to any custom and/or default gateway.
27
  * Checkout - Customize checkout fields: disable/enable fields, set required, change labels and/or placeholders.
28
  * Shipping - Hide shipping when free is available.
29
  * Emails - Add another email recipient(s) to all WooCommerce emails.
@@ -64,6 +64,9 @@ To unlock all WooCommerce Jetpack features, please install additional <a href="h
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 2.0.2 - 12/12/2014 =
68
  * Fix - Temporary disabled all `gettext` (in Cart and Shipping Calculator).
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.3
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
21
  * PDF Invoices - Add PDF invoices for store owners and for customers. Automatically email PDF invoices to customers (and limit attaching invoice to selected payment gateways only).
22
  * Orders - Sequential order numbering, custom order number prefix, date prefix, suffix and number width. Set minimum order amount.
23
  * More Sorting Options - Add more sorting options or remove sorting at all (including WooCommerce default).
24
+ * Payment Gateways - Change icons (images) for all default (COD - Cash on Delivery, Cheque, BACS, Mijireh Checkout, PayPal) WooCommerce payment gateways.
25
+ Add payment gateways fees to any default WooCommerce gateway.
26
+ Add and customize up to 10 additional custom off-line payment gateways.
27
  * Checkout - Customize checkout fields: disable/enable fields, set required, change labels and/or placeholders.
28
  * Shipping - Hide shipping when free is available.
29
  * Emails - Add another email recipient(s) to all WooCommerce emails.
64
 
65
  == Changelog ==
66
 
67
+ = 2.0.3 - 13/12/2014 =
68
+ * Fix - CURRENCIES - **Prices and Currencies by Country** - Problems identifying country, when spaces are used in group lists.
69
+
70
  = 2.0.2 - 12/12/2014 =
71
  * Fix - Temporary disabled all `gettext` (in Cart and Shipping Calculator).
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.2
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.3
7
  Author: Algoritmika Ltd
8
  Author URI: http://www.algoritmika.com
9
  Copyright: © 2014 Algoritmika Ltd.