WooCommerce Checkout Manager - Version 3.6.5

Version Description

WPML bug fixes 4

=

Download this release

Release Info

Developer Emark
Plugin Icon 128x128 WooCommerce Checkout Manager
Version 3.6.5
Comparing to
See all releases

Code changes from version 3.6.4 to 3.6.5

Files changed (2) hide show
  1. readme.txt +9 -3
  2. woocommerce-checkout-manager.php +13 -7
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.trottyzone.com/donation/
4
  Tags: woocommerce, checkout settings, remove fields, shipping, order, fields, checkout page, checkout field, checkout manager, required remove, woocommerce checkout manager, checkout, checkout field editor, field editor, woocommerce custom checkout options , custom checkout, checkout option, field, payment, sell, buy, pay, tax, notice, re-order, order, new field, save field, manager, options, field editor
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
- Stable tag: 3.6.4
8
  License: GPLv2 or later
9
 
10
  Manages WooCommerce Checkout
@@ -34,6 +34,8 @@ This is a WooCommerce extension plugin that targets the checkout processes in wh
34
  = PRO VERSION =
35
  [WooCommerce Checkout Manager Pro](http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/) offers these cool nifty extra features:
36
 
 
 
37
  = Ten ( 12 ) field types included: =
38
  1. Text Input
39
  2. Text Area
@@ -298,7 +300,8 @@ WPML bug fix 2 (translation for e-mails)
298
  = 3.6.4 =
299
  WPML bug fixes 3
300
 
301
-
 
302
 
303
  == Changelog ==
304
  = 1.0 =
@@ -414,4 +417,7 @@ WPML bug fix
414
  WPML bug fix 2 (translation for e-mails)
415
 
416
  = 3.6.4 =
417
- WPML bug fixes 3
 
 
 
4
  Tags: woocommerce, checkout settings, remove fields, shipping, order, fields, checkout page, checkout field, checkout manager, required remove, woocommerce checkout manager, checkout, checkout field editor, field editor, woocommerce custom checkout options , custom checkout, checkout option, field, payment, sell, buy, pay, tax, notice, re-order, order, new field, save field, manager, options, field editor
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
+ Stable tag: 3.6.5
8
  License: GPLv2 or later
9
 
10
  Manages WooCommerce Checkout
34
  = PRO VERSION =
35
  [WooCommerce Checkout Manager Pro](http://www.trottyzone.com/product/woocommerce-checkout-manager-pro/) offers these cool nifty extra features:
36
 
37
+ * **<span style="color:red;">New!</span>** Add new fields to the **Billing Address** or/and **Shipping Address** Section. These fields can be **EDITED** on the **My Account Page**.
38
+
39
  = Ten ( 12 ) field types included: =
40
  1. Text Input
41
  2. Text Area
300
  = 3.6.4 =
301
  WPML bug fixes 3
302
 
303
+ = 3.6.5 =
304
+ WPML bug fixes 4
305
 
306
  == Changelog ==
307
  = 1.0 =
417
  WPML bug fix 2 (translation for e-mails)
418
 
419
  = 3.6.4 =
420
+ WPML bug fixes 3
421
+
422
+ = 3.6.5 =
423
+ WPML bug fixes 4
woocommerce-checkout-manager.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WooCommerce Checkout Manager
4
  Plugin URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro
5
  Description: Manages WooCommerce Checkout fields
6
- Version: 3.6.4
7
  Author: Ephrain Marchan
8
  Author URI: http://www.trottyzone.com
9
  License: GPLv2 or later
@@ -992,12 +992,14 @@ function wccs_options_validate( $input ) {
992
  $options = get_option( 'wccs_settings' );
993
  // Don't save empty inputs
994
  foreach( $input['buttons'] as $i => $btn ) :
 
995
  if( function_exists( 'icl_register_string' ) ) {
996
 
997
- apply_filters('register_string_for_translation', 'WooCommerce Checkout Manager', ''.$btn['label'].'', ''.$btn['label'].'');
998
- apply_filters('register_string_for_translation', 'WooCommerce Checkout Manager', ''.$btn['placeholder'].'', ''.$btn['placeholder'].'');
999
- apply_filters('register_string_for_translation', 'WooCommerce Checkout Manager', ''.$btn['option_a'].'', ''.$btn['option_a'].'');
1000
- apply_filters('register_string_for_translation', 'WooCommerce Checkout Manager', ''.$btn['option_b'].'', ''.$btn['option_b'].'');
 
1001
  }
1002
  if ( empty( $btn['label'] ) )
1003
  unset( $input['buttons'][$i], $btn );
@@ -1006,7 +1008,7 @@ if( function_exists( 'icl_register_string' ) ) {
1006
  foreach( $input['replace'] as $type => $value ) :
1007
  if( function_exists( 'icl_register_string' ) ) {
1008
  if(!empty($value) && $value!=''){
1009
- apply_filters('register_string_for_translation', 'WooCommerce Checkout Manager', ''.$value.'', ''.$value.'');
1010
  }
1011
  }
1012
  if ( empty( $btn['label'] ) )
@@ -1227,6 +1229,10 @@ add_filter( 'wcdn_order_info_fields', 'wccm_woocommerce_delivery_notes_compat',
1227
 
1228
  function wpml_string_wccm($input) {
1229
 
1230
- return apply_filters('translate_string', 'WooCommerce Checkout Manager', ''.$input.'', ''.$input.'');
 
 
 
 
1231
 
1232
  }
3
  Plugin Name: WooCommerce Checkout Manager
4
  Plugin URI: http://www.trottyzone.com/product/woocommerce-checkout-manager-pro
5
  Description: Manages WooCommerce Checkout fields
6
+ Version: 3.6.5
7
  Author: Ephrain Marchan
8
  Author URI: http://www.trottyzone.com
9
  License: GPLv2 or later
992
  $options = get_option( 'wccs_settings' );
993
  // Don't save empty inputs
994
  foreach( $input['buttons'] as $i => $btn ) :
995
+
996
  if( function_exists( 'icl_register_string' ) ) {
997
 
998
+ icl_register_string('WooCommerce Checkout Manager', ''.$btn['label'].'', ''.$btn['label'].'');
999
+ icl_register_string('WooCommerce Checkout Manager', ''.$btn['placeholder'].'', ''.$btn['placeholder'].'');
1000
+ icl_register_string('WooCommerce Checkout Manager', ''.$btn['option_a'].'', ''.$btn['option_a'].'');
1001
+ icl_register_string('WooCommerce Checkout Manager', ''.$btn['option_b'].'', ''.$btn['option_b'].'');
1002
+
1003
  }
1004
  if ( empty( $btn['label'] ) )
1005
  unset( $input['buttons'][$i], $btn );
1008
  foreach( $input['replace'] as $type => $value ) :
1009
  if( function_exists( 'icl_register_string' ) ) {
1010
  if(!empty($value) && $value!=''){
1011
+ icl_register_string('WooCommerce Checkout Manager', ''.$value.'', ''.$value.'');
1012
  }
1013
  }
1014
  if ( empty( $btn['label'] ) )
1229
 
1230
  function wpml_string_wccm($input) {
1231
 
1232
+ if (function_exists( 'icl_t' )) {
1233
+ return icl_t('WooCommerce Checkout Manager', ''.$input.'', ''.$input.'');
1234
+ } else {
1235
+ return $input;
1236
+ }
1237
 
1238
  }