'+result['getcart'][z]['product'][0]['name']+'
'+result['getcart'][z]['price']+' TL '+ button +'NE ARAMIŞTINIZ?
Türkçe İngilizce sözlükte arama yapmak için ise tıklayabilirsiniz.
s., i. pasif, eylemsiz, faaliyeti olmayan, dış etkiler karşısında hareketsiz kalan; gram. edilgen, meful, meçhul; ikt. faizsiz; dayanıklı, uysal; tıb. atıl; i., gram. edilgen fiil. passive commerce tic. ihraç mallarını yabancı gemilerle nakletmek suretiyle yapılan ticaret. passive obedience inanç veya prensiplere aykırı olsa da tam itaat. passive resistance pasif mukavemet, eylemsiz direniş. passively z. pasif olarak. passiveness i. pasif oluş passiv'ity i. dış etkiler karşısında hareketsizlik; boyun eğme; dirençsizlik.
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: "oHWsDVliCPYLgU1Yj4UhZHsVcZpz9lqDkaXKA1Eu"}, 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: "oHWsDVliCPYLgU1Yj4UhZHsVcZpz9lqDkaXKA1Eu" }, 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: "oHWsDVliCPYLgU1Yj4UhZHsVcZpz9lqDkaXKA1Eu" }, 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("