Version Description
- Fix: conditional of conditional
Download this release
Release Info
Developer | quadlayers |
Plugin | WooCommerce Checkout Manager |
Version | 5.2.4 |
Comparing to | |
See all releases |
Code changes from version 5.2.3 to 5.2.4
assets/backend/js/wooccm-admin-field.js
CHANGED
@@ -34,7 +34,6 @@
|
|
34 |
let defaults = Object.assign({}, wooccm_field.args);
|
35 |
let merged = Object.assign(defaults, form)
|
36 |
return merged
|
37 |
-
|
38 |
}
|
39 |
});
|
40 |
|
@@ -47,6 +46,7 @@
|
|
47 |
var $button = $(e.target),
|
48 |
field_id = $button.closest('[data-field_id]').data('field_id');
|
49 |
var model = new FieldModel();
|
|
|
50 |
model.set({
|
51 |
id: field_id
|
52 |
});
|
@@ -89,7 +89,7 @@
|
|
89 |
var modal = this,
|
90 |
$form = modal.$el.find('#wooccm_modal').find('form');
|
91 |
var model = _.getFormData($form);
|
92 |
-
console.log('model', model)
|
93 |
this.model.set(model);
|
94 |
},
|
95 |
reload: function (e) {
|
34 |
let defaults = Object.assign({}, wooccm_field.args);
|
35 |
let merged = Object.assign(defaults, form)
|
36 |
return merged
|
|
|
37 |
}
|
38 |
});
|
39 |
|
46 |
var $button = $(e.target),
|
47 |
field_id = $button.closest('[data-field_id]').data('field_id');
|
48 |
var model = new FieldModel();
|
49 |
+
//console.log('model init', model)
|
50 |
model.set({
|
51 |
id: field_id
|
52 |
});
|
89 |
var modal = this,
|
90 |
$form = modal.$el.find('#wooccm_modal').find('form');
|
91 |
var model = _.getFormData($form);
|
92 |
+
//console.log('model', model)
|
93 |
this.model.set(model);
|
94 |
},
|
95 |
reload: function (e) {
|
includes/view/backend/pages/modals/parts/info.php
CHANGED
@@ -45,7 +45,7 @@
|
|
45 |
<# if ( data.parent != undefined && _.contains(<?php echo json_encode($option); ?>, data.parent.type) && _.isObject(data.parent.options)) { #>
|
46 |
<select class="wooccm-enhanced-select" name="conditional_parent_value">
|
47 |
<# _.each(data.parent.options, function (option, index) { #>
|
48 |
-
<option <# if (
|
49 |
<# }); #>
|
50 |
</select>
|
51 |
<# } else if( data.parent != undefined && data.parent.type == 'checkbox' ) { #>
|
45 |
<# if ( data.parent != undefined && _.contains(<?php echo json_encode($option); ?>, data.parent.type) && _.isObject(data.parent.options)) { #>
|
46 |
<select class="wooccm-enhanced-select" name="conditional_parent_value">
|
47 |
<# _.each(data.parent.options, function (option, index) { #>
|
48 |
+
<option <# if ( option.label == data.conditional_parent_value ) { #>selected="selected"<# } #> value="{{option.label}}">{{option.label}}</option>
|
49 |
<# }); #>
|
50 |
</select>
|
51 |
<# } else if( data.parent != undefined && data.parent.type == 'checkbox' ) { #>
|
readme.txt
CHANGED
@@ -4,9 +4,9 @@ Donate link: https://quadlayers.com/
|
|
4 |
Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 5.5.0
|
7 |
-
Stable tag: 5.2.
|
8 |
WC requires at least: 3.1.0
|
9 |
-
WC tested up to: 4.
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
@@ -107,6 +107,9 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
110 |
= 5.2.3 =
|
111 |
* Fix: conditional of conditional
|
112 |
|
4 |
Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 5.5.0
|
7 |
+
Stable tag: 5.2.4
|
8 |
WC requires at least: 3.1.0
|
9 |
+
WC tested up to: 4.4.1
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 5.2.4 =
|
111 |
+
* Fix: conditional of conditional
|
112 |
+
|
113 |
= 5.2.3 =
|
114 |
* Fix: conditional of conditional
|
115 |
|
woocommerce-checkout-manager.php
CHANGED
@@ -4,13 +4,13 @@
|
|
4 |
* Plugin Name: Checkout Manager for WooCommerce
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
|
6 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
7 |
-
* Version: 5.2.
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPLv3
|
11 |
* Text Domain: woocommerce-checkout-manager
|
12 |
* WC requires at least: 3.1.0
|
13 |
-
* WC tested up to: 4.
|
14 |
*/
|
15 |
if (!defined('ABSPATH')) {
|
16 |
die('-1');
|
@@ -20,7 +20,7 @@ if (!defined('WOOCCM_PLUGIN_NAME')) {
|
|
20 |
define('WOOCCM_PLUGIN_NAME', 'Checkout Manager for WooCommerce');
|
21 |
}
|
22 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
23 |
-
define('WOOCCM_PLUGIN_VERSION', '5.2.
|
24 |
}
|
25 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
26 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|
4 |
* Plugin Name: Checkout Manager for WooCommerce
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
|
6 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
7 |
+
* Version: 5.2.4
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPLv3
|
11 |
* Text Domain: woocommerce-checkout-manager
|
12 |
* WC requires at least: 3.1.0
|
13 |
+
* WC tested up to: 4.4.1
|
14 |
*/
|
15 |
if (!defined('ABSPATH')) {
|
16 |
die('-1');
|
20 |
define('WOOCCM_PLUGIN_NAME', 'Checkout Manager for WooCommerce');
|
21 |
}
|
22 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
23 |
+
define('WOOCCM_PLUGIN_VERSION', '5.2.4');
|
24 |
}
|
25 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
26 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|