Version Description
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 6.0.7.3 |
| Comparing to | |
| See all releases | |
Code changes from version 6.0.7.2 to 6.0.7.3
includes/view/frontend/class-wooccm-fields-register.php
CHANGED
|
@@ -76,17 +76,29 @@ class WOOCCM_Fields_Register {
|
|
| 76 |
return $fields;
|
| 77 |
}
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
public function add_keys( $fields ) {
|
| 80 |
$frontend_fields = array();
|
| 81 |
|
| 82 |
foreach ( $fields as $field_id => $field ) {
|
| 83 |
-
if ( ! empty( $field['key'] ) ) {
|
| 84 |
$frontend_fields[ $field['key'] ] = $field;
|
| 85 |
-
|
| 86 |
-
// Preveser empty keys to revemo the core fields in the array_merge of the add_billing_fields|add_shipping_fields|add_additional_fields
|
| 87 |
-
if ( ! empty( $field['disabled'] ) ) {
|
| 88 |
-
$frontend_fields[ $field['key'] ] = null;
|
| 89 |
-
}
|
| 90 |
}
|
| 91 |
}
|
| 92 |
|
| 76 |
return $fields;
|
| 77 |
}
|
| 78 |
|
| 79 |
+
// public function add_keys( $fields ) {
|
| 80 |
+
// $frontend_fields = array();
|
| 81 |
+
|
| 82 |
+
// foreach ( $fields as $field_id => $field ) {
|
| 83 |
+
// if ( ! empty( $field['key'] ) ) {
|
| 84 |
+
// $frontend_fields[ $field['key'] ] = $field;
|
| 85 |
+
|
| 86 |
+
// Preveser empty keys to revemo the core fields in the array_merge of the add_billing_fields|add_shipping_fields|add_additional_fields
|
| 87 |
+
// if ( ! empty( $field['disabled'] ) ) {
|
| 88 |
+
// $frontend_fields[ $field['key'] ] = null;
|
| 89 |
+
// }
|
| 90 |
+
// }
|
| 91 |
+
// }
|
| 92 |
+
|
| 93 |
+
// return $frontend_fields;
|
| 94 |
+
// }
|
| 95 |
+
|
| 96 |
public function add_keys( $fields ) {
|
| 97 |
$frontend_fields = array();
|
| 98 |
|
| 99 |
foreach ( $fields as $field_id => $field ) {
|
| 100 |
+
if ( ! empty( $field['key'] )/* && empty( $field['disabled'] ) */ ) {
|
| 101 |
$frontend_fields[ $field['key'] ] = $field;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
}
|
| 104 |
|
readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Tags: checkout field editor, woocommerce checkout field editor, checkout manager
|
|
| 5 |
Requires at least: 4.9
|
| 6 |
Tested up to: 6.0.1
|
| 7 |
Requires PHP: 5.6
|
| 8 |
-
Stable tag: 6.0.7.
|
| 9 |
WC requires at least: 3.1.0
|
| 10 |
WC tested up to: 6.6.1
|
| 11 |
License: GPLv3
|
|
@@ -149,8 +149,10 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
|
|
| 149 |
|
| 150 |
== Changelog ==
|
| 151 |
|
| 152 |
-
= 6.0.7.
|
| 153 |
* Fix. WooCommerce Checkout remove fields
|
|
|
|
|
|
|
| 154 |
* Fix. WooCommerce Checkout email settings save
|
| 155 |
* Fix: WooCommerce Checkout Datepicker placeholder
|
| 156 |
* Fix: WooCommerce Checkout Address field conditional hidden
|
| 5 |
Requires at least: 4.9
|
| 6 |
Tested up to: 6.0.1
|
| 7 |
Requires PHP: 5.6
|
| 8 |
+
Stable tag: 6.0.7.3
|
| 9 |
WC requires at least: 3.1.0
|
| 10 |
WC tested up to: 6.6.1
|
| 11 |
License: GPLv3
|
| 149 |
|
| 150 |
== Changelog ==
|
| 151 |
|
| 152 |
+
= 6.0.7.3
|
| 153 |
* Fix. WooCommerce Checkout remove fields
|
| 154 |
+
|
| 155 |
+
= 6.0.7.2
|
| 156 |
* Fix. WooCommerce Checkout email settings save
|
| 157 |
* Fix: WooCommerce Checkout Datepicker placeholder
|
| 158 |
* Fix: WooCommerce Checkout Address field conditional hidden
|
woocommerce-checkout-manager.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin Name: Checkout Fields Manager for WooCommerce
|
| 5 |
* Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
|
| 6 |
* Description: Manage and customize WooCommerce Checkout fields (Add, Edit, Delete or re-order fields).
|
| 7 |
-
* Version: 6.0.7.
|
| 8 |
* Author: QuadLayers
|
| 9 |
* Author URI: https://quadlayers.com
|
| 10 |
* License: GPLv3
|
|
@@ -20,7 +20,7 @@ if ( ! defined( 'WOOCCM_PLUGIN_NAME' ) ) {
|
|
| 20 |
define( 'WOOCCM_PLUGIN_NAME', 'Checkout Fields Manager for WooCommerce' );
|
| 21 |
}
|
| 22 |
if ( ! defined( 'WOOCCM_PLUGIN_VERSION' ) ) {
|
| 23 |
-
define( 'WOOCCM_PLUGIN_VERSION', '6.0.7.
|
| 24 |
}
|
| 25 |
if ( ! defined( 'WOOCCM_PLUGIN_FILE' ) ) {
|
| 26 |
define( 'WOOCCM_PLUGIN_FILE', __FILE__ );
|
| 4 |
* Plugin Name: Checkout Fields Manager for WooCommerce
|
| 5 |
* Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
|
| 6 |
* Description: Manage and customize WooCommerce Checkout fields (Add, Edit, Delete or re-order fields).
|
| 7 |
+
* Version: 6.0.7.3
|
| 8 |
* Author: QuadLayers
|
| 9 |
* Author URI: https://quadlayers.com
|
| 10 |
* License: GPLv3
|
| 20 |
define( 'WOOCCM_PLUGIN_NAME', 'Checkout Fields Manager for WooCommerce' );
|
| 21 |
}
|
| 22 |
if ( ! defined( 'WOOCCM_PLUGIN_VERSION' ) ) {
|
| 23 |
+
define( 'WOOCCM_PLUGIN_VERSION', '6.0.7.3' );
|
| 24 |
}
|
| 25 |
if ( ! defined( 'WOOCCM_PLUGIN_FILE' ) ) {
|
| 26 |
define( 'WOOCCM_PLUGIN_FILE', __FILE__ );
|
