Üyelik İşlemleri
Şifremi Unuttum
Sepetim
Filtre
Seçilen Filtreler
{{ SELECTED.TEXT }}
{{ FILTERS.VARIANTS.TYPE1_NAME }}
{{ FILTERS.VARIANTS.TYPE2_NAME }}
Marka
Yazar
{{ FILTER.NAME }}
Fiyat
ABB
1.465,00 TL KDV
439,50 TL KDV
ABB
1.465,00 TL KDV
439,50 TL KDV
ABB
9.396,00 TL KDV
2.818,80 TL KDV
ABB
8.520,00 TL KDV
2.556,00 TL KDV
ABB
4.654,00 TL KDV
1.396,20 TL KDV
ABB
4.654,00 TL KDV
1.396,20 TL KDV
ABB
5.016,00 TL KDV
1.504,80 TL KDV
ABB
6.624,00 TL KDV
1.987,20 TL KDV
ABB
18.240,00 TL KDV
5.472,00 TL KDV
ABB
34.122,00 TL KDV
10.236,60 TL KDV
ABB
42.238,00 TL KDV
12.671,40 TL KDV
ABB
109.974,00 TL KDV
32.992,20 TL KDV
ABB
1.291,00 TL KDV
387,30 TL KDV
ABB
2.041,00 TL KDV
612,30 TL KDV
ABB
10.469,00 TL KDV
3.140,70 TL KDV
ABB
12.055,00 TL KDV
3.616,50 TL KDV
ABB
21.989,00 TL KDV
6.596,70 TL KDV
ABB
32.337,00 TL KDV
9.701,10 TL KDV
ABB
41.530,00 TL KDV
12.459,00 TL KDV
ABB
68.079,00 TL KDV
20.423,70 TL KDV
ABB
86.533,00 TL KDV
25.959,90 TL KDV
ABB
1.769,00 TL KDV
530,70 TL KDV
ABB
7.254,00 TL KDV
2.176,20 TL KDV
ABB
11.115,00 TL KDV
3.334,50 TL KDV
ABB
12.141,00 TL KDV
3.642,30 TL KDV
ABB
26.454,00 TL KDV
7.936,20 TL KDV
ABB
29.961,00 TL KDV
8.988,30 TL KDV
ABB
40.399,00 TL KDV
12.119,70 TL KDV
ABB
45.686,00 TL KDV
13.705,80 TL KDV
ABB
72.344,00 TL KDV
21.703,20 TL KDV
ABB
87.113,00 TL KDV
26.133,90 TL KDV
ABB
91.410,00 TL KDV
27.423,00 TL KDV
Toplam 4960 ürün bulunmaktadır.
', identifier: 'product_id', withVat: '1', currency: window.CURRENCY === 'TL' ? 'TRY' : window.CURRENCY, member: { fn: window.MEMBER_INFO.FIRST_NAME, ln: window.MEMBER_INFO.LAST_NAME, em: window.MEMBER_INFO.MAIL_HASH_SHA, external_id: window.MEMBER_INFO.ID > 0 ? window.MEMBER_INFO.ID : null, ge: window.MEMBER_INFO.GENDER, db: window.MEMBER_INFO.BIRTH_DATE, country: window.MEMBER_INFO.MEMBER_COUNTRY, ct: window.MEMBER_INFO.MEMBER_CITY, zp: window.MEMBER_INFO.MEMBER_ZIP_CODE, ph : window.MEMBER_INFO.PHONE, }, keyMap: { 'product': { 'product_code': 'code', 'product_id': 'id', }, 'cart': { 'product_code': 'PRODUCT_CODE', 'product_id': 'ID', }, 'order': { 'product_code': 'code', 'product_id': 'identifier', }, 'category': { 'product_code': 'code', 'product_id': 'id', } }, track: (pageType, obj) => { fbq('track', pageType, {...obj}, {eventID: pageType + '_' + window.FB_EVENT_ID}); }, setMember: () => { for (const [key, value] of Object.entries(FACEBOOK_APP.member)) { if (value === undefined || value === '') { FACEBOOK_APP.member[key] = null; } } if (FACEBOOK_APP.member.ph !== null){ FACEBOOK_APP.member.ph = FACEBOOK_APP.member.ph.replace(/\D/g, '') } }, run: () => { if (window.PAGE_TYPE === 'other' && document.location.href.indexOf('&mail=') > 0) { return false; } FACEBOOK_APP.setMember(); FACEBOOK_APP.setFbclid(); FACEBOOK_APP.withVat = FACEBOOK_APP.withVat === '1'; // FACEBOOK_APP.pixelId olarak almadık, extension hata fırlatıyor. fbq('init', ' ', FACEBOOK_APP.member); fbq('track', 'PageView', {}, {eventID: 'PageView_' + window.FB_EVENT_ID}); FACEBOOK_APP.productDetail(); FACEBOOK_APP.pageCategory(); FACEBOOK_APP.pageSearch(); FACEBOOK_APP.orderApprove(); FACEBOOK_APP.addToCart(); FACEBOOK_APP.orderPayment(); FACEBOOK_APP.wishList(); FACEBOOK_APP.pageCart(); FACEBOOK_APP.sign(); }, setFbclid: () => { const params = new URL(location.href).searchParams; const urlFbclid = params.get("fbclid"); if (urlFbclid) { TSOFT_APPS_LIBS.set.cookie('fbclid', urlFbclid, 90) TSOFT_APPS_LIBS.set.cookie('fbclid_time', Date.now(), 90) TSOFT_APPS_LIBS.set.cookie('fbp_random_key', Math.floor(1000000000 + Math.random() * 9000000000), 90) } const fbclid = TSOFT_APPS_LIBS.get.cookie('fbclid') if (fbclid) { FACEBOOK_APP.member.fbc = "fb.1." + TSOFT_APPS_LIBS.get.cookie('fbclid_time') + "." + fbclid; FACEBOOK_APP.member.fbp = "fb.1." + TSOFT_APPS_LIBS.get.cookie('fbclid_time') + "." + TSOFT_APPS_LIBS.get.cookie('fbp_random_key'); } }, productDetail: () => { TSOFT_APPS.product.detail.callback.push(function () { let products = window.PRODUCT_DATA[0]; const pkey = FACEBOOK_APP.keyMap['product'][FACEBOOK_APP.identifier]; let ckey = (pkey === 'code' && typeof products.subproduct_code != 'undefined' && products.subproduct_code != '') ? 'subproduct_code' : pkey; FACEBOOK_APP.track('ViewContent', { content_name: products.name, content_category: products.category, content_ids: [products[ckey]], content_type: 'product', value: FACEBOOK_APP.withVat ? products.total_sale_price : products.sale_price, currency: FACEBOOK_APP.currency } ); }) }, pageCategory: () => { TSOFT_APPS.page.category.callback.push((category, products) => { FACEBOOK_APP.track('ViewCategory', { content_name: category.name, content_type: 'product', content_ids: products.slice(0, 20).map((product) => { return product[FACEBOOK_APP.keyMap['category'][FACEBOOK_APP.identifier]]; }), } ); }) }, pageSearch: () => { TSOFT_APPS.page.search.callback.push((searchWord, product) => { FACEBOOK_APP.track('Search', {search_string: searchWord}); }) }, orderApprove: () => { TsoftAppsOrderApproveCallback(function (approveOrderData) { const pkey = FACEBOOK_APP.keyMap['order'][FACEBOOK_APP.identifier]; let productArr = []; let contentArr = approveOrderData.products.map((product) => { let ckey = (pkey === 'code' && typeof product.subproduct_code != 'undefined' && product.subproduct_code !== '') ? 'subproduct_code' : pkey; productArr.push(product[ckey]); return { id: product[ckey], quantity: product.quantity, } }); FACEBOOK_APP.track('Purchase', { value: (FACEBOOK_APP.withVat ? approveOrderData.amount : approveOrderData.amount_without_vat).toFixed(2), currency: approveOrderData.currency === 'TL' ? 'TRY' : approveOrderData.currency, content_type: 'product', content_ids: productArr, contents: contentArr }); }) }, addToCart: () => { TSOFT_APPS.cart.callback.add.push(function (r) { const pkey = FACEBOOK_APP.keyMap['cart'][FACEBOOK_APP.identifier]; let results = Array.isArray(r) ? r : [r]; results = results.filter((result) => { return !([-1, 0].includes(result.status)) }); results.forEach((result) => { FACEBOOK_APP.track('AddToCart', { contents: [{ id: result.addedProduct[pkey === 'PRODUCT_CODE' ? 'sku' : 'id'], quantity: result.quantity, }], content_ids: [result.addedProduct[pkey === 'PRODUCT_CODE' ? 'sku' : 'id']], content_type: 'product', value: parseFloat(result.addedProduct.price).toFixed(2), // 1.500,2 => 1500.20 // value: parseFloat(result.totalPrice.replace('.', '').replace(',', '.')).toFixed(2), // 1.500,2 => 1500.20 currency: FACEBOOK_APP.currency }); }); }) }, orderPayment: () => { TsoftAppsOrderPaymentCallback(async function (params) { const pkey = FACEBOOK_APP.keyMap['cart'][FACEBOOK_APP.identifier]; await TSOFT_APPS.get.cart.load(); const cartLoad = await TSOFT_APPS.get.result.cart.load; if (cartLoad === null || cartLoad.PRODUCTS.length === 0) { return false; } const categories = cartLoad.PRODUCTS.map((product) => { return product.CATEGORY_NAME; }); const contents = cartLoad.PRODUCTS.map((product) => { const ckey = (pkey === 'PRODUCT_CODE' && typeof product.VARIANT_CODE != 'undefined' && product.VARIANT_CODE !== '') ? 'VARIANT_CODE' : pkey; return { id: product[ckey], quantity: product.COUNT }; }); FACEBOOK_APP.track('AddPaymentInfo', { contents, currency: cartLoad.TARGET_CURRENCY === 'TL' ? 'TRY' : cartLoad.TARGET_CURRENCY, value: (FACEBOOK_APP.withVat ? cartLoad.PRICE_GENERAL : cartLoad.PRICE_TOTAL_SELL).toFixed(2), content_category: categories.toString(), content_type: 'product', }); }) }, wishList: () => { TSOFT_APPS.product.wishList.callback.add.push(function (r) { let results = Array.isArray(r) ? r : [r]; results = results.filter((result) => { return !([-1, 0].includes(result.status)) }); results.forEach((result) => { const priceValue = parseFloat(result.data?.price?.replace(',', '') ?? '0').toFixed(2); FACEBOOK_APP.track('AddToWishlist', { content_ids: [result.data?.code], content_type: 'product', value: priceValue, currency: FACEBOOK_APP.currency }); }); }) }, pageCart: () => { TSOFT_APPS.page.cart.callback.push(async function (data) { const pkey = FACEBOOK_APP.keyMap['cart'][FACEBOOK_APP.identifier]; await TSOFT_APPS.get.cart.load(); const cartLoad = await TSOFT_APPS.get.result.cart.load; if (cartLoad === null || cartLoad.PRODUCTS.length === 0) { return false; } const categories = cartLoad.PRODUCTS.map((product) => { return product.CATEGORY_NAME; }); const content_ids = []; const contents = cartLoad.PRODUCTS.map((product) => { const ckey = (pkey === 'PRODUCT_CODE' && typeof product.VARIANT_CODE != 'undefined' && product.VARIANT_CODE !== '') ? 'VARIANT_CODE' : pkey; content_ids.push(product[ckey]); return { id: product[ckey], quantity: product.COUNT }; }); FACEBOOK_APP.track('InitiateCheckout', { contents, content_ids, currency: (cartLoad.TARGET_CURRENCY === 'TL' ? 'TRY' : cartLoad.TARGET_CURRENCY), value: (FACEBOOK_APP.withVat ? cartLoad.PRICE_GENERAL : cartLoad.PRICE_TOTAL_SELL).toFixed(2), num_items: cartLoad.PRODUCTS.length, content_category: categories.toString(), content_type: 'product', }); }) }, sign: () => { if (window.PAGE_TYPE === 'memberConfirmation'){ FACEBOOK_APP.track('CompleteRegistration', { status: true, currency: FACEBOOK_APP.currency, value: '0.00' }); } } } console.log("LOG", FACEBOOK_APP.pixelId) FACEBOOK_APP.run();
T-Soft E-Ticaret Sistemleriyle Hazırlanmıştır.