%38
indirim
79,90 TL
49,90 TL
%50
indirim
59,90 TL
29,90 TL
%50
indirim
59,90 TL
29,90 TL
%44
indirim
79,90 TL
44,90 TL
// Prepare Criteo related data criteoDeviceType = /iPad/.test(navigator.userAgent) ? "t" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? "m" : "d"; window.criteo_q = window.criteo_q || []; // Your Criteo Partner ID var criteoPartnerId = 28561; if(PAGE_TYPE == "category") { var prodObj = PRODUCT_DATA; var products = []; if(products.length < 1 && prodObj != 'null'){ for(var i=0;i<3;i++){ if(typeof prodObj[i] != 'undefined'){ products[i] = prodObj[i].id; } } } window.criteo_q.push( {event: "setAccount", account: criteoPartnerId}, {event: "setSiteType", type: criteoDeviceType}, {event: "setEmail", email: MEMBER_INFO.MAIL}, {event: "viewList", ecpplugin: "tsoft", item: products}); } else if(PAGE_TYPE == "product") { // Prepare Criteo related data var criteoProductId = PRODUCT_DATA[0].id; window.criteo_q.push( {event: "setAccount", account: criteoPartnerId}, {event: "setSiteType", type: criteoDeviceType}, {event: "setEmail", email: MEMBER_INFO.MAIL}, {event: "viewItem", ecpplugin: "tsoft", item: criteoProductId}); } else if(PAGE_TYPE == "cart") { $.get("/srv/service/customer/get-basket", function(data, status) { var basketItems = JSON.parse(data); var criteoProducts = []; for (i = 0; i < basketItems.products.length; i++) { var basketProduct = basketItems.products[i]; criteoProducts.push({id: basketProduct.identifier, price: basketProduct.price_sell, quantity: basketProduct.quantity}); } if (status == "success" && criteoProducts.length > 0) { // Prepare Criteo related data window.criteo_q.push( {event: "setAccount", account: criteoPartnerId}, {event: "setSiteType", type: criteoDeviceType}, {event: "setEmail", email: MEMBER_INFO.MAIL}, {event: "viewBasket", ecpplugin: "tsoft", item: criteoProducts}); } }); } else if(PAGE_TYPE == "approve") { // Prepare Criteo related data var orderDetails = approveOrderData; var criteoProducts = []; for (i = 0; i < orderDetails.products.length; i++) { var saleProduct = orderDetails.products[i]; criteoProducts.push({id: saleProduct.identifier, price: parseFloat(Math.round(saleProduct.total_amount * 100) / 100).toFixed(2), quantity: saleProduct.quantity}); } window.criteo_q.push( {event: "setAccount", account: criteoPartnerId}, {event: "setSiteType", type: criteoDeviceType}, {event: "setEmail", email: MEMBER_INFO.MAIL}, {event: "trackTransaction", ecpplugin: "tsoft", id: orderDetails.transaction, item: criteoProducts}); } else { window.criteo_q.push( {event: "setAccount", account: criteoPartnerId}, {event: "setSiteType", type: criteoDeviceType}, {event: "setEmail", email: MEMBER_INFO.MAIL}, {event: "viewHome", ecpplugin: "tsoft"}); }
T-Soft E-Ticaret Sistemleriyle Hazırlanmıştır.