WooCommerce Checkout Manager - Version 6.1.3

Version Description

Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WooCommerce Checkout Manager
Version 6.1.3
Comparing to
See all releases

Code changes from version 6.1.2 to 6.1.3

includes/controller/class-wooccm-checkout.php CHANGED
@@ -78,7 +78,10 @@ class WOOCCM_Checkout_Controller {
78
  public function checkout_force_shipping_address( $posted_data ) {
79
 
80
  if ( get_option( 'wooccm_checkout_force_shipping_address', 'no' ) === 'yes' ) {
81
- return true;
 
 
 
82
  }
83
 
84
  return $posted_data;
78
  public function checkout_force_shipping_address( $posted_data ) {
79
 
80
  if ( get_option( 'wooccm_checkout_force_shipping_address', 'no' ) === 'yes' ) {
81
+
82
+ $posted_data['ship_to_different_address'] = true;
83
+
84
+ return $posted_data;
85
  }
86
 
87
  return $posted_data;
includes/model/class-wooccm-model.php CHANGED
@@ -56,7 +56,9 @@ class WOOCCM_Model {
56
  /**
57
  * Get saved data to prevent missing fields [required, order, clear, disabled]
58
  */
59
- $items[ $item_data['id'] ] = array_replace_recursive( (array) $current_data, $item_data );
 
 
60
 
61
  return $this->save_items( $items );
62
  }
56
  /**
57
  * Get saved data to prevent missing fields [required, order, clear, disabled]
58
  */
59
+ //TODO: 6.1.3
60
+ // $items[ $item_data['id'] ] = array_replace_recursive( (array) $current_data, $item_data );
61
+ $items[ $item_data['id'] ] = array_merge( (array) $current_data, $item_data );
62
 
63
  return $this->save_items( $items );
64
  }
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.1.2
9
  WC requires at least: 3.1.0
10
  WC tested up to: 6.7
11
  License: GPLv3
@@ -149,6 +149,10 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
149
 
150
  == Changelog ==
151
 
 
 
 
 
152
  = 6.1.2
153
  * Fix. WooCommerce Checkout force shipping address checkbox
154
 
5
  Requires at least: 4.9
6
  Tested up to: 6.0.1
7
  Requires PHP: 5.6
8
+ Stable tag: 6.1.3
9
  WC requires at least: 3.1.0
10
  WC tested up to: 6.7
11
  License: GPLv3
149
 
150
  == Changelog ==
151
 
152
+ = 6.1.3
153
+ * Fix. WooCommerce Checkout fields filters
154
+ * Fix. WooCommerce Checkout force shipping address checkbox
155
+
156
  = 6.1.2
157
  * Fix. WooCommerce Checkout force shipping address checkbox
158
 
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.1.2
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.1.2' );
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.1.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.1.3' );
24
  }
25
  if ( ! defined( 'WOOCCM_PLUGIN_FILE' ) ) {
26
  define( 'WOOCCM_PLUGIN_FILE', __FILE__ );