Server IP : 192.64.112.168 / Your IP : 18.119.122.145 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/themes/woodmart/js/scripts/wc/ |
Upload File : |
!function(m){woodmartThemeModule.checkoutQuantity=function(){var s;woodmartThemeModule.$document.on("change input",".woocommerce-checkout-review-order-table .quantity .qty",function(){var t=m(this),e=t.val(),a=t.attr("name"),o=a.substring(a.indexOf("[")+1,a.indexOf("]")),a=t.attr("max"),r=woodmart_settings.cart_hash_key,n=woodmart_settings.fragment_name;clearTimeout(s),parseInt(e)>parseInt(a)&&(e=a),s=setTimeout(function(){m.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_update_cart_item",item_id:o,qty:e},success:function(t){t&&t.fragments&&(m.each(t.fragments,function(t,e){m(t).replaceWith(e)}),woodmartThemeModule.supports_html5_storage&&(sessionStorage.setItem(n,JSON.stringify(t.fragments)),localStorage.setItem(r,t.cart_hash),sessionStorage.setItem(r,t.cart_hash),t.cart_hash)&&sessionStorage.setItem("wc_cart_created",(new Date).getTime()),woodmartThemeModule.$body.trigger("wc_fragments_refreshed")),m("form.checkout").trigger("update")},dataType:"json",method:"GET"})},500)})},m(document).ready(function(){woodmartThemeModule.checkoutQuantity()})}(jQuery);