HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/commandofl/public_html/wp-content/plugins/gtm-kit/assets/integration/edd-checkout.js
jQuery(document).ready(function(o){o(document.body).on("change",".edd-item-quantity",function(){let d=o(this),t=parseInt(d.val()),a=d.data("key"),e=d.closest(".edd_cart_item").data("download-id"),i=JSON.parse(d.parent().find('input[name="edd-cart-download-'+a+'-options"]').val()),n=Object.entries(window.gtmkit_data.edd.cart_items);n.forEach(d=>{d[1].download.download_id!==e||void 0!==d[1].download.price_id&&d[1].download.price_id!==i.price_id||Object.assign(window.gtmkit_data.edd.cart_items[d[0]],{quantity:t})})})});