shoppingCartInit(); debugger; function shoppingCartInit() { shoppingCartAppend(); let DELETE_FILTER = null; let insufficientQtyActions = { moreQtyAdd(e){ $(e.target).parents('.mainselectcontainer').find('.insufficientqty').removeClass('d-none'); }, moreQtyRemove(e){ $(e.target).parents('.mainselectcontainer').find('.insufficientqty').addClass('d-none'); } } function shoppingCartAppend() { let data = getCartData(); if (!data) { $('.emptyShow').removeClass('d-none'); $('.checkoutbtn').addClass('d-none'); return; }; let html = ''; let products = data; // for(let i=0;i
Insufficient quantity
` } function shoppingCartDesktopHTML({ id, img, name, price, description, quantity, total,totalQty,productid,itemid }) { const [currencySymbol,amt] = getCurrencySymbol(price); return `
${name}
${name} ${description||''} 8 Offers >

${currencySymbol} ${amt}

${getQuantityHTML(quantity,totalQty, id)}

${total}

x

shopping-cart-item-img Anwi Extended Warranty 2 Year: Protect your Laptop for another 2 years Learn more

₹3,200 (2 year)

shopping-cart-item-img Anwi Extended Warranty 2 Year: Protect your Laptop for another 2 years Learn more

₹2,900 (2 year)

`; } }