'+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.
go. take one's way. go away. depart. head for. betake oneself to. bugger off. give. go together. head. hop it. hop off. repair. resort. steer for. step. strike out. take to. wend one's way. work in with.
become. blend. depart. flit. go. gravitate. move. nose. pop. retire. retreat. ride. sail. sneak. steam. travel. trot. to go. to leave. to depart. to make a move. to leave for. to attend. to get on with sth. to go off. to move off. to travel. to make. to go with. to suit. to become. to fit. to be suitable. to be enough. to suffic. to go away. be lost.
to go. to lead. to last. to be enough for. to leave. to go away. to travel. to disappear. to have recourse to. betake. buzz. depart. drive off. to do a fade. flock. gang. get. get off. go about. hit the road. to take one's hooks. make. make tracks.
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: "MqaXMwVTUedDaExLbS5rhDOM7tjqIZ261N4a0Vgz"}, 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: "MqaXMwVTUedDaExLbS5rhDOM7tjqIZ261N4a0Vgz" }, 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: "MqaXMwVTUedDaExLbS5rhDOM7tjqIZ261N4a0Vgz" }, 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("