Changeset 3402448
- Timestamp:
- 11/25/2025 11:24:20 AM (3 weeks ago)
- Location:
- essential-addons-for-elementor-lite
- Files:
-
- 14 edited
- 1 copied
-
tags/6.5.2 (copied) (copied from essential-addons-for-elementor-lite/trunk)
-
tags/6.5.2/assets/front-end/js/view/woo-checkout.js (modified) (1 diff)
-
tags/6.5.2/assets/front-end/js/view/woo-checkout.min.js (modified) (1 diff)
-
tags/6.5.2/essential_adons_elementor.php (modified) (3 diffs)
-
tags/6.5.2/includes/Classes/Compatibility_Support.php (modified) (1 diff)
-
tags/6.5.2/includes/Traits/Ajax_Handler.php (modified) (1 diff)
-
tags/6.5.2/languages/essential-addons-for-elementor-lite.pot (modified) (4 diffs)
-
tags/6.5.2/readme.txt (modified) (2 diffs)
-
trunk/assets/front-end/js/view/woo-checkout.js (modified) (1 diff)
-
trunk/assets/front-end/js/view/woo-checkout.min.js (modified) (1 diff)
-
trunk/essential_adons_elementor.php (modified) (3 diffs)
-
trunk/includes/Classes/Compatibility_Support.php (modified) (1 diff)
-
trunk/includes/Traits/Ajax_Handler.php (modified) (1 diff)
-
trunk/languages/essential-addons-for-elementor-lite.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
essential-addons-for-elementor-lite/tags/6.5.2/assets/front-end/js/view/woo-checkout.js
r3397981 r3402448 94 94 /***/ (function(module, exports) { 95 95 96 eval("var WooCheckout = function WooCheckout($scope, $) {\n $.blockUI.defaults.overlayCSS.cursor = \"default\";\n\n //We added this class in body\n document.body.classList.add('eael-woo-checkout');\n function render_order_review_template() {\n var wooCheckout = $(\".ea-woo-checkout\");\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").addClass(\"processing\").block({\n message: null,\n overlayCSS: {\n background: \"#fff\",\n opacity: 0.6\n }\n });\n $.ajax({\n type: \"POST\",\n url: localize.ajaxurl,\n data: {\n action: \"woo_checkout_update_order_review\",\n orderReviewData: wooCheckout.data(\"checkout\"),\n shippingData: $(\" #shipping_method input:checked\").val()\n },\n success: function success(data) {\n $(\".ea-checkout-review-order-table\").replaceWith(data.order_review);\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").removeClass(\"processing\").unblock();\n }, 100000);\n }\n });\n }, 200);\n }\n $(document).on(\"click\", \".woocommerce-remove-coupon\", function (e) {\n render_order_review_template();\n });\n $(\"form.checkout_coupon\").submit(function (event) {\n render_order_review_template();\n });\n var wooCheckout = $(\".ea-woo-checkout\");\n wooCheckout.on('change', 'select.shipping_method, input[name^=\"shipping_method\"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type=\"radio\"], .update_totals_on_change input[type=\"checkbox\"]', function () {\n $(document.body).trigger('update_checkout');\n render_order_review_template();\n }); // eslint-disable-line max-len\n\n $(document.body).bind('update_checkout', function () {\n render_order_review_template();\n });\n\n //move coupon remove message to coupon box (multi step and split layout)\n $(document.body).on('removed_coupon_in_checkout', function () {\n var message = $('.ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message').remove();\n $('.ea-woo-checkout .checkout_coupon.woocommerce-form-coupon').before(message);\n });\n function eael_update_checkout() {\n var cart_item_key = $(this).attr('name').replace(/cart\\[([\\w]+)\\]\\[qty\\]/g, \"$1\");\n var item_quantity = $(this).val();\n var cart_table = $('.ea-checkout-review-order-table', $scope);\n var currentVal = parseFloat(item_quantity);\n $this = $(this);\n cart_table.css('opacity', '0.7');\n $('.eael-checkout-cart-qty-input', cart_table).attr('disabled', true);\n $.ajax({\n type: 'POST',\n url: localize.ajaxurl,\n data: {\n action: 'eael_checkout_cart_qty_update',\n nonce: localize.nonce,\n cart_item_key: cart_item_key,\n quantity: currentVal\n },\n success: function success(response) {\n if (response.success) {\n $(document.body).trigger('update_checkout');\n }\n }\n });\n }\n ;\n $(document).on('change', '.eael-checkout-cart-qty-input', ea.debounce(eael_update_checkout, 300));\n};\njQuery(window).on(\"elementor/frontend/init\", function () {\n elementorFrontend.hooks.addAction(\"frontend/element_ready/eael-woo-checkout.default\", WooCheckout);\n});\nif (jQuery('.ea-woo-checkout').hasClass('checkout-reorder-enabled')) {\n jQuery(document.body).on('country_to_state_changing', function (event, country, wrapper) {\n var $ = jQuery,\n checkout_keys = $('.ea-woo-checkout').data('checkout_ids'),\n field_wrapper = $('.ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper');\n field_wrapper.addClass('eael-reordering');\n var reorder_fields = function reorder_fields(type, _wrapper) {\n var $selector = $(\".eael-\".concat(type, \"-fields .woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n _wrapper = typeof _wrapper !== 'undefined' ? _wrapper : wrapper;\n $.each(checkout_keys[type], function (field_key, form_class) {\n var $fieldHtml = _wrapper.find(\"#\".concat(field_key, \"_field\"));\n if ($fieldHtml.length === 0) {\n $fieldHtml = _wrapper.find(\"input[name='\".concat(field_key, \"']\")).closest('p');\n }\n $fieldHtml.removeClass('form-row-first form-row-last form-row-wide').addClass(form_class);\n $(\"#eael-wc-\".concat(type, \"-reordered-fields .eael-woo-\").concat(type, \"-fields\")).append($fieldHtml);\n });\n $selector.replaceWith($(\"#eael-wc-\".concat(type, \"-reordered-fields\")).contents());\n $(\".eael-woo-\".concat(type, \"-fields\")).toggleClass(\"eael-woo-\".concat(type, \"-fields woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n $(\"#eael-wc-\".concat(type, \"-reordered-fields\")).html(\"<div class=\\\"eael-woo-\".concat(type, \"-fields\\\"></div>\"));\n };\n setTimeout(function () {\n if (wrapper.hasClass(\"eael-billing-fields\")) {\n reorder_fields(\"billing\");\n reorder_fields(\"shipping\", $(\".eael-shipping-fields\"));\n }\n if (wrapper.hasClass(\"eael-shipping-fields\")) {\n reorder_fields(\"shipping\");\n reorder_fields(\"billing\", $(\".eael-billing-fields\"));\n }\n field_wrapper.removeClass(\"eael-reordering\");\n }, 500);\n });\n}\nvar change_button_text = function change_button_text() {\n var $ = jQuery,\n button_texts = $('.ea-woo-checkout').data('button_texts');\n setTimeout(function () {\n if (button_texts.place_order !== '') {\n $('#place_order').text(button_texts.place_order);\n }\n }, 500);\n};\njQuery(document.body).on('update_checkout payment_method_selected updated_checkout', function (event) {\n change_button_text();\n}).on('click', '.woocommerce-checkout-payment li label', function () {\n change_button_text();\n});\n\n//# sourceURL=webpack:///./src/js/view/woo-checkout.js?");96 eval("var WooCheckout = function WooCheckout($scope, $) {\n $.blockUI.defaults.overlayCSS.cursor = \"default\";\n\n //We added this class in body\n document.body.classList.add('eael-woo-checkout');\n function render_order_review_template() {\n var wooCheckout = $(\".ea-woo-checkout\");\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").addClass(\"processing\").block({\n message: null,\n overlayCSS: {\n background: \"#fff\",\n opacity: 0.6\n }\n });\n $.ajax({\n type: \"POST\",\n url: localize.ajaxurl,\n data: {\n action: \"woo_checkout_update_order_review\",\n orderReviewData: wooCheckout.data(\"checkout\"),\n shippingData: $(\".ea-woo-checkout-order-review #shipping_method input:checked\").val()\n },\n success: function success(data) {\n $(\".ea-checkout-review-order-table\").replaceWith(data.order_review);\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").removeClass(\"processing\").unblock();\n }, 100000);\n }\n });\n }, 200);\n }\n $(document).on(\"click\", \".woocommerce-remove-coupon\", function (e) {\n render_order_review_template();\n });\n $(\"form.checkout_coupon\").submit(function (event) {\n render_order_review_template();\n });\n var wooCheckout = $(\".ea-woo-checkout\");\n wooCheckout.on('change', 'select.shipping_method, input[name^=\"shipping_method\"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type=\"radio\"], .update_totals_on_change input[type=\"checkbox\"]', function () {\n $(document.body).trigger('update_checkout');\n render_order_review_template();\n }); // eslint-disable-line max-len\n\n $(document.body).bind('update_checkout', function () {\n render_order_review_template();\n });\n\n //move coupon remove message to coupon box (multi step and split layout)\n $(document.body).on('removed_coupon_in_checkout', function () {\n var message = $('.ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message').remove();\n $('.ea-woo-checkout .checkout_coupon.woocommerce-form-coupon').before(message);\n });\n function eael_update_checkout() {\n var cart_item_key = $(this).attr('name').replace(/cart\\[([\\w]+)\\]\\[qty\\]/g, \"$1\");\n var item_quantity = $(this).val();\n var cart_table = $('.ea-checkout-review-order-table', $scope);\n var currentVal = parseFloat(item_quantity);\n $this = $(this);\n cart_table.css('opacity', '0.7');\n $('.eael-checkout-cart-qty-input', cart_table).attr('disabled', true);\n $.ajax({\n type: 'POST',\n url: localize.ajaxurl,\n data: {\n action: 'eael_checkout_cart_qty_update',\n nonce: localize.nonce,\n cart_item_key: cart_item_key,\n quantity: currentVal\n },\n success: function success(response) {\n if (response.success) {\n $(document.body).trigger('update_checkout');\n }\n }\n });\n }\n ;\n $(document).on('change', '.eael-checkout-cart-qty-input', ea.debounce(eael_update_checkout, 300));\n};\njQuery(window).on(\"elementor/frontend/init\", function () {\n elementorFrontend.hooks.addAction(\"frontend/element_ready/eael-woo-checkout.default\", WooCheckout);\n});\nif (jQuery('.ea-woo-checkout').hasClass('checkout-reorder-enabled')) {\n jQuery(document.body).on('country_to_state_changing', function (event, country, wrapper) {\n var $ = jQuery,\n checkout_keys = $('.ea-woo-checkout').data('checkout_ids'),\n field_wrapper = $('.ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper');\n field_wrapper.addClass('eael-reordering');\n var reorder_fields = function reorder_fields(type, _wrapper) {\n var $selector = $(\".eael-\".concat(type, \"-fields .woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n _wrapper = typeof _wrapper !== 'undefined' ? _wrapper : wrapper;\n $.each(checkout_keys[type], function (field_key, form_class) {\n var $fieldHtml = _wrapper.find(\"#\".concat(field_key, \"_field\"));\n if ($fieldHtml.length === 0) {\n $fieldHtml = _wrapper.find(\"input[name='\".concat(field_key, \"']\")).closest('p');\n }\n $fieldHtml.removeClass('form-row-first form-row-last form-row-wide').addClass(form_class);\n $(\"#eael-wc-\".concat(type, \"-reordered-fields .eael-woo-\").concat(type, \"-fields\")).append($fieldHtml);\n });\n $selector.replaceWith($(\"#eael-wc-\".concat(type, \"-reordered-fields\")).contents());\n $(\".eael-woo-\".concat(type, \"-fields\")).toggleClass(\"eael-woo-\".concat(type, \"-fields woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n $(\"#eael-wc-\".concat(type, \"-reordered-fields\")).html(\"<div class=\\\"eael-woo-\".concat(type, \"-fields\\\"></div>\"));\n };\n setTimeout(function () {\n if (wrapper.hasClass(\"eael-billing-fields\")) {\n reorder_fields(\"billing\");\n reorder_fields(\"shipping\", $(\".eael-shipping-fields\"));\n }\n if (wrapper.hasClass(\"eael-shipping-fields\")) {\n reorder_fields(\"shipping\");\n reorder_fields(\"billing\", $(\".eael-billing-fields\"));\n }\n field_wrapper.removeClass(\"eael-reordering\");\n }, 500);\n });\n}\nvar change_button_text = function change_button_text() {\n var $ = jQuery,\n button_texts = $('.ea-woo-checkout').data('button_texts');\n setTimeout(function () {\n if (button_texts.place_order !== '') {\n $('#place_order').text(button_texts.place_order);\n }\n }, 500);\n};\njQuery(document.body).on('update_checkout payment_method_selected updated_checkout', function (event) {\n change_button_text();\n}).on('click', '.woocommerce-checkout-payment li label', function () {\n change_button_text();\n});\n\n//# sourceURL=webpack:///./src/js/view/woo-checkout.js?"); 97 97 98 98 /***/ }) -
essential-addons-for-elementor-lite/tags/6.5.2/assets/front-end/js/view/woo-checkout.min.js
r3397981 r3402448 1 !function(e){var o={};function t(c){if(o[c])return o[c].exports;var n=o[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=o,t.d=function(e,o,c){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:c})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)t.d(c,n,function(o){return e[o]}.bind(null,n));return c},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=38)}({38:function(e,o){var t=function(e,o){function t(){var e=o(".ea-woo-checkout");setTimeout((function(){o(".ea-checkout-review-order-table").addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"woo_checkout_update_order_review",orderReviewData:e.data("checkout"),shippingData:o(" #shipping_method input:checked").val()},success:function(e){o(".ea-checkout-review-order-table").replaceWith(e.order_review),setTimeout((function(){o(".ea-checkout-review-order-table").removeClass("processing").unblock()}),1e5)}})}),200)}o.blockUI.defaults.overlayCSS.cursor="default",document.body.classList.add("eael-woo-checkout"),o(document).on("click",".woocommerce-remove-coupon",(function(e){t()})),o("form.checkout_coupon").submit((function(e){t()})),o(".ea-woo-checkout").on("change",'select.shipping_method, input[name^="shipping_method"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type="radio"], .update_totals_on_change input[type="checkbox"]',(function(){o(document.body).trigger("update_checkout"),t()})),o(document.body).bind("update_checkout",(function(){t()})),o(document.body).on("removed_coupon_in_checkout",(function(){var e=o(".ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message").remove();o(".ea-woo-checkout .checkout_coupon.woocommerce-form-coupon").before(e)})),o(document).on("change",".eael-checkout-cart-qty-input",ea.debounce((function(){var t=o(this).attr("name").replace(/cart\[([\w]+)\]\[qty\]/g,"$1"),c=o(this).val(),n=o(".ea-checkout-review-order-table",e),a=parseFloat(c);$this=o(this),n.css("opacity","0.7"),o(".eael-checkout-cart-qty-input",n).attr("disabled",!0),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"eael_checkout_cart_qty_update",nonce:localize.nonce,cart_item_key:t,quantity:a},success:function(e){e.success&&o(document.body).trigger("update_checkout")}})}),300))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-woo-checkout.default",t)})),jQuery(".ea-woo-checkout").hasClass("checkout-reorder-enabled")&&jQuery(document.body).on("country_to_state_changing",(function(e,o,t){var c=jQuery,n=c(".ea-woo-checkout").data("checkout_ids"),a=c(".ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper");a.addClass("eael-reordering");var r=function(e,o){var a=c(".eael-".concat(e,"-fields .woocommerce-").concat(e,"-fields__field-wrapper"));o=void 0!==o?o:t,c.each(n[e],(function(t,n){var a=o.find("#".concat(t,"_field"));0===a.length&&(a=o.find("input[name='".concat(t,"']")).closest("p")),a.removeClass("form-row-first form-row-last form-row-wide").addClass(n),c("#eael-wc-".concat(e,"-reordered-fields .eael-woo-").concat(e,"-fields")).append(a)})),a.replaceWith(c("#eael-wc-".concat(e,"-reordered-fields")).contents()),c(".eael-woo-".concat(e,"-fields")).toggleClass("eael-woo-".concat(e,"-fields woocommerce-").concat(e,"-fields__field-wrapper")),c("#eael-wc-".concat(e,"-reordered-fields")).html('<div class="eael-woo-'.concat(e,'-fields"></div>'))};setTimeout((function(){t.hasClass("eael-billing-fields")&&(r("billing"),r("shipping",c(".eael-shipping-fields"))),t.hasClass("eael-shipping-fields")&&(r("shipping"),r("billing",c(".eael-billing-fields"))),a.removeClass("eael-reordering")}),500)}));var c=function(){var e=jQuery,o=e(".ea-woo-checkout").data("button_texts");setTimeout((function(){""!==o.place_order&&e("#place_order").text(o.place_order)}),500)};jQuery(document.body).on("update_checkout payment_method_selected updated_checkout",(function(e){c()})).on("click",".woocommerce-checkout-payment li label",(function(){c()}))}});1 !function(e){var o={};function t(c){if(o[c])return o[c].exports;var n=o[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=o,t.d=function(e,o,c){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:c})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)t.d(c,n,function(o){return e[o]}.bind(null,n));return c},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=38)}({38:function(e,o){var t=function(e,o){function t(){var e=o(".ea-woo-checkout");setTimeout((function(){o(".ea-checkout-review-order-table").addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"woo_checkout_update_order_review",orderReviewData:e.data("checkout"),shippingData:o(".ea-woo-checkout-order-review #shipping_method input:checked").val()},success:function(e){o(".ea-checkout-review-order-table").replaceWith(e.order_review),setTimeout((function(){o(".ea-checkout-review-order-table").removeClass("processing").unblock()}),1e5)}})}),200)}o.blockUI.defaults.overlayCSS.cursor="default",document.body.classList.add("eael-woo-checkout"),o(document).on("click",".woocommerce-remove-coupon",(function(e){t()})),o("form.checkout_coupon").submit((function(e){t()})),o(".ea-woo-checkout").on("change",'select.shipping_method, input[name^="shipping_method"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type="radio"], .update_totals_on_change input[type="checkbox"]',(function(){o(document.body).trigger("update_checkout"),t()})),o(document.body).bind("update_checkout",(function(){t()})),o(document.body).on("removed_coupon_in_checkout",(function(){var e=o(".ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message").remove();o(".ea-woo-checkout .checkout_coupon.woocommerce-form-coupon").before(e)})),o(document).on("change",".eael-checkout-cart-qty-input",ea.debounce((function(){var t=o(this).attr("name").replace(/cart\[([\w]+)\]\[qty\]/g,"$1"),c=o(this).val(),n=o(".ea-checkout-review-order-table",e),a=parseFloat(c);$this=o(this),n.css("opacity","0.7"),o(".eael-checkout-cart-qty-input",n).attr("disabled",!0),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"eael_checkout_cart_qty_update",nonce:localize.nonce,cart_item_key:t,quantity:a},success:function(e){e.success&&o(document.body).trigger("update_checkout")}})}),300))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-woo-checkout.default",t)})),jQuery(".ea-woo-checkout").hasClass("checkout-reorder-enabled")&&jQuery(document.body).on("country_to_state_changing",(function(e,o,t){var c=jQuery,n=c(".ea-woo-checkout").data("checkout_ids"),a=c(".ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper");a.addClass("eael-reordering");var r=function(e,o){var a=c(".eael-".concat(e,"-fields .woocommerce-").concat(e,"-fields__field-wrapper"));o=void 0!==o?o:t,c.each(n[e],(function(t,n){var a=o.find("#".concat(t,"_field"));0===a.length&&(a=o.find("input[name='".concat(t,"']")).closest("p")),a.removeClass("form-row-first form-row-last form-row-wide").addClass(n),c("#eael-wc-".concat(e,"-reordered-fields .eael-woo-").concat(e,"-fields")).append(a)})),a.replaceWith(c("#eael-wc-".concat(e,"-reordered-fields")).contents()),c(".eael-woo-".concat(e,"-fields")).toggleClass("eael-woo-".concat(e,"-fields woocommerce-").concat(e,"-fields__field-wrapper")),c("#eael-wc-".concat(e,"-reordered-fields")).html('<div class="eael-woo-'.concat(e,'-fields"></div>'))};setTimeout((function(){t.hasClass("eael-billing-fields")&&(r("billing"),r("shipping",c(".eael-shipping-fields"))),t.hasClass("eael-shipping-fields")&&(r("shipping"),r("billing",c(".eael-billing-fields"))),a.removeClass("eael-reordering")}),500)}));var c=function(){var e=jQuery,o=e(".ea-woo-checkout").data("button_texts");setTimeout((function(){""!==o.place_order&&e("#place_order").text(o.place_order)}),500)};jQuery(document.body).on("update_checkout payment_method_selected updated_checkout",(function(e){c()})).on("click",".woocommerce-checkout-payment li label",(function(){c()}))}}); -
essential-addons-for-elementor-lite/tags/6.5.2/essential_adons_elementor.php
r3398866 r3402448 5 5 * Plugin URI: https://essential-addons.com/ 6 6 * Author: WPDeveloper 7 * Version: 6.5. 17 * Version: 6.5.2 8 8 * Author URI: https://wpdeveloper.com/ 9 9 * Text Domain: essential-addons-for-elementor-lite … … 11 11 * 12 12 * WC tested up to: 10.0 13 * Elementor tested up to: 3.3 214 * Elementor Pro tested up to: 3.3 213 * Elementor tested up to: 3.33 14 * Elementor Pro tested up to: 3.33 15 15 */ 16 16 … … 28 28 define('EAEL_PLUGIN_PATH', trailingslashit(plugin_dir_path(__FILE__))); 29 29 define('EAEL_PLUGIN_URL', trailingslashit(plugins_url('/', __FILE__))); 30 define('EAEL_PLUGIN_VERSION', '6.5. 1');30 define('EAEL_PLUGIN_VERSION', '6.5.2'); 31 31 define('EAEL_ASSET_PATH', wp_upload_dir()['basedir'] . '/essential-addons-elementor'); 32 32 define('EAEL_ASSET_URL', wp_upload_dir()['baseurl'] . '/essential-addons-elementor'); -
essential-addons-for-elementor-lite/tags/6.5.2/includes/Classes/Compatibility_Support.php
r3344575 r3402448 29 29 // Parse shipping method details 30 30 $method_string = $chosen_shipping_methods[0]; 31 list($method_id, $instance_id) = explode(':', $method_string); 31 // Ensure method_string is a string and contains a colon 32 if ( !is_string($method_string) || strpos($method_string, ':') === false ) { 33 return; 34 } 35 list($method_id, $instance_id) = explode(':', $method_string, 2); 32 36 33 37 // Add shipping form if Mondial Relay is selected -
essential-addons-for-elementor-lite/tags/6.5.2/includes/Traits/Ajax_Handler.php
r3397981 r3402448 561 561 public function woo_checkout_update_order_review() { 562 562 $setting = $_POST['orderReviewData']; 563 $shipping_data = $_POST['shippingData'] ?? []; 564 563 $shipping_data = empty ( $_POST['shippingData'] ) ? WC()->session->get('chosen_shipping_methods') : [wc_clean( $_POST['shippingData'] )]; 565 564 //Mondial Relay plugin integration 566 565 do_action( 'eael_mondialrelay_order_after_shipping' ); 567 566 568 WC()->session->set( 'chosen_shipping_methods', [$shipping_data]);567 WC()->session->set( 'chosen_shipping_methods', $shipping_data ); 569 568 570 569 ob_start(); -
essential-addons-for-elementor-lite/tags/6.5.2/languages/essential-addons-for-elementor-lite.pot
r3398866 r3402448 46 46 msgstr "" 47 47 48 #: ../includes/Classes/Compatibility_Support.php:6 348 #: ../includes/Classes/Compatibility_Support.php:67 49 49 msgid "Livraison Mondial Relay" 50 50 msgstr "" 51 51 52 #: ../includes/Classes/Compatibility_Support.php:6 552 #: ../includes/Classes/Compatibility_Support.php:69 53 53 msgid "Vous n'avez pas encore choisi de Point Relais®" 54 54 msgstr "" 55 55 56 #: ../includes/Classes/Compatibility_Support.php: 6756 #: ../includes/Classes/Compatibility_Support.php:71 57 57 msgid "Choisir un Point Relais®" 58 58 msgstr "" … … 214 214 msgstr "" 215 215 216 #: ../includes/Classes/WPDeveloper_Plugin_Installer.php:152, ../includes/Classes/WPDeveloper_Plugin_Installer.php:186, ../includes/Classes/WPDeveloper_Plugin_Installer.php:205, ../includes/Classes/WPDeveloper_Plugin_Installer.php:226, ../includes/Classes/WPDeveloper_Setup_Wizard.php:463, ../includes/Classes/WPDeveloper_Setup_Wizard.php:487, ../includes/Classes/WPDeveloper_Setup_Wizard.php:508, ../includes/Traits/Ajax_Handler.php:96 3, ../includes/Traits/Ajax_Handler.php:1152, ../includes/Traits/Ajax_Handler.php:1182, ../includes/Traits/Ajax_Handler.php:1199, ../includes/Traits/Helper.php:427216 #: ../includes/Classes/WPDeveloper_Plugin_Installer.php:152, ../includes/Classes/WPDeveloper_Plugin_Installer.php:186, ../includes/Classes/WPDeveloper_Plugin_Installer.php:205, ../includes/Classes/WPDeveloper_Plugin_Installer.php:226, ../includes/Classes/WPDeveloper_Setup_Wizard.php:463, ../includes/Classes/WPDeveloper_Setup_Wizard.php:487, ../includes/Classes/WPDeveloper_Setup_Wizard.php:508, ../includes/Traits/Ajax_Handler.php:962, ../includes/Traits/Ajax_Handler.php:1151, ../includes/Traits/Ajax_Handler.php:1181, ../includes/Traits/Ajax_Handler.php:1198, ../includes/Traits/Helper.php:427 217 217 msgid "you are not allowed to do this action" 218 218 msgstr "" … … 12023 12023 msgstr "" 12024 12024 12025 #: ../includes/Traits/Ajax_Handler.php:94, ../includes/Traits/Ajax_Handler.php:63 5, ../includes/Traits/Login_Registration.php:96, ../includes/Traits/Login_Registration.php:263, ../includes/Traits/Login_Registration.php:786, ../includes/Traits/Login_Registration.php:99812025 #: ../includes/Traits/Ajax_Handler.php:94, ../includes/Traits/Ajax_Handler.php:634, ../includes/Traits/Login_Registration.php:96, ../includes/Traits/Login_Registration.php:263, ../includes/Traits/Login_Registration.php:786, ../includes/Traits/Login_Registration.php:998 12026 12026 msgid "Insecure form submitted without security token" 12027 12027 msgstr "" 12028 12028 12029 #: ../includes/Traits/Ajax_Handler.php:103, ../includes/Traits/Ajax_Handler.php:64 4, ../includes/Traits/Login_Registration.php:108, ../includes/Traits/Login_Registration.php:273, ../includes/Traits/Login_Registration.php:798, ../includes/Traits/Login_Registration.php:1010, ../includes/Traits/Woo_Product_Comparable.php:217412029 #: ../includes/Traits/Ajax_Handler.php:103, ../includes/Traits/Ajax_Handler.php:643, ../includes/Traits/Login_Registration.php:108, ../includes/Traits/Login_Registration.php:273, ../includes/Traits/Login_Registration.php:798, ../includes/Traits/Login_Registration.php:1010, ../includes/Traits/Woo_Product_Comparable.php:2174 12030 12030 msgid "Security token did not match" 12031 12031 msgstr "" 12032 12032 12033 #: ../includes/Traits/Ajax_Handler.php:114, ../includes/Traits/Ajax_Handler.php:321, ../includes/Traits/Ajax_Handler.php:403, ../includes/Traits/Ajax_Handler.php:65 5, ../includes/Traits/Login_Registration.php:72, ../includes/Traits/Login_Registration.php:288, ../includes/Traits/Login_Registration.php:762, ../includes/Traits/Login_Registration.php:973, ../includes/Traits/Woo_Product_Comparable.php:213212033 #: ../includes/Traits/Ajax_Handler.php:114, ../includes/Traits/Ajax_Handler.php:321, ../includes/Traits/Ajax_Handler.php:403, ../includes/Traits/Ajax_Handler.php:654, ../includes/Traits/Login_Registration.php:72, ../includes/Traits/Login_Registration.php:288, ../includes/Traits/Login_Registration.php:762, ../includes/Traits/Login_Registration.php:973, ../includes/Traits/Woo_Product_Comparable.php:2132 12034 12034 msgid "Page ID is missing" 12035 12035 msgstr "" 12036 12036 12037 #: ../includes/Traits/Ajax_Handler.php:125, ../includes/Traits/Ajax_Handler.php:328, ../includes/Traits/Ajax_Handler.php:410, ../includes/Traits/Ajax_Handler.php:66 6, ../includes/Traits/Facebook_Feed.php:41, ../includes/Traits/Login_Registration.php:79, ../includes/Traits/Login_Registration.php:293, ../includes/Traits/Login_Registration.php:769, ../includes/Traits/Login_Registration.php:980, ../includes/Traits/Woo_Product_Comparable.php:213712037 #: ../includes/Traits/Ajax_Handler.php:125, ../includes/Traits/Ajax_Handler.php:328, ../includes/Traits/Ajax_Handler.php:410, ../includes/Traits/Ajax_Handler.php:665, ../includes/Traits/Facebook_Feed.php:41, ../includes/Traits/Login_Registration.php:79, ../includes/Traits/Login_Registration.php:293, ../includes/Traits/Login_Registration.php:769, ../includes/Traits/Login_Registration.php:980, ../includes/Traits/Woo_Product_Comparable.php:2137 12038 12038 msgid "Widget ID is missing" 12039 12039 msgstr "" 12040 12040 12041 #: ../includes/Traits/Ajax_Handler.php:136, ../includes/Traits/Ajax_Handler.php:334, ../includes/Traits/Ajax_Handler.php:417, ../includes/Traits/Ajax_Handler.php:67 612041 #: ../includes/Traits/Ajax_Handler.php:136, ../includes/Traits/Ajax_Handler.php:334, ../includes/Traits/Ajax_Handler.php:417, ../includes/Traits/Ajax_Handler.php:675 12042 12042 msgid "Widget settings are not found. Did you save the widget before using load more??" 12043 12043 msgstr "" … … 12047 12047 msgstr "" 12048 12048 12049 #: ../includes/Traits/Ajax_Handler.php:100 612049 #: ../includes/Traits/Ajax_Handler.php:1005 12050 12050 msgid "Login | Register Settings updated" 12051 12051 msgstr "" -
essential-addons-for-elementor-lite/tags/6.5.2/readme.txt
r3398866 r3402448 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.0 7 Stable tag: 6.5. 17 Stable tag: 6.5.2 8 8 License: GPLv3 9 9 License URI: https://opensource.org/licenses/GPL-3.0 … … 320 320 == Changelog == 321 321 322 = 6.5.2 - 25/11/2025 = 323 324 - Fixed: Fixed checkout WooCommerce issues where shipping methods weren't updating correctly and prevented crashes when using the Mondial Relay shipping plugin 325 - Few minor bug fixes & improvements 326 322 327 = 6.5.1 - 19/11/2025 = 323 328 -
essential-addons-for-elementor-lite/trunk/assets/front-end/js/view/woo-checkout.js
r3397981 r3402448 94 94 /***/ (function(module, exports) { 95 95 96 eval("var WooCheckout = function WooCheckout($scope, $) {\n $.blockUI.defaults.overlayCSS.cursor = \"default\";\n\n //We added this class in body\n document.body.classList.add('eael-woo-checkout');\n function render_order_review_template() {\n var wooCheckout = $(\".ea-woo-checkout\");\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").addClass(\"processing\").block({\n message: null,\n overlayCSS: {\n background: \"#fff\",\n opacity: 0.6\n }\n });\n $.ajax({\n type: \"POST\",\n url: localize.ajaxurl,\n data: {\n action: \"woo_checkout_update_order_review\",\n orderReviewData: wooCheckout.data(\"checkout\"),\n shippingData: $(\" #shipping_method input:checked\").val()\n },\n success: function success(data) {\n $(\".ea-checkout-review-order-table\").replaceWith(data.order_review);\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").removeClass(\"processing\").unblock();\n }, 100000);\n }\n });\n }, 200);\n }\n $(document).on(\"click\", \".woocommerce-remove-coupon\", function (e) {\n render_order_review_template();\n });\n $(\"form.checkout_coupon\").submit(function (event) {\n render_order_review_template();\n });\n var wooCheckout = $(\".ea-woo-checkout\");\n wooCheckout.on('change', 'select.shipping_method, input[name^=\"shipping_method\"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type=\"radio\"], .update_totals_on_change input[type=\"checkbox\"]', function () {\n $(document.body).trigger('update_checkout');\n render_order_review_template();\n }); // eslint-disable-line max-len\n\n $(document.body).bind('update_checkout', function () {\n render_order_review_template();\n });\n\n //move coupon remove message to coupon box (multi step and split layout)\n $(document.body).on('removed_coupon_in_checkout', function () {\n var message = $('.ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message').remove();\n $('.ea-woo-checkout .checkout_coupon.woocommerce-form-coupon').before(message);\n });\n function eael_update_checkout() {\n var cart_item_key = $(this).attr('name').replace(/cart\\[([\\w]+)\\]\\[qty\\]/g, \"$1\");\n var item_quantity = $(this).val();\n var cart_table = $('.ea-checkout-review-order-table', $scope);\n var currentVal = parseFloat(item_quantity);\n $this = $(this);\n cart_table.css('opacity', '0.7');\n $('.eael-checkout-cart-qty-input', cart_table).attr('disabled', true);\n $.ajax({\n type: 'POST',\n url: localize.ajaxurl,\n data: {\n action: 'eael_checkout_cart_qty_update',\n nonce: localize.nonce,\n cart_item_key: cart_item_key,\n quantity: currentVal\n },\n success: function success(response) {\n if (response.success) {\n $(document.body).trigger('update_checkout');\n }\n }\n });\n }\n ;\n $(document).on('change', '.eael-checkout-cart-qty-input', ea.debounce(eael_update_checkout, 300));\n};\njQuery(window).on(\"elementor/frontend/init\", function () {\n elementorFrontend.hooks.addAction(\"frontend/element_ready/eael-woo-checkout.default\", WooCheckout);\n});\nif (jQuery('.ea-woo-checkout').hasClass('checkout-reorder-enabled')) {\n jQuery(document.body).on('country_to_state_changing', function (event, country, wrapper) {\n var $ = jQuery,\n checkout_keys = $('.ea-woo-checkout').data('checkout_ids'),\n field_wrapper = $('.ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper');\n field_wrapper.addClass('eael-reordering');\n var reorder_fields = function reorder_fields(type, _wrapper) {\n var $selector = $(\".eael-\".concat(type, \"-fields .woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n _wrapper = typeof _wrapper !== 'undefined' ? _wrapper : wrapper;\n $.each(checkout_keys[type], function (field_key, form_class) {\n var $fieldHtml = _wrapper.find(\"#\".concat(field_key, \"_field\"));\n if ($fieldHtml.length === 0) {\n $fieldHtml = _wrapper.find(\"input[name='\".concat(field_key, \"']\")).closest('p');\n }\n $fieldHtml.removeClass('form-row-first form-row-last form-row-wide').addClass(form_class);\n $(\"#eael-wc-\".concat(type, \"-reordered-fields .eael-woo-\").concat(type, \"-fields\")).append($fieldHtml);\n });\n $selector.replaceWith($(\"#eael-wc-\".concat(type, \"-reordered-fields\")).contents());\n $(\".eael-woo-\".concat(type, \"-fields\")).toggleClass(\"eael-woo-\".concat(type, \"-fields woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n $(\"#eael-wc-\".concat(type, \"-reordered-fields\")).html(\"<div class=\\\"eael-woo-\".concat(type, \"-fields\\\"></div>\"));\n };\n setTimeout(function () {\n if (wrapper.hasClass(\"eael-billing-fields\")) {\n reorder_fields(\"billing\");\n reorder_fields(\"shipping\", $(\".eael-shipping-fields\"));\n }\n if (wrapper.hasClass(\"eael-shipping-fields\")) {\n reorder_fields(\"shipping\");\n reorder_fields(\"billing\", $(\".eael-billing-fields\"));\n }\n field_wrapper.removeClass(\"eael-reordering\");\n }, 500);\n });\n}\nvar change_button_text = function change_button_text() {\n var $ = jQuery,\n button_texts = $('.ea-woo-checkout').data('button_texts');\n setTimeout(function () {\n if (button_texts.place_order !== '') {\n $('#place_order').text(button_texts.place_order);\n }\n }, 500);\n};\njQuery(document.body).on('update_checkout payment_method_selected updated_checkout', function (event) {\n change_button_text();\n}).on('click', '.woocommerce-checkout-payment li label', function () {\n change_button_text();\n});\n\n//# sourceURL=webpack:///./src/js/view/woo-checkout.js?");96 eval("var WooCheckout = function WooCheckout($scope, $) {\n $.blockUI.defaults.overlayCSS.cursor = \"default\";\n\n //We added this class in body\n document.body.classList.add('eael-woo-checkout');\n function render_order_review_template() {\n var wooCheckout = $(\".ea-woo-checkout\");\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").addClass(\"processing\").block({\n message: null,\n overlayCSS: {\n background: \"#fff\",\n opacity: 0.6\n }\n });\n $.ajax({\n type: \"POST\",\n url: localize.ajaxurl,\n data: {\n action: \"woo_checkout_update_order_review\",\n orderReviewData: wooCheckout.data(\"checkout\"),\n shippingData: $(\".ea-woo-checkout-order-review #shipping_method input:checked\").val()\n },\n success: function success(data) {\n $(\".ea-checkout-review-order-table\").replaceWith(data.order_review);\n setTimeout(function () {\n $(\".ea-checkout-review-order-table\").removeClass(\"processing\").unblock();\n }, 100000);\n }\n });\n }, 200);\n }\n $(document).on(\"click\", \".woocommerce-remove-coupon\", function (e) {\n render_order_review_template();\n });\n $(\"form.checkout_coupon\").submit(function (event) {\n render_order_review_template();\n });\n var wooCheckout = $(\".ea-woo-checkout\");\n wooCheckout.on('change', 'select.shipping_method, input[name^=\"shipping_method\"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type=\"radio\"], .update_totals_on_change input[type=\"checkbox\"]', function () {\n $(document.body).trigger('update_checkout');\n render_order_review_template();\n }); // eslint-disable-line max-len\n\n $(document.body).bind('update_checkout', function () {\n render_order_review_template();\n });\n\n //move coupon remove message to coupon box (multi step and split layout)\n $(document.body).on('removed_coupon_in_checkout', function () {\n var message = $('.ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message').remove();\n $('.ea-woo-checkout .checkout_coupon.woocommerce-form-coupon').before(message);\n });\n function eael_update_checkout() {\n var cart_item_key = $(this).attr('name').replace(/cart\\[([\\w]+)\\]\\[qty\\]/g, \"$1\");\n var item_quantity = $(this).val();\n var cart_table = $('.ea-checkout-review-order-table', $scope);\n var currentVal = parseFloat(item_quantity);\n $this = $(this);\n cart_table.css('opacity', '0.7');\n $('.eael-checkout-cart-qty-input', cart_table).attr('disabled', true);\n $.ajax({\n type: 'POST',\n url: localize.ajaxurl,\n data: {\n action: 'eael_checkout_cart_qty_update',\n nonce: localize.nonce,\n cart_item_key: cart_item_key,\n quantity: currentVal\n },\n success: function success(response) {\n if (response.success) {\n $(document.body).trigger('update_checkout');\n }\n }\n });\n }\n ;\n $(document).on('change', '.eael-checkout-cart-qty-input', ea.debounce(eael_update_checkout, 300));\n};\njQuery(window).on(\"elementor/frontend/init\", function () {\n elementorFrontend.hooks.addAction(\"frontend/element_ready/eael-woo-checkout.default\", WooCheckout);\n});\nif (jQuery('.ea-woo-checkout').hasClass('checkout-reorder-enabled')) {\n jQuery(document.body).on('country_to_state_changing', function (event, country, wrapper) {\n var $ = jQuery,\n checkout_keys = $('.ea-woo-checkout').data('checkout_ids'),\n field_wrapper = $('.ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper');\n field_wrapper.addClass('eael-reordering');\n var reorder_fields = function reorder_fields(type, _wrapper) {\n var $selector = $(\".eael-\".concat(type, \"-fields .woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n _wrapper = typeof _wrapper !== 'undefined' ? _wrapper : wrapper;\n $.each(checkout_keys[type], function (field_key, form_class) {\n var $fieldHtml = _wrapper.find(\"#\".concat(field_key, \"_field\"));\n if ($fieldHtml.length === 0) {\n $fieldHtml = _wrapper.find(\"input[name='\".concat(field_key, \"']\")).closest('p');\n }\n $fieldHtml.removeClass('form-row-first form-row-last form-row-wide').addClass(form_class);\n $(\"#eael-wc-\".concat(type, \"-reordered-fields .eael-woo-\").concat(type, \"-fields\")).append($fieldHtml);\n });\n $selector.replaceWith($(\"#eael-wc-\".concat(type, \"-reordered-fields\")).contents());\n $(\".eael-woo-\".concat(type, \"-fields\")).toggleClass(\"eael-woo-\".concat(type, \"-fields woocommerce-\").concat(type, \"-fields__field-wrapper\"));\n $(\"#eael-wc-\".concat(type, \"-reordered-fields\")).html(\"<div class=\\\"eael-woo-\".concat(type, \"-fields\\\"></div>\"));\n };\n setTimeout(function () {\n if (wrapper.hasClass(\"eael-billing-fields\")) {\n reorder_fields(\"billing\");\n reorder_fields(\"shipping\", $(\".eael-shipping-fields\"));\n }\n if (wrapper.hasClass(\"eael-shipping-fields\")) {\n reorder_fields(\"shipping\");\n reorder_fields(\"billing\", $(\".eael-billing-fields\"));\n }\n field_wrapper.removeClass(\"eael-reordering\");\n }, 500);\n });\n}\nvar change_button_text = function change_button_text() {\n var $ = jQuery,\n button_texts = $('.ea-woo-checkout').data('button_texts');\n setTimeout(function () {\n if (button_texts.place_order !== '') {\n $('#place_order').text(button_texts.place_order);\n }\n }, 500);\n};\njQuery(document.body).on('update_checkout payment_method_selected updated_checkout', function (event) {\n change_button_text();\n}).on('click', '.woocommerce-checkout-payment li label', function () {\n change_button_text();\n});\n\n//# sourceURL=webpack:///./src/js/view/woo-checkout.js?"); 97 97 98 98 /***/ }) -
essential-addons-for-elementor-lite/trunk/assets/front-end/js/view/woo-checkout.min.js
r3397981 r3402448 1 !function(e){var o={};function t(c){if(o[c])return o[c].exports;var n=o[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=o,t.d=function(e,o,c){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:c})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)t.d(c,n,function(o){return e[o]}.bind(null,n));return c},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=38)}({38:function(e,o){var t=function(e,o){function t(){var e=o(".ea-woo-checkout");setTimeout((function(){o(".ea-checkout-review-order-table").addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"woo_checkout_update_order_review",orderReviewData:e.data("checkout"),shippingData:o(" #shipping_method input:checked").val()},success:function(e){o(".ea-checkout-review-order-table").replaceWith(e.order_review),setTimeout((function(){o(".ea-checkout-review-order-table").removeClass("processing").unblock()}),1e5)}})}),200)}o.blockUI.defaults.overlayCSS.cursor="default",document.body.classList.add("eael-woo-checkout"),o(document).on("click",".woocommerce-remove-coupon",(function(e){t()})),o("form.checkout_coupon").submit((function(e){t()})),o(".ea-woo-checkout").on("change",'select.shipping_method, input[name^="shipping_method"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type="radio"], .update_totals_on_change input[type="checkbox"]',(function(){o(document.body).trigger("update_checkout"),t()})),o(document.body).bind("update_checkout",(function(){t()})),o(document.body).on("removed_coupon_in_checkout",(function(){var e=o(".ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message").remove();o(".ea-woo-checkout .checkout_coupon.woocommerce-form-coupon").before(e)})),o(document).on("change",".eael-checkout-cart-qty-input",ea.debounce((function(){var t=o(this).attr("name").replace(/cart\[([\w]+)\]\[qty\]/g,"$1"),c=o(this).val(),n=o(".ea-checkout-review-order-table",e),a=parseFloat(c);$this=o(this),n.css("opacity","0.7"),o(".eael-checkout-cart-qty-input",n).attr("disabled",!0),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"eael_checkout_cart_qty_update",nonce:localize.nonce,cart_item_key:t,quantity:a},success:function(e){e.success&&o(document.body).trigger("update_checkout")}})}),300))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-woo-checkout.default",t)})),jQuery(".ea-woo-checkout").hasClass("checkout-reorder-enabled")&&jQuery(document.body).on("country_to_state_changing",(function(e,o,t){var c=jQuery,n=c(".ea-woo-checkout").data("checkout_ids"),a=c(".ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper");a.addClass("eael-reordering");var r=function(e,o){var a=c(".eael-".concat(e,"-fields .woocommerce-").concat(e,"-fields__field-wrapper"));o=void 0!==o?o:t,c.each(n[e],(function(t,n){var a=o.find("#".concat(t,"_field"));0===a.length&&(a=o.find("input[name='".concat(t,"']")).closest("p")),a.removeClass("form-row-first form-row-last form-row-wide").addClass(n),c("#eael-wc-".concat(e,"-reordered-fields .eael-woo-").concat(e,"-fields")).append(a)})),a.replaceWith(c("#eael-wc-".concat(e,"-reordered-fields")).contents()),c(".eael-woo-".concat(e,"-fields")).toggleClass("eael-woo-".concat(e,"-fields woocommerce-").concat(e,"-fields__field-wrapper")),c("#eael-wc-".concat(e,"-reordered-fields")).html('<div class="eael-woo-'.concat(e,'-fields"></div>'))};setTimeout((function(){t.hasClass("eael-billing-fields")&&(r("billing"),r("shipping",c(".eael-shipping-fields"))),t.hasClass("eael-shipping-fields")&&(r("shipping"),r("billing",c(".eael-billing-fields"))),a.removeClass("eael-reordering")}),500)}));var c=function(){var e=jQuery,o=e(".ea-woo-checkout").data("button_texts");setTimeout((function(){""!==o.place_order&&e("#place_order").text(o.place_order)}),500)};jQuery(document.body).on("update_checkout payment_method_selected updated_checkout",(function(e){c()})).on("click",".woocommerce-checkout-payment li label",(function(){c()}))}});1 !function(e){var o={};function t(c){if(o[c])return o[c].exports;var n=o[c]={i:c,l:!1,exports:{}};return e[c].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=o,t.d=function(e,o,c){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:c})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)t.d(c,n,function(o){return e[o]}.bind(null,n));return c},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=38)}({38:function(e,o){var t=function(e,o){function t(){var e=o(".ea-woo-checkout");setTimeout((function(){o(".ea-checkout-review-order-table").addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"woo_checkout_update_order_review",orderReviewData:e.data("checkout"),shippingData:o(".ea-woo-checkout-order-review #shipping_method input:checked").val()},success:function(e){o(".ea-checkout-review-order-table").replaceWith(e.order_review),setTimeout((function(){o(".ea-checkout-review-order-table").removeClass("processing").unblock()}),1e5)}})}),200)}o.blockUI.defaults.overlayCSS.cursor="default",document.body.classList.add("eael-woo-checkout"),o(document).on("click",".woocommerce-remove-coupon",(function(e){t()})),o("form.checkout_coupon").submit((function(e){t()})),o(".ea-woo-checkout").on("change",'select.shipping_method, input[name^="shipping_method"], #ship-to-different-address input, .update_totals_on_change select, .update_totals_on_change input[type="radio"], .update_totals_on_change input[type="checkbox"]',(function(){o(document.body).trigger("update_checkout"),t()})),o(document.body).bind("update_checkout",(function(){t()})),o(document.body).on("removed_coupon_in_checkout",(function(){var e=o(".ea-woo-checkout .ms-tabs-content > .woocommerce-message,.ea-woo-checkout .split-tabs-content > .woocommerce-message").remove();o(".ea-woo-checkout .checkout_coupon.woocommerce-form-coupon").before(e)})),o(document).on("change",".eael-checkout-cart-qty-input",ea.debounce((function(){var t=o(this).attr("name").replace(/cart\[([\w]+)\]\[qty\]/g,"$1"),c=o(this).val(),n=o(".ea-checkout-review-order-table",e),a=parseFloat(c);$this=o(this),n.css("opacity","0.7"),o(".eael-checkout-cart-qty-input",n).attr("disabled",!0),o.ajax({type:"POST",url:localize.ajaxurl,data:{action:"eael_checkout_cart_qty_update",nonce:localize.nonce,cart_item_key:t,quantity:a},success:function(e){e.success&&o(document.body).trigger("update_checkout")}})}),300))};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-woo-checkout.default",t)})),jQuery(".ea-woo-checkout").hasClass("checkout-reorder-enabled")&&jQuery(document.body).on("country_to_state_changing",(function(e,o,t){var c=jQuery,n=c(".ea-woo-checkout").data("checkout_ids"),a=c(".ea-woo-checkout .woocommerce-billing-fields__field-wrapper, .ea-woo-checkout .woocommerce-shipping-fields__field-wrapper");a.addClass("eael-reordering");var r=function(e,o){var a=c(".eael-".concat(e,"-fields .woocommerce-").concat(e,"-fields__field-wrapper"));o=void 0!==o?o:t,c.each(n[e],(function(t,n){var a=o.find("#".concat(t,"_field"));0===a.length&&(a=o.find("input[name='".concat(t,"']")).closest("p")),a.removeClass("form-row-first form-row-last form-row-wide").addClass(n),c("#eael-wc-".concat(e,"-reordered-fields .eael-woo-").concat(e,"-fields")).append(a)})),a.replaceWith(c("#eael-wc-".concat(e,"-reordered-fields")).contents()),c(".eael-woo-".concat(e,"-fields")).toggleClass("eael-woo-".concat(e,"-fields woocommerce-").concat(e,"-fields__field-wrapper")),c("#eael-wc-".concat(e,"-reordered-fields")).html('<div class="eael-woo-'.concat(e,'-fields"></div>'))};setTimeout((function(){t.hasClass("eael-billing-fields")&&(r("billing"),r("shipping",c(".eael-shipping-fields"))),t.hasClass("eael-shipping-fields")&&(r("shipping"),r("billing",c(".eael-billing-fields"))),a.removeClass("eael-reordering")}),500)}));var c=function(){var e=jQuery,o=e(".ea-woo-checkout").data("button_texts");setTimeout((function(){""!==o.place_order&&e("#place_order").text(o.place_order)}),500)};jQuery(document.body).on("update_checkout payment_method_selected updated_checkout",(function(e){c()})).on("click",".woocommerce-checkout-payment li label",(function(){c()}))}}); -
essential-addons-for-elementor-lite/trunk/essential_adons_elementor.php
r3398866 r3402448 5 5 * Plugin URI: https://essential-addons.com/ 6 6 * Author: WPDeveloper 7 * Version: 6.5. 17 * Version: 6.5.2 8 8 * Author URI: https://wpdeveloper.com/ 9 9 * Text Domain: essential-addons-for-elementor-lite … … 11 11 * 12 12 * WC tested up to: 10.0 13 * Elementor tested up to: 3.3 214 * Elementor Pro tested up to: 3.3 213 * Elementor tested up to: 3.33 14 * Elementor Pro tested up to: 3.33 15 15 */ 16 16 … … 28 28 define('EAEL_PLUGIN_PATH', trailingslashit(plugin_dir_path(__FILE__))); 29 29 define('EAEL_PLUGIN_URL', trailingslashit(plugins_url('/', __FILE__))); 30 define('EAEL_PLUGIN_VERSION', '6.5. 1');30 define('EAEL_PLUGIN_VERSION', '6.5.2'); 31 31 define('EAEL_ASSET_PATH', wp_upload_dir()['basedir'] . '/essential-addons-elementor'); 32 32 define('EAEL_ASSET_URL', wp_upload_dir()['baseurl'] . '/essential-addons-elementor'); -
essential-addons-for-elementor-lite/trunk/includes/Classes/Compatibility_Support.php
r3344575 r3402448 29 29 // Parse shipping method details 30 30 $method_string = $chosen_shipping_methods[0]; 31 list($method_id, $instance_id) = explode(':', $method_string); 31 // Ensure method_string is a string and contains a colon 32 if ( !is_string($method_string) || strpos($method_string, ':') === false ) { 33 return; 34 } 35 list($method_id, $instance_id) = explode(':', $method_string, 2); 32 36 33 37 // Add shipping form if Mondial Relay is selected -
essential-addons-for-elementor-lite/trunk/includes/Traits/Ajax_Handler.php
r3397981 r3402448 561 561 public function woo_checkout_update_order_review() { 562 562 $setting = $_POST['orderReviewData']; 563 $shipping_data = $_POST['shippingData'] ?? []; 564 563 $shipping_data = empty ( $_POST['shippingData'] ) ? WC()->session->get('chosen_shipping_methods') : [wc_clean( $_POST['shippingData'] )]; 565 564 //Mondial Relay plugin integration 566 565 do_action( 'eael_mondialrelay_order_after_shipping' ); 567 566 568 WC()->session->set( 'chosen_shipping_methods', [$shipping_data]);567 WC()->session->set( 'chosen_shipping_methods', $shipping_data ); 569 568 570 569 ob_start(); -
essential-addons-for-elementor-lite/trunk/languages/essential-addons-for-elementor-lite.pot
r3398866 r3402448 46 46 msgstr "" 47 47 48 #: ../includes/Classes/Compatibility_Support.php:6 348 #: ../includes/Classes/Compatibility_Support.php:67 49 49 msgid "Livraison Mondial Relay" 50 50 msgstr "" 51 51 52 #: ../includes/Classes/Compatibility_Support.php:6 552 #: ../includes/Classes/Compatibility_Support.php:69 53 53 msgid "Vous n'avez pas encore choisi de Point Relais®" 54 54 msgstr "" 55 55 56 #: ../includes/Classes/Compatibility_Support.php: 6756 #: ../includes/Classes/Compatibility_Support.php:71 57 57 msgid "Choisir un Point Relais®" 58 58 msgstr "" … … 214 214 msgstr "" 215 215 216 #: ../includes/Classes/WPDeveloper_Plugin_Installer.php:152, ../includes/Classes/WPDeveloper_Plugin_Installer.php:186, ../includes/Classes/WPDeveloper_Plugin_Installer.php:205, ../includes/Classes/WPDeveloper_Plugin_Installer.php:226, ../includes/Classes/WPDeveloper_Setup_Wizard.php:463, ../includes/Classes/WPDeveloper_Setup_Wizard.php:487, ../includes/Classes/WPDeveloper_Setup_Wizard.php:508, ../includes/Traits/Ajax_Handler.php:96 3, ../includes/Traits/Ajax_Handler.php:1152, ../includes/Traits/Ajax_Handler.php:1182, ../includes/Traits/Ajax_Handler.php:1199, ../includes/Traits/Helper.php:427216 #: ../includes/Classes/WPDeveloper_Plugin_Installer.php:152, ../includes/Classes/WPDeveloper_Plugin_Installer.php:186, ../includes/Classes/WPDeveloper_Plugin_Installer.php:205, ../includes/Classes/WPDeveloper_Plugin_Installer.php:226, ../includes/Classes/WPDeveloper_Setup_Wizard.php:463, ../includes/Classes/WPDeveloper_Setup_Wizard.php:487, ../includes/Classes/WPDeveloper_Setup_Wizard.php:508, ../includes/Traits/Ajax_Handler.php:962, ../includes/Traits/Ajax_Handler.php:1151, ../includes/Traits/Ajax_Handler.php:1181, ../includes/Traits/Ajax_Handler.php:1198, ../includes/Traits/Helper.php:427 217 217 msgid "you are not allowed to do this action" 218 218 msgstr "" … … 12023 12023 msgstr "" 12024 12024 12025 #: ../includes/Traits/Ajax_Handler.php:94, ../includes/Traits/Ajax_Handler.php:63 5, ../includes/Traits/Login_Registration.php:96, ../includes/Traits/Login_Registration.php:263, ../includes/Traits/Login_Registration.php:786, ../includes/Traits/Login_Registration.php:99812025 #: ../includes/Traits/Ajax_Handler.php:94, ../includes/Traits/Ajax_Handler.php:634, ../includes/Traits/Login_Registration.php:96, ../includes/Traits/Login_Registration.php:263, ../includes/Traits/Login_Registration.php:786, ../includes/Traits/Login_Registration.php:998 12026 12026 msgid "Insecure form submitted without security token" 12027 12027 msgstr "" 12028 12028 12029 #: ../includes/Traits/Ajax_Handler.php:103, ../includes/Traits/Ajax_Handler.php:64 4, ../includes/Traits/Login_Registration.php:108, ../includes/Traits/Login_Registration.php:273, ../includes/Traits/Login_Registration.php:798, ../includes/Traits/Login_Registration.php:1010, ../includes/Traits/Woo_Product_Comparable.php:217412029 #: ../includes/Traits/Ajax_Handler.php:103, ../includes/Traits/Ajax_Handler.php:643, ../includes/Traits/Login_Registration.php:108, ../includes/Traits/Login_Registration.php:273, ../includes/Traits/Login_Registration.php:798, ../includes/Traits/Login_Registration.php:1010, ../includes/Traits/Woo_Product_Comparable.php:2174 12030 12030 msgid "Security token did not match" 12031 12031 msgstr "" 12032 12032 12033 #: ../includes/Traits/Ajax_Handler.php:114, ../includes/Traits/Ajax_Handler.php:321, ../includes/Traits/Ajax_Handler.php:403, ../includes/Traits/Ajax_Handler.php:65 5, ../includes/Traits/Login_Registration.php:72, ../includes/Traits/Login_Registration.php:288, ../includes/Traits/Login_Registration.php:762, ../includes/Traits/Login_Registration.php:973, ../includes/Traits/Woo_Product_Comparable.php:213212033 #: ../includes/Traits/Ajax_Handler.php:114, ../includes/Traits/Ajax_Handler.php:321, ../includes/Traits/Ajax_Handler.php:403, ../includes/Traits/Ajax_Handler.php:654, ../includes/Traits/Login_Registration.php:72, ../includes/Traits/Login_Registration.php:288, ../includes/Traits/Login_Registration.php:762, ../includes/Traits/Login_Registration.php:973, ../includes/Traits/Woo_Product_Comparable.php:2132 12034 12034 msgid "Page ID is missing" 12035 12035 msgstr "" 12036 12036 12037 #: ../includes/Traits/Ajax_Handler.php:125, ../includes/Traits/Ajax_Handler.php:328, ../includes/Traits/Ajax_Handler.php:410, ../includes/Traits/Ajax_Handler.php:66 6, ../includes/Traits/Facebook_Feed.php:41, ../includes/Traits/Login_Registration.php:79, ../includes/Traits/Login_Registration.php:293, ../includes/Traits/Login_Registration.php:769, ../includes/Traits/Login_Registration.php:980, ../includes/Traits/Woo_Product_Comparable.php:213712037 #: ../includes/Traits/Ajax_Handler.php:125, ../includes/Traits/Ajax_Handler.php:328, ../includes/Traits/Ajax_Handler.php:410, ../includes/Traits/Ajax_Handler.php:665, ../includes/Traits/Facebook_Feed.php:41, ../includes/Traits/Login_Registration.php:79, ../includes/Traits/Login_Registration.php:293, ../includes/Traits/Login_Registration.php:769, ../includes/Traits/Login_Registration.php:980, ../includes/Traits/Woo_Product_Comparable.php:2137 12038 12038 msgid "Widget ID is missing" 12039 12039 msgstr "" 12040 12040 12041 #: ../includes/Traits/Ajax_Handler.php:136, ../includes/Traits/Ajax_Handler.php:334, ../includes/Traits/Ajax_Handler.php:417, ../includes/Traits/Ajax_Handler.php:67 612041 #: ../includes/Traits/Ajax_Handler.php:136, ../includes/Traits/Ajax_Handler.php:334, ../includes/Traits/Ajax_Handler.php:417, ../includes/Traits/Ajax_Handler.php:675 12042 12042 msgid "Widget settings are not found. Did you save the widget before using load more??" 12043 12043 msgstr "" … … 12047 12047 msgstr "" 12048 12048 12049 #: ../includes/Traits/Ajax_Handler.php:100 612049 #: ../includes/Traits/Ajax_Handler.php:1005 12050 12050 msgid "Login | Register Settings updated" 12051 12051 msgstr "" -
essential-addons-for-elementor-lite/trunk/readme.txt
r3398866 r3402448 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.0 7 Stable tag: 6.5. 17 Stable tag: 6.5.2 8 8 License: GPLv3 9 9 License URI: https://opensource.org/licenses/GPL-3.0 … … 320 320 == Changelog == 321 321 322 = 6.5.2 - 25/11/2025 = 323 324 - Fixed: Fixed checkout WooCommerce issues where shipping methods weren't updating correctly and prevented crashes when using the Mondial Relay shipping plugin 325 - Few minor bug fixes & improvements 326 322 327 = 6.5.1 - 19/11/2025 = 323 328
Note: See TracChangeset
for help on using the changeset viewer.