'+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.
social. sociable. clubby. clubbable. clubable. conversable. socio-.
gregarious. social. social toplumsal. içtimai.
social.
socialist. socialistic. socialist.
socialist. socialist toplumcu.
socialist.
to socialize.
to socialize. to nationalize.
social justice.
social anthropology.
social science.
social sciences.
social democracy.
social democrat.
social state.
social security.
public life.
social life. community / social life.
social relation.
social intercourse.
social security. social insurance. social insurance / security.
social structure.
social organism.
social relief. social relief. national assistance. public social assistance. out relief. poor relief. benefit pension. public charge. family casework. payment of benefits. provident benefit. supplementary payment. welfare. welfare g.
socialization.
socialization.
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: "tFBZE24zp0eAG3QombRiAzjtyY08I24cNrocvBZv"}, 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: "tFBZE24zp0eAG3QombRiAzjtyY08I24cNrocvBZv" }, 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: "tFBZE24zp0eAG3QombRiAzjtyY08I24cNrocvBZv" }, 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("