'+result['getcart'][z]['product'][0]['name']+'
'+result['getcart'][z]['price']+' TL '+ button +'NE ARAMIŞTINIZ?
İngilizce Türkçe sözlükte arama yapmak için ise tıklayabilirsiniz.
stop. cease. stand. hold. hold on. remain. come to a stop. be. endure. discontinue. draw up. halt. come to a halt. harp. intermit. keep. let up. linger. pull in. pull up. draw rein. rest. stay.
cease. discontinue. halt. lie. rest. stall. stand. stay. stop. to stop. to cease. to halt. to remain. to stay. to suit. to go. to look. to wait. to come to rest. to stop off. to pull up. to draw up. to pack up. to cut out. to stall.
halt. stop. to stop. to last. to continue to exist. to endure. to stand without doing anything. to be / to remain (at a place. to suit. to go. to appear. to look. to lie. to rest. to wait. to repose. to pose. to pause. to pitch. to intercept. to stall. ce.
Alışveriş Sepetiniz
TOPLAM' + formatmny(pricebasket) + ' TL
'; fbq('track', 'AddToCart', {currency: "TRY", value: pricebasket}); }); } function deletecart(id, sect) { setTimeout(function () { jQuery.post("https://www.limasollunaci.com/deletecart", {id: id, _token: "gidn5pR5kmdfftPrJrkEv5WAhaTGob5Lzu4RjUZu"}, function (result) { jQuery('#mCSB_1_container').empty(); jQuery('#total-price').empty(); // jQuery('#total-discount').empty(); var total = 0; $("#li" + id).remove(); for (var z = 0; z < result['getcart'].length; z++) { result['getcart'][z]['product'][0]['name'] = (result['getcart'][z]['product'][0]['name']).replace(/'/g, ''); var stringprice = result['getcart'][z]['price'].toString(); var intprice = parseFloat(stringprice.replace('.', "").replace(',', '.')); total += intprice * parseInt(result['getcart'][z]['number']); if(result['getcart'][z]['price'] ==0) { var button = ''; } else{ var button = ''; } jQuery("#mCSB_1_container").append(''); } var pricebasket = parseFloat(total) - parseFloat(result['totaldiscount']); var pricebasket = parseFloat(result['totalamount']) + parseFloat(result['cargo']); document.getElementById('total-price').innerHTML = 'TOPLAM' + formatmny(pricebasket) + ' TL
'; if (total == 0) { document.getElementById('sepetegit').style.display = "none"; document.getElementById('total-price').style.display = "none"; document.getElementById('cargo').style.display = "none"; } if(parseFloat(result['totaldiscount']) <= 0) { document.getElementById('total-discount').innerHTML = ""; document.getElementById('total-discount').style.display = "none"; } document.getElementById('totalnumber').innerHTML = result['totalnumber']; document.getElementById('totalnumber').style.display = "block"; /* document.getElementById('total-price-basket').innerHTML = pricebasket.formatMoney(2, ',', '.'); document.getElementById('discountrate').innerHTML = "İndirim:" + result['totaldiscount'] + " TL "; if(result['totalnumber'] ==0) { document.getElementById('totalnumber').style.display="none"; }else{ document.getElementById('totalnumber').style.display="block"; } */ }); //location.reload(); }, 400); } function changecount(id, count) { setTimeout(function () { //var count = $('#count' + id).val(); console.log(count); jQuery.post("https://www.limasollunaci.com/changecount", { id: id, "count": count, _token: "gidn5pR5kmdfftPrJrkEv5WAhaTGob5Lzu4RjUZu" }, function (result) { jQuery('#mCSB_1_container').empty(); jQuery('#total-price').empty(); var total = 0; for (var z = 0; z < result['getcart'].length; z++) { result['getcart'][z]['product'][0]['name'] = (result['getcart'][z]['product'][0]['name']).replace(/'/g, ''); var stringprice = result['getcart'][z]['price'].toString(); var intprice = parseFloat(stringprice.replace('.', "").replace(',', '.')); total += intprice * parseInt(result['getcart'][z]['number']); if(result['getcart'][z]['price'] ==0) { var button = ''; } else{ var button = ''; } jQuery("#mCSB_1_container").append(''); } var pricebasket = parseInt(total) - parseInt(result['totaldiscount']); document.getElementById('total-price').innerHTML = 'TOPLAM '+ total.formatMoney(2, ',', '.') +' TL
'; // document.getElementById('total-price-basket').innerHTML = pricebasket.formatMoney(2, ',', '.') + ' TL '; // document.getElementById('discountrate').innerHTML = result['totaldiscount'] + " TL "; /*document.getElementById('totalnumber').innerHTML = result['totalnumber']; document.getElementById('totalnumber').style.display="block"; */ }); //location.reload(); }, 400); } function buttontrigger() { } Number.prototype.formatMoney = function (fractionDigits, decimal, separator) { fractionDigits = isNaN(fractionDigits = Math.abs(fractionDigits)) ? 2 : fractionDigits; decimal = typeof (decimal) === "undefined" ? "." : decimal; separator = typeof (separator) === "undefined" ? "," : separator; var number = this; var neg = number < 0 ? "-" : ""; var wholePart = parseInt(number = Math.abs(+number || 0).toFixed(fractionDigits)) + ""; var separtorIndex = (separtorIndex = wholePart.length) > 3 ? separtorIndex % 3 : 0; return neg + (separtorIndex ? wholePart.substr(0, separtorIndex) + separator : "") + wholePart.substr(separtorIndex).replace(/(\d{3})(?=\d)/g, "$1" + separator) + (fractionDigits ? decimal + Math.abs(number - wholePart).toFixed(fractionDigits).slice(2) : ""); }; function formatmny(argument) { return Number(argument).formatMoney(2, ',', '.'); } $(document).on('click', '.product-counter button', function () { var dataid = $(this).data('id'); var val = parseInt($(this).parent().find('input').val()); var last_count; if ($(this).hasClass('plus')) { if (parseInt($(this).parent().find('input').val()) >= $(this).parent().find('input').attr("max")) { $(this).parent().find('input').val($(this).parent().find('input').attr("max")) } else { $(this).parent().find('input').val(val + 1); last_count = val + 1; } } else { if (val <= 1) { $(this).attr('disabled'); } else { $(this).removeAttr('disabled'); $(this).parent().find('input').val(val - 1); last_count = val - 1; } } changecount(dataid, last_count); }) function discountcuppon() { var code = $('#cupponcode').val(); jQuery.post("https://www.limasollunaci.com/getdiscountcode", { code: code, _token: "gidn5pR5kmdfftPrJrkEv5WAhaTGob5Lzu4RjUZu" }, function (result) { if(result['status'] ==0) { $.fancybox.open("İndirim -" + result['discount'].formatMoney(2, ',', '.') + " TL" + result['name'] + "
"; document.getElementById('total-price').innerHTML = "TOPLAM" + result['totalamount'] + " TL
"; } else{ $.fancybox.open("