Version Description
- Fix: woocommerce checkout manager required fields space
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 4.8.7 |
| Comparing to | |
| See all releases | |
Code changes from version 4.8.6 to 4.8.7
assets/frontend/js/wooccm-checkout.js
CHANGED
|
@@ -63,7 +63,7 @@
|
|
| 63 |
field.addClass('validate-required');
|
| 64 |
if (field.find('label .required').length === 0) {
|
| 65 |
field.find('label').append(
|
| 66 |
-
'
|
| 67 |
wc_address_i18n_params.i18n_required_text +
|
| 68 |
'">*</abbr>'
|
| 69 |
);
|
|
@@ -72,7 +72,7 @@
|
|
| 72 |
field.find('label .required').remove();
|
| 73 |
field.removeClass('validate-required woocommerce-invalid woocommerce-invalid-required-field');
|
| 74 |
if (field.find('label .optional').length === 0) {
|
| 75 |
-
field.find('label').append('
|
| 76 |
}
|
| 77 |
}
|
| 78 |
}
|
| 63 |
field.addClass('validate-required');
|
| 64 |
if (field.find('label .required').length === 0) {
|
| 65 |
field.find('label').append(
|
| 66 |
+
'<abbr class="required" title="' +
|
| 67 |
wc_address_i18n_params.i18n_required_text +
|
| 68 |
'">*</abbr>'
|
| 69 |
);
|
| 72 |
field.find('label .required').remove();
|
| 73 |
field.removeClass('validate-required woocommerce-invalid woocommerce-invalid-required-field');
|
| 74 |
if (field.find('label .optional').length === 0) {
|
| 75 |
+
field.find('label').append('<span class="optional">(' + wc_address_i18n_params.i18n_optional_text + ')</span>');
|
| 76 |
}
|
| 77 |
}
|
| 78 |
}
|
includes/view/frontend/class-wooccm-fields-handler.php
CHANGED
|
@@ -236,9 +236,9 @@ class WOOCCM_Fields_Handler {
|
|
| 236 |
// -----------------------------------------------------------------------
|
| 237 |
//add_filter('default_option_woocommerce_checkout_address_2_field', array($this, 'woocommerce_checkout_address_2_field'));
|
| 238 |
// Fix address fields priority
|
| 239 |
-
add_filter('woocommerce_get_country_locale_default', array($this, 'remove_fields_priority'));
|
| 240 |
-
|
| 241 |
-
add_filter('woocommerce_get_country_locale_base', array($this, 'remove_fields_priority'));
|
| 242 |
|
| 243 |
// Fix required country notice when shipping address is activated
|
| 244 |
// -----------------------------------------------------------------------
|
| 236 |
// -----------------------------------------------------------------------
|
| 237 |
//add_filter('default_option_woocommerce_checkout_address_2_field', array($this, 'woocommerce_checkout_address_2_field'));
|
| 238 |
// Fix address fields priority
|
| 239 |
+
// add_filter('woocommerce_get_country_locale_default', array($this, 'remove_fields_priority'));
|
| 240 |
+
//
|
| 241 |
+
// add_filter('woocommerce_get_country_locale_base', array($this, 'remove_fields_priority'));
|
| 242 |
|
| 243 |
// Fix required country notice when shipping address is activated
|
| 244 |
// -----------------------------------------------------------------------
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ 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: 4.6
|
| 6 |
Tested up to: 5.3.2
|
| 7 |
-
Stable tag: 4.8.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -99,6 +99,9 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
|
|
| 99 |
|
| 100 |
== Changelog ==
|
| 101 |
|
|
|
|
|
|
|
|
|
|
| 102 |
= 4.8.6 =
|
| 103 |
* Fix: woocommerce checkout manager conditional field
|
| 104 |
|
| 4 |
Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
|
| 5 |
Requires at least: 4.6
|
| 6 |
Tested up to: 5.3.2
|
| 7 |
+
Stable tag: 4.8.7
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 99 |
|
| 100 |
== Changelog ==
|
| 101 |
|
| 102 |
+
= 4.8.7 =
|
| 103 |
+
* Fix: woocommerce checkout manager required fields space
|
| 104 |
+
|
| 105 |
= 4.8.6 =
|
| 106 |
* Fix: woocommerce checkout manager conditional field
|
| 107 |
|
woocommerce-checkout-manager.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Plugin Name: WooCommerce Checkout Manager
|
| 5 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
| 6 |
-
* Version: 4.8.
|
| 7 |
* Author: QuadLayers
|
| 8 |
* Author URI: https://www.quadlayers.com
|
| 9 |
* Copyright: 2019 QuadLayers (https://www.quadlayers.com)
|
|
@@ -17,7 +17,7 @@ if (!defined('WOOCCM_PLUGIN_NAME')) {
|
|
| 17 |
define('WOOCCM_PLUGIN_NAME', 'WooCommerce Checkout Manager');
|
| 18 |
}
|
| 19 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
| 20 |
-
define('WOOCCM_PLUGIN_VERSION', '4.8.
|
| 21 |
}
|
| 22 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
| 23 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|
| 3 |
/**
|
| 4 |
* Plugin Name: WooCommerce Checkout Manager
|
| 5 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
| 6 |
+
* Version: 4.8.7
|
| 7 |
* Author: QuadLayers
|
| 8 |
* Author URI: https://www.quadlayers.com
|
| 9 |
* Copyright: 2019 QuadLayers (https://www.quadlayers.com)
|
| 17 |
define('WOOCCM_PLUGIN_NAME', 'WooCommerce Checkout Manager');
|
| 18 |
}
|
| 19 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
| 20 |
+
define('WOOCCM_PLUGIN_VERSION', '4.8.7');
|
| 21 |
}
|
| 22 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
| 23 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|
