WooCommerce Direct Checkout - Version 2.4.4

Version Description

  • Fix: change tab alert
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WooCommerce Direct Checkout
Version 2.4.4
Comparing to
See all releases

Code changes from version 2.4.3 to 2.4.4

assets/backend/qlwcdc-admin.js CHANGED
@@ -1,104 +1,118 @@
 
 
 
1
  (function ($) {
2
  'use strict';
3
- $(window).on('load', function (e) {
4
- // General
5
- // -----------------------------------------------------------------
6
- $('select#qlwcdc_add_to_cart_redirect_page').change(function () {
7
- if ('url' === $(this).val() && 'yes' == $('select#qlwcdc_add_to_cart_redirect').val()) {
8
- $('input#qlwcdc_add_to_cart_redirect_url').closest('tr, p').fadeIn();
9
- } else {
10
- $('input#qlwcdc_add_to_cart_redirect_url').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
11
- }
12
- });
13
- $('select#qlwcdc_add_to_cart_redirect').change(function () {
14
- if ('yes' === $(this).val()) {
15
- $('select#qlwcdc_add_to_cart_redirect_page').change();
16
- $('select#qlwcdc_add_to_cart_redirect_page').closest('tr, p').fadeIn();
17
- } else {
18
- $('select#qlwcdc_add_to_cart_redirect_page').change();
19
- $('select#qlwcdc_add_to_cart_redirect_page').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
20
- }
21
- }).change();
22
- $('select#qlwcdc_add_to_cart_redirect_page').change(function () {
23
- if ('url' === $(this).val() && 'redirect' == $('select#qlwcdc_add_to_cart').val()) {
24
- $('input#qlwcdc_add_to_cart_redirect_url').closest('tr, p').fadeIn();
25
- } else {
26
- $('input#qlwcdc_add_to_cart_redirect_url').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
27
- }
28
- });
29
- $('select#qlwcdc_add_to_cart').change(function () {
30
- if ('ajax' === $(this).val()) {
31
- $('select#qlwcdc_add_to_cart_ajax_button').closest('tr, p').fadeIn();
32
- $('select#qlwcdc_add_to_cart_ajax_message').closest('tr, p').fadeIn();
33
- } else {
34
- $('select#qlwcdc_add_to_cart_ajax_button').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
35
- $('select#qlwcdc_add_to_cart_ajax_message').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
36
- }
37
- if ('redirect' === $(this).val()) {
38
- $('select#qlwcdc_add_to_cart_redirect_page').closest('tr, p').fadeIn();
39
- } else {
40
- $('select#qlwcdc_add_to_cart_redirect_page').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
41
- }
42
  $('select#qlwcdc_add_to_cart_redirect_page').change();
43
- }).change();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
 
45
- $('select#qlwcdc_replace_cart_url').change(function () {
46
- if ('custom' === $(this).val()) {
47
- $('input#qlwcdc_replace_cart_url_custom').closest('tr, p').fadeIn();
48
- } else {
49
- $('input#qlwcdc_replace_cart_url_custom').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
50
- }
51
- }).change();
52
- // Archive
53
- // -----------------------------------------------------------------
54
- $('select#qlwcdc_add_archive_text').change(function () {
55
- if ('yes' === $(this).val()) {
56
- $('select#qlwcdc_add_archive_text_in').closest('tr, p').fadeIn();
57
- $('input#qlwcdc_add_archive_text_content').closest('tr, p').fadeIn();
58
- } else {
59
- $('select#qlwcdc_add_archive_text_in').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
60
- $('input#qlwcdc_add_archive_text_content').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
61
- }
62
- }).change();
63
- // Product
64
- // -----------------------------------------------------------------
65
- $('select#qlwcdc_add_product_ajax').change(function () {
66
- if ('yes' === $(this).val()) {
67
- $('select#qlwcdc_add_product_ajax_alert').closest('tr, p').fadeIn();
68
- } else {
69
- $('select#qlwcdc_add_product_ajax_alert').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
70
- }
71
- }).change();
72
- $('select#qlwcdc_add_product_quick_purchase').change(function () {
73
- if ('yes' === $(this).val()) {
74
- $('select#qlwcdc_add_product_quick_purchase_to').closest('tr, p').fadeIn();
75
- $('select#qlwcdc_add_product_quick_purchase_type').closest('tr, p').fadeIn();
76
- $('input#qlwcdc_add_product_quick_purchase_class').closest('tr, p').fadeIn();
77
- $('input#qlwcdc_add_product_quick_purchase_text').closest('tr, p').fadeIn();
78
- } else {
79
- $('select#qlwcdc_add_product_quick_purchase_to').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
80
- $('select#qlwcdc_add_product_quick_purchase_type').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
81
- $('input#qlwcdc_add_product_quick_purchase_class').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
82
- $('input#qlwcdc_add_product_quick_purchase_text').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
83
- }
84
- }).change();
85
- $('select#qlwcdc_add_product_text').change(function () {
86
- if ('yes' === $(this).val()) {
87
- $('input#qlwcdc_add_product_text_content').closest('tr, p').fadeIn();
88
- } else {
89
- $('input#qlwcdc_add_product_text_content').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
90
- }
91
- }).change();
92
- // Checkout
93
- // -----------------------------------------------------------------
94
- $('select#qlwcdc_add_checkout_cart').change(function () {
95
- if ('yes' === $(this).val()) {
96
- $('select#qlwcdc_add_checkout_cart_fields').closest('tr, p').fadeIn();
97
- $('input#qlwcdc_add_checkout_cart_class').closest('tr, p').fadeIn();
98
- } else {
99
- $('select#qlwcdc_add_checkout_cart_fields').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
100
- $('input#qlwcdc_add_checkout_cart_class').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
101
- }
102
- }).change();
 
 
 
 
 
 
 
 
 
 
 
 
103
  });
104
- }(jQuery));
 
1
+ // General
2
+ // -----------------------------------------------------------------
3
+
4
  (function ($) {
5
  'use strict';
6
+
7
+ $('select#qlwcdc_add_to_cart_redirect_page').on('change qlwcdc-load', (function () {
8
+ if ('url' === $(this).val() && 'yes' == $('select#qlwcdc_add_to_cart_redirect').val()) {
9
+ $('input#qlwcdc_add_to_cart_redirect_url').closest('tr, p').fadeIn();
10
+ } else {
11
+ $('input#qlwcdc_add_to_cart_redirect_url').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
12
+ }
13
+ }));
14
+ $('select#qlwcdc_add_to_cart_redirect').on('change qlwcdc-load', (function () {
15
+ if ('yes' === $(this).val()) {
16
+ $('select#qlwcdc_add_to_cart_redirect_page').change();
17
+ $('select#qlwcdc_add_to_cart_redirect_page').closest('tr, p').fadeIn();
18
+ } else {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  $('select#qlwcdc_add_to_cart_redirect_page').change();
20
+ $('select#qlwcdc_add_to_cart_redirect_page').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
21
+ }
22
+ }))
23
+ $('select#qlwcdc_add_to_cart_redirect_page').on('change qlwcdc-load', (function () {
24
+ if ('url' === $(this).val() && 'redirect' == $('select#qlwcdc_add_to_cart').val()) {
25
+ $('input#qlwcdc_add_to_cart_redirect_url').closest('tr, p').fadeIn();
26
+ } else {
27
+ $('input#qlwcdc_add_to_cart_redirect_url').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
28
+ }
29
+ }));
30
+ $('select#qlwcdc_add_to_cart').on('change qlwcdc-load', (function () {
31
+ if ('ajax' === $(this).val()) {
32
+ $('select#qlwcdc_add_to_cart_ajax_button').closest('tr, p').fadeIn();
33
+ $('select#qlwcdc_add_to_cart_ajax_message').closest('tr, p').fadeIn();
34
+ } else {
35
+ $('select#qlwcdc_add_to_cart_ajax_button').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
36
+ $('select#qlwcdc_add_to_cart_ajax_message').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
37
+ }
38
+ if ('redirect' === $(this).val()) {
39
+ $('select#qlwcdc_add_to_cart_redirect_page').closest('tr, p').fadeIn();
40
+ } else {
41
+ $('select#qlwcdc_add_to_cart_redirect_page').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
42
+ }
43
+ $('select#qlwcdc_add_to_cart_redirect_page').change();
44
+ }))
45
 
46
+ $('select#qlwcdc_replace_cart_url').on('change qlwcdc-load', (function () {
47
+ if ('custom' === $(this).val()) {
48
+ $('input#qlwcdc_replace_cart_url_custom').closest('tr, p').fadeIn();
49
+ } else {
50
+ $('input#qlwcdc_replace_cart_url_custom').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
51
+ }
52
+ }));
53
+ // Archive
54
+ // -----------------------------------------------------------------
55
+ $('select#qlwcdc_add_archive_text').on('change qlwcdc-load', (function () {
56
+ if ('yes' === $(this).val()) {
57
+ $('select#qlwcdc_add_archive_text_in').closest('tr, p').fadeIn();
58
+ $('input#qlwcdc_add_archive_text_content').closest('tr, p').fadeIn();
59
+ } else {
60
+ $('select#qlwcdc_add_archive_text_in').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
61
+ $('input#qlwcdc_add_archive_text_content').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
62
+ }
63
+ }))
64
+ // Product
65
+ // -----------------------------------------------------------------
66
+ $('select#qlwcdc_add_product_ajax').on('change qlwcdc-load', (function () {
67
+ if ('yes' === $(this).val()) {
68
+ $('select#qlwcdc_add_product_ajax_alert').closest('tr, p').fadeIn();
69
+ } else {
70
+ $('select#qlwcdc_add_product_ajax_alert').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
71
+ }
72
+ }))
73
+ $('select#qlwcdc_add_product_quick_purchase').on('change qlwcdc-load', (function () {
74
+ if ('yes' === $(this).val()) {
75
+ $('select#qlwcdc_add_product_quick_purchase_to').closest('tr, p').fadeIn();
76
+ $('select#qlwcdc_add_product_quick_purchase_type').closest('tr, p').fadeIn();
77
+ $('input#qlwcdc_add_product_quick_purchase_class').closest('tr, p').fadeIn();
78
+ $('input#qlwcdc_add_product_quick_purchase_text').closest('tr, p').fadeIn();
79
+ } else {
80
+ $('select#qlwcdc_add_product_quick_purchase_to').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
81
+ $('select#qlwcdc_add_product_quick_purchase_type').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
82
+ $('input#qlwcdc_add_product_quick_purchase_class').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
83
+ $('input#qlwcdc_add_product_quick_purchase_text').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
84
+ }
85
+ }))
86
+ $('select#qlwcdc_add_product_text').on('change qlwcdc-load', (function () {
87
+ if ('yes' === $(this).val()) {
88
+ $('input#qlwcdc_add_product_text_content').closest('tr, p').fadeIn();
89
+ } else {
90
+ $('input#qlwcdc_add_product_text_content').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
91
+ }
92
+ }))
93
+ // Checkout
94
+ // -----------------------------------------------------------------
95
+ $('select#qlwcdc_add_checkout_cart').on('change qlwcdc-load', (function () {
96
+ if ('yes' === $(this).val()) {
97
+ $('select#qlwcdc_add_checkout_cart_fields').closest('tr, p').fadeIn();
98
+ $('input#qlwcdc_add_checkout_cart_class').closest('tr, p').fadeIn();
99
+ } else {
100
+ $('select#qlwcdc_add_checkout_cart_fields').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
101
+ $('input#qlwcdc_add_checkout_cart_class').closest('tr:not(.qlwcdc-premium-field), p').fadeOut();
102
+ }
103
+ }))
104
+
105
+ $(document).on('ready', function (e) {
106
+ $('select#qlwcdc_add_to_cart_redirect_page').trigger('qlwcdc-load');
107
+ $('select#qlwcdc_add_to_cart_redirect').trigger('qlwcdc-load');
108
+ $('select#qlwcdc_add_to_cart_redirect_page').trigger('qlwcdc-load');
109
+ $('select#qlwcdc_add_to_cart').trigger('qlwcdc-load');
110
+ $('select#qlwcdc_replace_cart_url').trigger('qlwcdc-load');
111
+ $('select#qlwcdc_add_archive_text').trigger('qlwcdc-load');
112
+ $('select#qlwcdc_add_product_ajax').trigger('qlwcdc-load');
113
+ $('select#qlwcdc_add_product_quick_purchase').trigger('qlwcdc-load');
114
+ $('select#qlwcdc_add_product_text').trigger('qlwcdc-load');
115
+ $('select#qlwcdc_add_checkout_cart').trigger('qlwcdc-load');
116
  });
117
+
118
+ }(jQuery));
assets/backend/qlwcdc-admin.min.js CHANGED
@@ -1 +1 @@
1
- !function($){"use strict";$(window).on("load",(function(e){$("select#qlwcdc_add_to_cart_redirect_page").change((function(){"url"===$(this).val()&&"yes"==$("select#qlwcdc_add_to_cart_redirect").val()?$("input#qlwcdc_add_to_cart_redirect_url").closest("tr, p").fadeIn():$("input#qlwcdc_add_to_cart_redirect_url").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})),$("select#qlwcdc_add_to_cart_redirect").change((function(){"yes"===$(this).val()?($("select#qlwcdc_add_to_cart_redirect_page").change(),$("select#qlwcdc_add_to_cart_redirect_page").closest("tr, p").fadeIn()):($("select#qlwcdc_add_to_cart_redirect_page").change(),$("select#qlwcdc_add_to_cart_redirect_page").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})).change(),$("select#qlwcdc_add_to_cart_redirect_page").change((function(){"url"===$(this).val()&&"redirect"==$("select#qlwcdc_add_to_cart").val()?$("input#qlwcdc_add_to_cart_redirect_url").closest("tr, p").fadeIn():$("input#qlwcdc_add_to_cart_redirect_url").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})),$("select#qlwcdc_add_to_cart").change((function(){"ajax"===$(this).val()?($("select#qlwcdc_add_to_cart_ajax_button").closest("tr, p").fadeIn(),$("select#qlwcdc_add_to_cart_ajax_message").closest("tr, p").fadeIn()):($("select#qlwcdc_add_to_cart_ajax_button").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("select#qlwcdc_add_to_cart_ajax_message").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()),"redirect"===$(this).val()?$("select#qlwcdc_add_to_cart_redirect_page").closest("tr, p").fadeIn():$("select#qlwcdc_add_to_cart_redirect_page").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("select#qlwcdc_add_to_cart_redirect_page").change()})).change(),$("select#qlwcdc_replace_cart_url").change((function(){"custom"===$(this).val()?$("input#qlwcdc_replace_cart_url_custom").closest("tr, p").fadeIn():$("input#qlwcdc_replace_cart_url_custom").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})).change(),$("select#qlwcdc_add_archive_text").change((function(){"yes"===$(this).val()?($("select#qlwcdc_add_archive_text_in").closest("tr, p").fadeIn(),$("input#qlwcdc_add_archive_text_content").closest("tr, p").fadeIn()):($("select#qlwcdc_add_archive_text_in").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_archive_text_content").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})).change(),$("select#qlwcdc_add_product_ajax").change((function(){"yes"===$(this).val()?$("select#qlwcdc_add_product_ajax_alert").closest("tr, p").fadeIn():$("select#qlwcdc_add_product_ajax_alert").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})).change(),$("select#qlwcdc_add_product_quick_purchase").change((function(){"yes"===$(this).val()?($("select#qlwcdc_add_product_quick_purchase_to").closest("tr, p").fadeIn(),$("select#qlwcdc_add_product_quick_purchase_type").closest("tr, p").fadeIn(),$("input#qlwcdc_add_product_quick_purchase_class").closest("tr, p").fadeIn(),$("input#qlwcdc_add_product_quick_purchase_text").closest("tr, p").fadeIn()):($("select#qlwcdc_add_product_quick_purchase_to").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("select#qlwcdc_add_product_quick_purchase_type").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_product_quick_purchase_class").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_product_quick_purchase_text").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})).change(),$("select#qlwcdc_add_product_text").change((function(){"yes"===$(this).val()?$("input#qlwcdc_add_product_text_content").closest("tr, p").fadeIn():$("input#qlwcdc_add_product_text_content").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})).change(),$("select#qlwcdc_add_checkout_cart").change((function(){"yes"===$(this).val()?($("select#qlwcdc_add_checkout_cart_fields").closest("tr, p").fadeIn(),$("input#qlwcdc_add_checkout_cart_class").closest("tr, p").fadeIn()):($("select#qlwcdc_add_checkout_cart_fields").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_checkout_cart_class").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})).change()}))}(jQuery);
1
+ !function($){"use strict";$("select#qlwcdc_add_to_cart_redirect_page").on("change qlwcdc-load",(function(){"url"===$(this).val()&&"yes"==$("select#qlwcdc_add_to_cart_redirect").val()?$("input#qlwcdc_add_to_cart_redirect_url").closest("tr, p").fadeIn():$("input#qlwcdc_add_to_cart_redirect_url").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})),$("select#qlwcdc_add_to_cart_redirect").on("change qlwcdc-load",(function(){"yes"===$(this).val()?($("select#qlwcdc_add_to_cart_redirect_page").change(),$("select#qlwcdc_add_to_cart_redirect_page").closest("tr, p").fadeIn()):($("select#qlwcdc_add_to_cart_redirect_page").change(),$("select#qlwcdc_add_to_cart_redirect_page").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})),$("select#qlwcdc_add_to_cart_redirect_page").on("change qlwcdc-load",(function(){"url"===$(this).val()&&"redirect"==$("select#qlwcdc_add_to_cart").val()?$("input#qlwcdc_add_to_cart_redirect_url").closest("tr, p").fadeIn():$("input#qlwcdc_add_to_cart_redirect_url").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})),$("select#qlwcdc_add_to_cart").on("change qlwcdc-load",(function(){"ajax"===$(this).val()?($("select#qlwcdc_add_to_cart_ajax_button").closest("tr, p").fadeIn(),$("select#qlwcdc_add_to_cart_ajax_message").closest("tr, p").fadeIn()):($("select#qlwcdc_add_to_cart_ajax_button").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("select#qlwcdc_add_to_cart_ajax_message").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()),"redirect"===$(this).val()?$("select#qlwcdc_add_to_cart_redirect_page").closest("tr, p").fadeIn():$("select#qlwcdc_add_to_cart_redirect_page").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("select#qlwcdc_add_to_cart_redirect_page").change()})),$("select#qlwcdc_replace_cart_url").on("change qlwcdc-load",(function(){"custom"===$(this).val()?$("input#qlwcdc_replace_cart_url_custom").closest("tr, p").fadeIn():$("input#qlwcdc_replace_cart_url_custom").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})),$("select#qlwcdc_add_archive_text").on("change qlwcdc-load",(function(){"yes"===$(this).val()?($("select#qlwcdc_add_archive_text_in").closest("tr, p").fadeIn(),$("input#qlwcdc_add_archive_text_content").closest("tr, p").fadeIn()):($("select#qlwcdc_add_archive_text_in").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_archive_text_content").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})),$("select#qlwcdc_add_product_ajax").on("change qlwcdc-load",(function(){"yes"===$(this).val()?$("select#qlwcdc_add_product_ajax_alert").closest("tr, p").fadeIn():$("select#qlwcdc_add_product_ajax_alert").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})),$("select#qlwcdc_add_product_quick_purchase").on("change qlwcdc-load",(function(){"yes"===$(this).val()?($("select#qlwcdc_add_product_quick_purchase_to").closest("tr, p").fadeIn(),$("select#qlwcdc_add_product_quick_purchase_type").closest("tr, p").fadeIn(),$("input#qlwcdc_add_product_quick_purchase_class").closest("tr, p").fadeIn(),$("input#qlwcdc_add_product_quick_purchase_text").closest("tr, p").fadeIn()):($("select#qlwcdc_add_product_quick_purchase_to").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("select#qlwcdc_add_product_quick_purchase_type").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_product_quick_purchase_class").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_product_quick_purchase_text").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})),$("select#qlwcdc_add_product_text").on("change qlwcdc-load",(function(){"yes"===$(this).val()?$("input#qlwcdc_add_product_text_content").closest("tr, p").fadeIn():$("input#qlwcdc_add_product_text_content").closest("tr:not(.qlwcdc-premium-field), p").fadeOut()})),$("select#qlwcdc_add_checkout_cart").on("change qlwcdc-load",(function(){"yes"===$(this).val()?($("select#qlwcdc_add_checkout_cart_fields").closest("tr, p").fadeIn(),$("input#qlwcdc_add_checkout_cart_class").closest("tr, p").fadeIn()):($("select#qlwcdc_add_checkout_cart_fields").closest("tr:not(.qlwcdc-premium-field), p").fadeOut(),$("input#qlwcdc_add_checkout_cart_class").closest("tr:not(.qlwcdc-premium-field), p").fadeOut())})),$(document).on("ready",(function(e){$("select#qlwcdc_add_to_cart_redirect_page").trigger("qlwcdc-load"),$("select#qlwcdc_add_to_cart_redirect").trigger("qlwcdc-load"),$("select#qlwcdc_add_to_cart_redirect_page").trigger("qlwcdc-load"),$("select#qlwcdc_add_to_cart").trigger("qlwcdc-load"),$("select#qlwcdc_replace_cart_url").trigger("qlwcdc-load"),$("select#qlwcdc_add_archive_text").trigger("qlwcdc-load"),$("select#qlwcdc_add_product_ajax").trigger("qlwcdc-load"),$("select#qlwcdc_add_product_quick_purchase").trigger("qlwcdc-load"),$("select#qlwcdc_add_product_text").trigger("qlwcdc-load"),$("select#qlwcdc_add_checkout_cart").trigger("qlwcdc-load")}))}(jQuery);
readme.txt CHANGED
@@ -64,6 +64,9 @@ The premium version of WooCommerce Direct Checkot allows to include a quick purc
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 2.4.3 =
68
  * Fix: php error
69
 
64
 
65
  == Changelog ==
66
 
67
+ = 2.4.4 =
68
+ * Fix: change tab alert
69
+
70
  = 2.4.3 =
71
  * Fix: php error
72
 
woocommerce-direct-checkout.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Direct Checkout for WooCommerce
5
  * Plugin URI: https://quadlayers.com/documentation/woocommerce-direct-checkout/
6
  * Description: Simplifies the checkout process to improve your sales rate.
7
- * Version: 2.4.3
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
@@ -19,7 +19,7 @@ if (!defined('QLWCDC_PLUGIN_NAME')) {
19
  define('QLWCDC_PLUGIN_NAME', 'Direct Checkout for WooCommerce');
20
  }
21
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
22
- define('QLWCDC_PLUGIN_VERSION', '2.4.3');
23
  }
24
  if (!defined('QLWCDC_PLUGIN_FILE')) {
25
  define('QLWCDC_PLUGIN_FILE', __FILE__);
4
  * Plugin Name: Direct Checkout for WooCommerce
5
  * Plugin URI: https://quadlayers.com/documentation/woocommerce-direct-checkout/
6
  * Description: Simplifies the checkout process to improve your sales rate.
7
+ * Version: 2.4.4
8
  * Author: QuadLayers
9
  * Author URI: https://quadlayers.com
10
  * License: GPLv3
19
  define('QLWCDC_PLUGIN_NAME', 'Direct Checkout for WooCommerce');
20
  }
21
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
22
+ define('QLWCDC_PLUGIN_VERSION', '2.4.4');
23
  }
24
  if (!defined('QLWCDC_PLUGIN_FILE')) {
25
  define('QLWCDC_PLUGIN_FILE', __FILE__);