Version Description
- Fix: woocommerce variation swatches compatibility
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 4.8.8 |
| Comparing to | |
| See all releases | |
Code changes from version 4.8.7 to 4.8.8
includes/controller/class-wooccm-advanced.php
CHANGED
|
@@ -45,6 +45,19 @@ class WOOCCM_Checkout_Advanced_Controller {
|
|
| 45 |
// ),
|
| 46 |
// 'default' => 'no',
|
| 47 |
// ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
array(
|
| 49 |
'name' => esc_html__('Custom CSS', 'woocommerce-checkout-manager'),
|
| 50 |
'desc_tip' => esc_html__('Add custom stylesheets to the checkout page.', 'woocommerce-checkout-manager'),
|
| 45 |
// ),
|
| 46 |
// 'default' => 'no',
|
| 47 |
// ),
|
| 48 |
+
array(
|
| 49 |
+
'name' => esc_html__('Export custom fields', 'woocommerce-checkout-manager'),
|
| 50 |
+
'desc_tip' => esc_html__('Include custom fields in CSV export files generated by WooCommerce Customer / Order / Coupon Export.', 'woocommerce-checkout-manager'),
|
| 51 |
+
'id' => 'wooccm_export_custom_fields',
|
| 52 |
+
'type' => 'select',
|
| 53 |
+
'class' => 'chosen_select wooccm-premium-field',
|
| 54 |
+
'desc' => esc_html__('This is a premium feature.', 'woocommerce-checkout-manager'),
|
| 55 |
+
'options' => array(
|
| 56 |
+
'yes' => esc_html__('Yes', 'woocommerce-checkout-manager'),
|
| 57 |
+
'no' => esc_html__('No', 'woocommerce-checkout-manager'),
|
| 58 |
+
),
|
| 59 |
+
'default' => 'yes',
|
| 60 |
+
),
|
| 61 |
array(
|
| 62 |
'name' => esc_html__('Custom CSS', 'woocommerce-checkout-manager'),
|
| 63 |
'desc_tip' => esc_html__('Add custom stylesheets to the checkout page.', 'woocommerce-checkout-manager'),
|
includes/controller/class-wooccm-checkout.php
CHANGED
|
@@ -17,10 +17,10 @@ class WOOCCM_Checkout_Controller {
|
|
| 17 |
|
| 18 |
public function enqueue_scripts() {
|
| 19 |
|
| 20 |
-
WOOCCM()->register_scripts();
|
| 21 |
-
|
| 22 |
if (is_checkout()) {
|
| 23 |
|
|
|
|
|
|
|
| 24 |
$i18n = substr(get_user_locale(), 0, 2);
|
| 25 |
|
| 26 |
wp_enqueue_style('wooccm');
|
| 17 |
|
| 18 |
public function enqueue_scripts() {
|
| 19 |
|
|
|
|
|
|
|
| 20 |
if (is_checkout()) {
|
| 21 |
|
| 22 |
+
WOOCCM()->register_scripts();
|
| 23 |
+
|
| 24 |
$i18n = substr(get_user_locale(), 0, 2);
|
| 25 |
|
| 26 |
wp_enqueue_style('wooccm');
|
includes/controller/class-wooccm-email.php
CHANGED
|
@@ -30,6 +30,7 @@ class WOOCCM_Order_Email_Controller {
|
|
| 30 |
'id' => 'wooccm_email_upload_files',
|
| 31 |
'type' => 'select',
|
| 32 |
'class' => 'chosen_select wooccm-premium-field',
|
|
|
|
| 33 |
'options' => array(
|
| 34 |
'yes' => esc_html__('Yes', 'woocommerce-checkout-manager'),
|
| 35 |
'no' => esc_html__('No', 'woocommerce-checkout-manager'),
|
|
@@ -42,6 +43,7 @@ class WOOCCM_Order_Email_Controller {
|
|
| 42 |
'id' => 'wooccm_email_upload_files_order_status',
|
| 43 |
'type' => 'multiselect',
|
| 44 |
'class' => 'chosen_select wooccm-premium-field',
|
|
|
|
| 45 |
'options' => wc_get_order_statuses(),
|
| 46 |
'default' => array_keys(wc_get_order_statuses()),
|
| 47 |
),
|
|
@@ -50,6 +52,7 @@ class WOOCCM_Order_Email_Controller {
|
|
| 50 |
'desc_tip' => esc_html__('Add custom title for the uploads files table.', 'woocommerce-checkout-manager'),
|
| 51 |
'id' => 'wooccm_email_upload_files_title',
|
| 52 |
'class' => 'wooccm-premium-field',
|
|
|
|
| 53 |
'type' => 'text',
|
| 54 |
'placeholder' => esc_html__('Uploaded files', 'woocommerce-checkout-manager')
|
| 55 |
),
|
|
@@ -59,6 +62,7 @@ class WOOCCM_Order_Email_Controller {
|
|
| 59 |
'id' => 'wooccm_email_custom_fields',
|
| 60 |
'type' => 'select',
|
| 61 |
'class' => 'chosen_select wooccm-premium-field',
|
|
|
|
| 62 |
'options' => array(
|
| 63 |
'yes' => esc_html__('Yes', 'woocommerce-checkout-manager-pro'),
|
| 64 |
'no' => esc_html__('No', 'woocommerce-checkout-manager-pro'),
|
|
@@ -71,6 +75,7 @@ class WOOCCM_Order_Email_Controller {
|
|
| 71 |
'id' => 'wooccm_email_custom_fields_status',
|
| 72 |
'type' => 'multiselect',
|
| 73 |
'class' => 'chosen_select wooccm-premium-field',
|
|
|
|
| 74 |
'options' => wc_get_order_statuses(),
|
| 75 |
'default' => array_keys(wc_get_order_statuses()),
|
| 76 |
),
|
|
@@ -80,6 +85,7 @@ class WOOCCM_Order_Email_Controller {
|
|
| 80 |
'id' => 'wooccm_email_custom_fields_title',
|
| 81 |
'type' => 'text',
|
| 82 |
'class' => 'wooccm-premium-field',
|
|
|
|
| 83 |
'placeholder' => esc_html__('Order extra', 'woocommerce-checkout-manager-pro')
|
| 84 |
),
|
| 85 |
array(
|
| 30 |
'id' => 'wooccm_email_upload_files',
|
| 31 |
'type' => 'select',
|
| 32 |
'class' => 'chosen_select wooccm-premium-field',
|
| 33 |
+
'desc' => esc_html__('This is a premium feature.', 'woocommerce-checkout-manager'),
|
| 34 |
'options' => array(
|
| 35 |
'yes' => esc_html__('Yes', 'woocommerce-checkout-manager'),
|
| 36 |
'no' => esc_html__('No', 'woocommerce-checkout-manager'),
|
| 43 |
'id' => 'wooccm_email_upload_files_order_status',
|
| 44 |
'type' => 'multiselect',
|
| 45 |
'class' => 'chosen_select wooccm-premium-field',
|
| 46 |
+
'desc' => esc_html__('This is a premium feature.', 'woocommerce-checkout-manager'),
|
| 47 |
'options' => wc_get_order_statuses(),
|
| 48 |
'default' => array_keys(wc_get_order_statuses()),
|
| 49 |
),
|
| 52 |
'desc_tip' => esc_html__('Add custom title for the uploads files table.', 'woocommerce-checkout-manager'),
|
| 53 |
'id' => 'wooccm_email_upload_files_title',
|
| 54 |
'class' => 'wooccm-premium-field',
|
| 55 |
+
'desc' => esc_html__('This is a premium feature.', 'woocommerce-checkout-manager'),
|
| 56 |
'type' => 'text',
|
| 57 |
'placeholder' => esc_html__('Uploaded files', 'woocommerce-checkout-manager')
|
| 58 |
),
|
| 62 |
'id' => 'wooccm_email_custom_fields',
|
| 63 |
'type' => 'select',
|
| 64 |
'class' => 'chosen_select wooccm-premium-field',
|
| 65 |
+
'desc' => esc_html__('This is a premium feature.', 'woocommerce-checkout-manager'),
|
| 66 |
'options' => array(
|
| 67 |
'yes' => esc_html__('Yes', 'woocommerce-checkout-manager-pro'),
|
| 68 |
'no' => esc_html__('No', 'woocommerce-checkout-manager-pro'),
|
| 75 |
'id' => 'wooccm_email_custom_fields_status',
|
| 76 |
'type' => 'multiselect',
|
| 77 |
'class' => 'chosen_select wooccm-premium-field',
|
| 78 |
+
'desc' => esc_html__('This is a premium feature.', 'woocommerce-checkout-manager'),
|
| 79 |
'options' => wc_get_order_statuses(),
|
| 80 |
'default' => array_keys(wc_get_order_statuses()),
|
| 81 |
),
|
| 85 |
'id' => 'wooccm_email_custom_fields_title',
|
| 86 |
'type' => 'text',
|
| 87 |
'class' => 'wooccm-premium-field',
|
| 88 |
+
'desc' => esc_html__('This is a premium feature.', 'woocommerce-checkout-manager'),
|
| 89 |
'placeholder' => esc_html__('Order extra', 'woocommerce-checkout-manager-pro')
|
| 90 |
),
|
| 91 |
array(
|
includes/controller/class-wooccm-order.php
CHANGED
|
@@ -17,9 +17,10 @@ class WOOCCM_Order_Controller extends WOOCCM_Upload {
|
|
| 17 |
|
| 18 |
public function frontend_scripts() {
|
| 19 |
|
| 20 |
-
WOOCCM()->register_scripts();
|
| 21 |
-
|
| 22 |
if (is_account_page()) {
|
|
|
|
|
|
|
|
|
|
| 23 |
wp_enqueue_style('wooccm');
|
| 24 |
wp_enqueue_style('dashicons');
|
| 25 |
wp_enqueue_script('wooccm-order-upload');
|
|
@@ -28,10 +29,12 @@ class WOOCCM_Order_Controller extends WOOCCM_Upload {
|
|
| 28 |
|
| 29 |
public function admin_scripts() {
|
| 30 |
|
| 31 |
-
WOOCCM()->register_scripts();
|
| 32 |
-
|
| 33 |
if (is_admin() && $screen = get_current_screen()) {
|
|
|
|
| 34 |
if (in_array($screen->id, array(/* 'product', 'edit-product', */'shop_order', 'edit-shop_order'))) {
|
|
|
|
|
|
|
|
|
|
| 35 |
wp_enqueue_script('wooccm-order-upload');
|
| 36 |
}
|
| 37 |
}
|
| 17 |
|
| 18 |
public function frontend_scripts() {
|
| 19 |
|
|
|
|
|
|
|
| 20 |
if (is_account_page()) {
|
| 21 |
+
|
| 22 |
+
WOOCCM()->register_scripts();
|
| 23 |
+
|
| 24 |
wp_enqueue_style('wooccm');
|
| 25 |
wp_enqueue_style('dashicons');
|
| 26 |
wp_enqueue_script('wooccm-order-upload');
|
| 29 |
|
| 30 |
public function admin_scripts() {
|
| 31 |
|
|
|
|
|
|
|
| 32 |
if (is_admin() && $screen = get_current_screen()) {
|
| 33 |
+
|
| 34 |
if (in_array($screen->id, array(/* 'product', 'edit-product', */'shop_order', 'edit-shop_order'))) {
|
| 35 |
+
|
| 36 |
+
WOOCCM()->register_scripts();
|
| 37 |
+
|
| 38 |
wp_enqueue_script('wooccm-order-upload');
|
| 39 |
}
|
| 40 |
}
|
readme.txt
CHANGED
|
@@ -2,9 +2,11 @@
|
|
| 2 |
Contributors: quadlayers
|
| 3 |
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 |
-
Tested up to: 5.3
|
| 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 +101,9 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
|
|
| 99 |
|
| 100 |
== Changelog ==
|
| 101 |
|
|
|
|
|
|
|
|
|
|
| 102 |
= 4.8.7 =
|
| 103 |
* Fix: woocommerce checkout manager required fields space
|
| 104 |
|
| 2 |
Contributors: quadlayers
|
| 3 |
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.3
|
| 7 |
+
Stable tag: 4.8.8
|
| 8 |
+
WC requires at least: 3.0
|
| 9 |
+
WC tested up to: 3.9
|
| 10 |
License: GPLv2 or later
|
| 11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 12 |
|
| 101 |
|
| 102 |
== Changelog ==
|
| 103 |
|
| 104 |
+
= 4.8.8 =
|
| 105 |
+
* Fix: woocommerce variation swatches compatibility
|
| 106 |
+
|
| 107 |
= 4.8.7 =
|
| 108 |
* Fix: woocommerce checkout manager required fields space
|
| 109 |
|
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.8
|
| 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.8');
|
| 21 |
}
|
| 22 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
| 23 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|
