İletişime Geç
Menü
Hesabım
Şifremi Unuttum
Üye Ol
Sepetim
Filtre
Kategoriler
Seçilen Filtreler
{{ SELECTED.TEXT }} ×
{{ FILTERS.VARIANTS.TYPE1_NAME }}
{{ FILTERS.VARIANTS.TYPE2_NAME }}
Marka
Model
{{ FILTER.NAME }}
Fiyat
Toplam 154 ürün bulunmaktadır.
Görünüm :

Osende MF Metilfolat 30 Tablet

(1)
312,79 TL
Sepete Ekle İncele

Magnimore GS 60 Kapsül

(1)
536,92 TL
Sepete Ekle İncele

Lipovia Lipozomal C Vitamini 30 Kapsül

(3)
774,67 TL
Sepete Ekle İncele

Lipovia Lipozomal Kurkumin 30 Kapsül

(4)
724,08 TL
Sepete Ekle İncele

Lipovia Lipozomal Glutatyon 30 Kapsül

(1)
Kargo Bedava
Kargo Bedava
1.150,39 TL
Sepete Ekle İncele

Lifextra Krom Pikolinat 90 Kapsül

(3)
353,90 TL
Sepete Ekle İncele

Lifextra Bromelain 30 Kapsül

252,14 TL
Sepete Ekle İncele

Lifextra B Kompleks 60 Kapsül

770,68 TL
Sepete Ekle İncele

Lifextra Alfa Lipoik Asit 90 Kapsül

(3)
416,96 TL
Sepete Ekle İncele

Lectus Metilkobalamin B12 Dil Altı Sprey 20 ML

(1)
464,98 TL
Sepete Ekle İncele

Lectus Kids Çinko Bakır 60 Saşe

(1)
556,14 TL
Sepete Ekle İncele

Lectus Metilkobalamin B12 Dil Altı Sprey 10 ML

(2)
354,51 TL
Sepete Ekle İncele

Lectus Metilkobalamin Kids B12 Dil Altı Sprey 5 ML

(2)
213,99 TL
Sepete Ekle İncele

Lectus Metilkobalamin B12 Dil Altı Sprey 5 ML

(1)
244,32 TL
Sepete Ekle İncele

Lectus Focus 150 ML

(1)
478,74 TL
Sepete Ekle İncele

Magnimore Pro 90 Kapsül

(4)
Kargo Bedava
Kargo Bedava
1.133,38 TL
Sepete Ekle İncele

Magnimore Magnezyum Sitrat 60 Kapsül

(3)
363,70 TL
Sepete Ekle İncele

Lifextra Selenyum 60 Tablet

(3)
377,74 TL
Sepete Ekle İncele

Lifextra Cranberry 30 Kapsül

(2)
283,90 TL
Sepete Ekle İncele

Lifextra Biotin 5000 mg 60 Tablet

(5)
292,90 TL
Sepete Ekle İncele

Omepa Q10 Omega 3 Ubiquinol 60 Kapsül

(7)
Kargo Bedava
Kargo Bedava
1.289,32 TL
Sepete Ekle İncele

Lifextra Zeolit 45 Saşe

(2)
598,92 TL
Sepete Ekle İncele

Osende Collagen Beauty 30x40 ML Günlük Tüp

(1)
Kargo Bedava
Kargo Bedava
1.399,15 TL
Sepete Ekle İncele

Oculioon 60 Kapsül

(9)
942,33 TL
Sepete Ekle İncele

Lifextra Karnıyarık Otu 120 Kapsül

(2)
874,66 TL
Sepete Ekle İncele

Krilom QH Plus 30 Yumuşak Kapsül

(11)
Kargo Bedava
Kargo Bedava
1.113,50 TL
Sepete Ekle İncele

Omepa DHA 30 Yumuşak Kapsül

(3)
789,74 TL
Sepete Ekle İncele

Krilom Omega 3 100 Kapsül

(12)
Kargo Bedava
Kargo Bedava
1.004,95 TL
Sepete Ekle İncele

Osende C Vitamini 1000 Mg 60 Kapsül

(2)
393,85 TL
Sepete Ekle İncele

Osende Metilkobalamin B12 30 Tablet

(3)
289,71 TL
Sepete Ekle İncele

Urinonvef 30 Kapsül

(16)
235,60 TL
Sepete Ekle İncele

Osende Çörekotu Yağı 30 Yumuşak Kapsül

(4)
235,53 TL
Sepete Ekle İncele

Osende Koenzim QH 30 Yumuşak Kapsül

(5)
856,48 TL
Sepete Ekle İncele

Osende Koenzim QH Fort 30 Yumuşak Kapsül

(5)
Kargo Bedava
Kargo Bedava
1.483,08 TL
Sepete Ekle İncele

Osende Vitamin D3 Damla 20 ML

(3)
227,11 TL
Sepete Ekle İncele

Krilom Ultra Krill Oil 30 Yumuşak Kapsül

(29)
592,37 TL
Sepete Ekle İncele

Vitavivos Ultra Omega 3 200 Kapsül

661,55 TL
Sepete Ekle İncele

Tabvitamins Pea Palmitoiletanolamid 60 Kapsül

Kargo Bedava
Kargo Bedava
1.699,83 TL
Sepete Ekle İncele

Tabvitamins Zenflex 60 Tablet

862,59 TL
Sepete Ekle İncele

Tabvitamins Vitamin K2 60 Kapsül

258,63 TL
Sepete Ekle İncele

Tabvitamins Vitality Energy Multivitamin 60 Tablet

634,34 TL
Sepete Ekle İncele

Tabvitamins Saffran 50 mg 30 Kapsül

(1)
957,86 TL
Sepete Ekle İncele

Tabvitamins PQQ Pirolokinolin Kinon 20 mg 30 Kapsül

567,12 TL
Sepete Ekle İncele

Tabvitamins Immumore Likit 200 ml

604,84 TL
Sepete Ekle İncele

Tabvitamins Immumore Hot 12 Saşe

599,11 TL
Sepete Ekle İncele

Tabvitamins Feritinol 30 Saşe

582,71 TL
Sepete Ekle İncele

Tabvitamins Extra 5 Magnezyum Powder 60 Servis

701,84 TL
Sepete Ekle İncele

Tabvitamins Bakır Takviyesi 120 Kapsül

(1)
717,23 TL
Sepete Ekle İncele
Toplam Sayfa:
Toplam Ürün: 154
    ', debug: 'false' === 'true', withVat: 'true' === 'true', sendMember: 'true' === 'true', sendMode: (function () { var mode = '{{send_mode}}'; return (mode === 'both' || mode === 'capi') ? mode : 'pixel'; })(), capiEndpoint: '/Diger/Apps/OpenAI.php', usePixel: () => OPENAI_PIXEL.sendMode !== 'capi', useCapi: () => OPENAI_PIXEL.sendMode !== 'pixel', identifier: (function () { var loc = 'product_id'; return (loc === 'product_id' || loc === 'product_code') ? loc : 'product_id'; })(), keyMap: { 'product': { 'product_code': 'code', 'product_id': 'id', }, 'cart': { 'product_code': 'sku', 'product_id': 'id', }, 'cartLoad': { 'product_code': 'PRODUCT_CODE', 'product_id': 'ID', }, 'order': { 'product_code': 'code', 'product_id': 'identifier', }, }, events: { page_viewed: 'page_viewed', contents_viewed: 'contents_viewed', items_added: 'items_added', checkout_started: 'checkout_started', order_created: 'order_created', registration_completed: 'registration_completed', lead_created: 'lead_created', }, orderStorageKey: 'oaiq_sent_orders', pendingOrders: [], ready: null, consentReady: null, resolveConsent: null, getCurrency: (currency) => { const c = currency || window.CURRENCY; return c === 'TL' ? 'TRY' : c; }, toMinor: (value) => { const n = parseFloat(value); return isNaN(n) ? 0 : Math.round(n * 100); }, toInt: (value) => { const n = parseInt(value, 10); return isNaN(n) || n < 1 ? 1 : n; }, sequence: 0, eventId: (eventName, suffix) => { OPENAI_PIXEL.sequence += 1; return eventName + '_' + (suffix ? String(suffix) + '_' : '') + window.OPENAI_EVENT_ID + '_' + OPENAI_PIXEL.sequence; }, log: (...args) => { if (OPENAI_PIXEL.debug) { console.log('[OpenAI Pixel]', ...args); } }, measure: (eventName, data, options) => { const eventData = Object.assign({ type: 'contents' }, data || {}); const opts = Object.assign({}, options || {}); if (!opts.event_id) { opts.event_id = OPENAI_PIXEL.eventId(eventName); } return OPENAI_PIXEL.ready.then(async () => { if (!OPENAI_PIXEL.hasCookieConsent()) { OPENAI_PIXEL.log('consent yok, onay bekleniyor', eventName); await OPENAI_PIXEL.consentReady; } OPENAI_PIXEL.log('measure', eventName, eventData, opts); if (OPENAI_PIXEL.usePixel()) { oaiq('measure', eventName, eventData, opts); } if (!OPENAI_PIXEL.useCapi()) { return true; } const result = await OPENAI_PIXEL.capi(eventName, eventData, opts); return !!(result && result.status); }); }, getCookie: (name) => { if (typeof TSOFT_APPS_LIBS !== 'undefined' && TSOFT_APPS_LIBS.get?.cookie) { return TSOFT_APPS_LIBS.get.cookie(name) || ''; } const match = document.cookie.match('(^|;)\s*' + name + '\s*=\s*([^;]+)'); return match ? match.pop() : ''; }, capi: async (eventName, eventData, opts) => { if (!OPENAI_PIXEL.useCapi()) { return false; } try { const response = await fetch(OPENAI_PIXEL.capiEndpoint, { method: 'POST', headers: { 'Content-Type': 'application/json' }, redirect: 'follow', referrerPolicy: 'no-referrer', body: JSON.stringify({ track_data: { event_name: eventName, custom_event_name: opts.custom_event_name, event_id: opts.event_id, event_source_url: document.URL, oppref: OPENAI_PIXEL.getCookie('__oppref'), obref: OPENAI_PIXEL.getCookie('__obref'), data: eventData, } }) }); const result = await response.json(); OPENAI_PIXEL.log('capi', eventName, result); return result; } catch (e) { OPENAI_PIXEL.log('capi error', eventName, e); return false; } }, isConsentEnforced: () => { if (window.TSOFT_CONSENT && typeof window.TSOFT_CONSENT.bannerActive !== 'undefined') { return window.TSOFT_CONSENT.bannerActive === true; } const cookieLawInput = document.getElementById('cookie-law'); if (cookieLawInput) { return cookieLawInput.value === '1'; } return typeof window.rejectAllCookies === 'function'; }, hasCookieConsent: () => { if (window.TSOFT_CONSENT && typeof window.TSOFT_CONSENT.allows === 'function') { return window.TSOFT_CONSENT.allows('marketing'); } const hasConsentCookie = /(?:^|;\s*)(t-cookie-consent|t-cookie-law|CookieLaw)=/.test(document.cookie); if (!hasConsentCookie) { return !OPENAI_PIXEL.isConsentEnforced(); } const newCookieMatch = document.cookie.match(/(?:^|;\s*)t-cookie-consent=([^;]+)/); if (newCookieMatch) { try { const consent = JSON.parse(decodeURIComponent(newCookieMatch[1])); return consent?.marketing === true; } catch (e) { console.warn('t-cookie-consent parse edilemedi', e); return false; } } const lawCookieMatch = document.cookie.match(/(?:^|;\s*)t-cookie-law=([^;]+)/); if (lawCookieMatch) { try { const consent = JSON.parse(decodeURIComponent(lawCookieMatch[1])); return consent?.marketing === true; } catch (e) { console.warn('t-cookie-law parse edilemedi', e); return false; } } const oldCookieMatch = document.cookie.match(/(?:^|;\s*)CookieLaw=([^;]+)/); if (oldCookieMatch) { return oldCookieMatch[1] === '1'; } return false; }, sha256: async (value) => { const bytes = new TextEncoder().encode(value); const hash = await crypto.subtle.digest('SHA-256', bytes); return Array.from(new Uint8Array(hash)).map((b) => b.toString(16).padStart(2, '0')).join(''); }, normalize: { email: (v) => String(v).trim().toLowerCase(), phone: (v) => String(v).replace(/\D/g, '').replace(/^0+/, ''), name: (v) => String(v).toLowerCase().replace(/[\s!-\/:-@\[-`{-~]/g, ''), }, buildUser: async () => { const info = window.MEMBER_INFO || {}; if (!OPENAI_PIXEL.sendMember || !(parseInt(info.ID, 10) > 0)) { return null; } const user = {}; const canHash = typeof crypto !== 'undefined' && crypto.subtle && typeof TextEncoder !== 'undefined'; try { if (canHash) { if (info.MAIL) { user.email_sha256 = await OPENAI_PIXEL.sha256(OPENAI_PIXEL.normalize.email(info.MAIL)); } const phone = info.PHONE ? OPENAI_PIXEL.normalize.phone(info.PHONE) : ''; if (phone.length >= 8 && phone.length <= 15) { user.phone_number_sha256 = await OPENAI_PIXEL.sha256(phone); } if (info.FIRST_NAME) { user.first_name_sha256 = await OPENAI_PIXEL.sha256(OPENAI_PIXEL.normalize.name(info.FIRST_NAME)); } if (info.LAST_NAME) { user.last_name_sha256 = await OPENAI_PIXEL.sha256(OPENAI_PIXEL.normalize.name(info.LAST_NAME)); } user.external_id_sha256 = await OPENAI_PIXEL.sha256(String(info.ID)); } else { if (info.MAIL_HASH_SHA) user.email_sha256 = info.MAIL_HASH_SHA; if (info.PHONE_HASH_SHA) user.phone_number_sha256 = info.PHONE_HASH_SHA; if (info.ID_HASH_SHA) user.external_id_sha256 = info.ID_HASH_SHA; } } catch (e) { console.warn('OpenAI Pixel: uye verisi hashlenemedi', e); } if (typeof info.MEMBER_COUNTRY === 'string' && info.MEMBER_COUNTRY.length === 2) { user.country = info.MEMBER_COUNTRY.toUpperCase(); } if (info.MEMBER_CITY) { user.city = String(info.MEMBER_CITY).substring(0, 128); } if (info.MEMBER_ZIP_CODE) { user.postal_code = String(info.MEMBER_ZIP_CODE).substring(0, 32); } return Object.keys(user).length ? user : null; }, isOrderSent: (transaction) => { try { const sent = JSON.parse(localStorage.getItem(OPENAI_PIXEL.orderStorageKey) || '[]'); return sent.includes(String(transaction)); } catch (e) { return false; } }, markOrderSent: (transaction) => { try { let sent = JSON.parse(localStorage.getItem(OPENAI_PIXEL.orderStorageKey) || '[]'); sent.push(String(transaction)); sent = sent.slice(-20); localStorage.setItem(OPENAI_PIXEL.orderStorageKey, JSON.stringify(sent)); } catch (e) { } }, storeOppref: () => { const oppref = new URL(location.href).searchParams.get('oppref'); if (oppref && typeof TSOFT_APPS_LIBS !== 'undefined' && TSOFT_APPS_LIBS.set?.cookie) { TSOFT_APPS_LIBS.set.cookie('__oppref', oppref, 90); } }, init: async () => { const hasConsent = OPENAI_PIXEL.hasCookieConsent(); if (!OPENAI_PIXEL.usePixel()) { if (hasConsent) { OPENAI_PIXEL.storeOppref(); } return; } if (!hasConsent) { oaiq('consent', false); } const config = { pixelId: OPENAI_PIXEL.pixelId }; if (OPENAI_PIXEL.debug) { config.debug = true; } if (hasConsent) { const user = await OPENAI_PIXEL.buildUser(); if (user) { config.user = user; } } OPENAI_PIXEL.log('init', config); oaiq('init', config); }, consentGranted: false, onConsentGranted: async () => { if (OPENAI_PIXEL.consentGranted) { return; } OPENAI_PIXEL.consentGranted = true; OPENAI_PIXEL.log('consent verildi, gonderim aciliyor'); OPENAI_PIXEL.storeOppref(); if (OPENAI_PIXEL.usePixel()) { const user = await OPENAI_PIXEL.buildUser(); if (user) { oaiq('init', { pixelId: OPENAI_PIXEL.pixelId, user: user }); } oaiq('consent', true); } OPENAI_PIXEL.resolveConsent(); }, watchConsent: () => { OPENAI_PIXEL.consentReady = new Promise((resolve) => { OPENAI_PIXEL.resolveConsent = resolve; }); if (OPENAI_PIXEL.hasCookieConsent()) { OPENAI_PIXEL.consentGranted = true; OPENAI_PIXEL.resolveConsent(); return; } if (window.TSOFT_CONSENT && typeof window.TSOFT_CONSENT.whenAllowed === 'function') { window.TSOFT_CONSENT.whenAllowed('marketing', OPENAI_PIXEL.onConsentGranted); return; } const timer = setInterval(() => { if (OPENAI_PIXEL.hasCookieConsent()) { clearInterval(timer); OPENAI_PIXEL.onConsentGranted(); } }, 1000); }, run: () => { OPENAI_PIXEL.ready = OPENAI_PIXEL.init(); OPENAI_PIXEL.watchConsent(); OPENAI_PIXEL.pageViewed(); OPENAI_PIXEL.contentsViewed(); OPENAI_PIXEL.itemsAdded(); OPENAI_PIXEL.checkoutStarted(); OPENAI_PIXEL.orderCreated(); OPENAI_PIXEL.registrationCompleted(); OPENAI_PIXEL.leadCreated(); OPENAI_PIXEL.login(); OPENAI_PIXEL.search(); OPENAI_PIXEL.categoryViewed(); OPENAI_PIXEL.wishlistAdded(); OPENAI_PIXEL.itemsRemoved(); OPENAI_PIXEL.paymentInfoAdded(); }, custom: (name, data, options) => { OPENAI_PIXEL.measure('custom', Object.assign({ type: 'custom' }, data || {}), Object.assign({ custom_event_name: name, event_id: OPENAI_PIXEL.eventId('custom_' + name), }, options || {})); }, pageContent: () => { const content = { id: String(window.PAGE_TYPE || location.pathname || '/'), content_type: 'page', }; const title = (document.title || '').trim(); if (title) { content.name = title.substring(0, 128); } return content; }, pageViewed: () => { OPENAI_PIXEL.measure(OPENAI_PIXEL.events.page_viewed, { type: 'contents', contents: [OPENAI_PIXEL.pageContent()], }); }, contentsViewed: () => { TSOFT_APPS.product.detail.callback.push(function () { const product = window.PRODUCT_DATA[0]; const pkey = OPENAI_PIXEL.keyMap['product'][OPENAI_PIXEL.identifier]; const ckey = (pkey === 'code' && product.subproduct_code) ? 'subproduct_code' : pkey; const currency = OPENAI_PIXEL.getCurrency(); const amount = OPENAI_PIXEL.toMinor(OPENAI_PIXEL.withVat ? product.total_sale_price : product.sale_price, currency); OPENAI_PIXEL.measure(OPENAI_PIXEL.events.contents_viewed, { type: 'contents', amount: amount, currency: currency, contents: [{ id: String(product[ckey]), name: product.name, content_type: 'product', quantity: 1, amount: amount, currency: currency, }], }); }); }, itemsAdded: () => { TSOFT_APPS.cart.callback.add.push(function (r) { let results = Array.isArray(r) ? r : [r]; results = results.filter((result) => !([-1, 0].includes(result.status))); const pkey = OPENAI_PIXEL.keyMap['cart'][OPENAI_PIXEL.identifier]; const currency = OPENAI_PIXEL.getCurrency(); results.forEach((result) => { const added = result.addedProduct; const quantity = OPENAI_PIXEL.toInt(added.change || 1); const ckey = (pkey === 'sku' && added.subproduct_sku) ? 'subproduct_sku' : pkey; const unitPrice = parseFloat(added.price) / (OPENAI_PIXEL.withVat ? 1 : (1 + (parseFloat(added.vat) || 0) / 100)); const unitAmount = OPENAI_PIXEL.toMinor(unitPrice, currency); OPENAI_PIXEL.measure(OPENAI_PIXEL.events.items_added, { type: 'contents', amount: OPENAI_PIXEL.toMinor(unitPrice * quantity, currency), currency: currency, contents: [{ id: String(added[ckey]), name: added.name, content_type: 'product', quantity: quantity, amount: unitAmount, currency: currency, }], }, { event_id: OPENAI_PIXEL.eventId(OPENAI_PIXEL.events.items_added, added.id), }); }); }); }, checkoutStarted: () => { TSOFT_APPS.page.cart.callback.push(async function () { const cartLoad = await TSOFT_APPS.get.result.cart.load; if (!cartLoad || !cartLoad.PRODUCTS || cartLoad.PRODUCTS.length === 0) { return false; } const pkey = OPENAI_PIXEL.keyMap['cartLoad'][OPENAI_PIXEL.identifier]; const currency = OPENAI_PIXEL.getCurrency(cartLoad.TARGET_CURRENCY); const contents = cartLoad.PRODUCTS.map((product) => { const ckey = (pkey === 'PRODUCT_CODE' && product.VARIANT_CODE) ? 'VARIANT_CODE' : pkey; const quantity = OPENAI_PIXEL.toInt(product.COUNT); const unitPrice = OPENAI_PIXEL.withVat ? (parseFloat(product.PRICE_TOTAL) / quantity) : parseFloat(product.PRICE_SELL); return { id: String(product[ckey]), name: product.TITLE, content_type: 'product', quantity: quantity, amount: OPENAI_PIXEL.toMinor(unitPrice, currency), currency: currency, }; }); OPENAI_PIXEL.measure(OPENAI_PIXEL.events.checkout_started, { type: 'contents', amount: OPENAI_PIXEL.toMinor(OPENAI_PIXEL.withVat ? cartLoad.PRICE_GENERAL : cartLoad.PRICE_TOTAL_SELL, currency), currency: currency, contents: contents, }); }); }, orderCreated: () => { TsoftAppsOrderApproveCallback(function (approveOrderData) { const transaction = approveOrderData.transaction; if (!transaction) { return false; } if (OPENAI_PIXEL.isOrderSent(transaction) || OPENAI_PIXEL.pendingOrders.includes(transaction)) { OPENAI_PIXEL.log('order_created zaten gonderildi, atlaniyor:', transaction); return false; } OPENAI_PIXEL.pendingOrders.push(transaction); const pkey = OPENAI_PIXEL.keyMap['order'][OPENAI_PIXEL.identifier]; const currency = OPENAI_PIXEL.getCurrency(approveOrderData.currency); const contents = (approveOrderData.products || []).map((product) => { const ckey = (pkey === 'code' && product.subproduct_code) ? 'subproduct_code' : pkey; return { id: String(product[ckey]), name: product.name, content_type: 'product', quantity: OPENAI_PIXEL.toInt(product.quantity), amount: OPENAI_PIXEL.toMinor(product.amount_order, currency), currency: currency, }; }); OPENAI_PIXEL.measure(OPENAI_PIXEL.events.order_created, { type: 'contents', amount: OPENAI_PIXEL.toMinor(OPENAI_PIXEL.withVat ? approveOrderData.amount : approveOrderData.amount_without_vat, currency), currency: currency, contents: contents, }, { event_id: OPENAI_PIXEL.events.order_created + '_' + transaction, }).then((sent) => { OPENAI_PIXEL.pendingOrders = OPENAI_PIXEL.pendingOrders.filter((t) => t !== transaction); if (sent) { OPENAI_PIXEL.markOrderSent(transaction); } else { OPENAI_PIXEL.log('order_created gonderilemedi (CAPI hata), yenilemede tekrar denenecek:', transaction); } }); }); }, leadCreated: () => { TSOFT_APPS.metaFormSubmit.callback.push(function (response) { if (response && (response.status === false || response.status === 0 || response.status === -1)) { return false; } OPENAI_PIXEL.measure(OPENAI_PIXEL.events.lead_created, { type: 'customer_action', }); }); }, login: () => { TSOFT_APPS.page.tracking.login.callback.push(function (params) { if (params?.status === true || params?.status === 1 || params?.status === 2) { OPENAI_PIXEL.custom('login', { type: 'custom' }); } }); }, search: () => { TSOFT_APPS.page.search.callback.push(function (searchWord, products) { const contents = []; if (searchWord) { contents.push({ id: String(searchWord).substring(0, 128), name: String(searchWord).substring(0, 128), content_type: 'search', }); } OPENAI_PIXEL.custom('search', { type: 'custom', contents: contents, }); }); }, categoryViewed: () => { TSOFT_APPS.page.category.callback.push(function (category, products) { const pkey = OPENAI_PIXEL.keyMap['product'][OPENAI_PIXEL.identifier]; const contents = []; if (category?.name) { contents.push({ id: String(category.id || category.name), name: String(category.name).substring(0, 128), content_type: 'category', }); } (Array.isArray(products) ? products : []).slice(0, 20).forEach((product) => { if (product?.[pkey] === undefined || product?.[pkey] === '') { return; } const content = { id: String(product[pkey]), content_type: 'product', }; if (product.name) { content.name = product.name; } contents.push(content); }); OPENAI_PIXEL.custom('category_viewed', { type: 'custom', contents: contents, }); }); }, wishlistAdded: () => { TSOFT_APPS.product.wishList.callback.add.push(function (r) { let results = Array.isArray(r) ? r : [r]; results = results.filter((result) => !([-1, 0, false].includes(result.status))); const isV5 = ['v5', 'os2'].includes(window?.THEME_VERSION); const currency = OPENAI_PIXEL.getCurrency(); results.forEach((result) => { const product = isV5 ? result.data : result.data?.[0]?.product; if (!product) { return; } const pkey = OPENAI_PIXEL.identifier === 'product_code' ? 'code' : 'id'; const content = { id: String(product[pkey] || product.id || product.code), content_type: 'product', quantity: 1, }; if (product.name) { content.name = product.name; } const data = { type: 'custom', contents: [content] }; const price = parseFloat(String(product.price || '').replace(/\./g, '').replace(',', '.')); if (!isNaN(price) && price > 0) { data.amount = OPENAI_PIXEL.toMinor(price, currency); data.currency = currency; content.amount = data.amount; content.currency = currency; } OPENAI_PIXEL.custom('wishlist_added', data, { event_id: OPENAI_PIXEL.eventId('custom_wishlist_added', content.id), }); }); }); }, itemsRemoved: () => { TSOFT_APPS.cart.callback.delete.push(function (params) { let removed = false; if (params?.deletedProduct?.id) { removed = params.deletedProduct; } else if (params?.type === 'decrement' && params?.addedProduct?.id) { removed = params.addedProduct; } if (!params?.status || !removed) { return false; } const currency = OPENAI_PIXEL.getCurrency(); const quantity = OPENAI_PIXEL.toInt(removed.change || removed.quantity || 1); let unitPrice = parseFloat(removed.price); if (params?.deletedProduct?.id) { unitPrice = OPENAI_PIXEL.withVat ? parseFloat(removed.total_price) : parseFloat(removed.price); } else { unitPrice = unitPrice / (OPENAI_PIXEL.withVat ? 1 : (1 + (parseFloat(removed.vat) || 0) / 100)); } const pkey = OPENAI_PIXEL.identifier === 'product_code' ? 'sku' : 'id'; OPENAI_PIXEL.custom('items_removed', { type: 'custom', amount: OPENAI_PIXEL.toMinor(unitPrice * quantity, currency), currency: currency, contents: [{ id: String(removed[pkey] || removed.id), name: removed.name, content_type: 'product', quantity: quantity, amount: OPENAI_PIXEL.toMinor(unitPrice, currency), currency: currency, }], }, { event_id: OPENAI_PIXEL.eventId('custom_items_removed', removed.id), }); }); }, paymentInfoAdded: () => { TsoftAppsOrderPaymentCallback(async function () { const cartLoad = await TSOFT_APPS.get.result.cart.load; if (!cartLoad || !cartLoad.PRODUCTS || cartLoad.PRODUCTS.length === 0) { return false; } const pkey = OPENAI_PIXEL.keyMap['cartLoad'][OPENAI_PIXEL.identifier]; const currency = OPENAI_PIXEL.getCurrency(cartLoad.TARGET_CURRENCY); const contents = cartLoad.PRODUCTS.map((product) => { const ckey = (pkey === 'PRODUCT_CODE' && product.VARIANT_CODE) ? 'VARIANT_CODE' : pkey; const quantity = OPENAI_PIXEL.toInt(product.COUNT); const unitPrice = OPENAI_PIXEL.withVat ? (parseFloat(product.PRICE_TOTAL) / quantity) : parseFloat(product.PRICE_SELL); return { id: String(product[ckey]), name: product.TITLE, content_type: 'product', quantity: quantity, amount: OPENAI_PIXEL.toMinor(unitPrice, currency), currency: currency, }; }); OPENAI_PIXEL.custom('payment_info_added', { type: 'custom', amount: OPENAI_PIXEL.toMinor(OPENAI_PIXEL.withVat ? cartLoad.PRICE_GENERAL : cartLoad.PRICE_TOTAL_SELL, currency), currency: currency, contents: contents, }); }); }, registrationStorageKey: 'oaiq_registration_sent', sendRegistration: () => { try { if (sessionStorage.getItem(OPENAI_PIXEL.registrationStorageKey)) { OPENAI_PIXEL.log('registration_completed zaten gonderildi, atlaniyor'); return false; } sessionStorage.setItem(OPENAI_PIXEL.registrationStorageKey, '1'); } catch (e) { } OPENAI_PIXEL.measure(OPENAI_PIXEL.events.registration_completed, { type: 'customer_action', }); }, registrationCompleted: () => { TSOFT_APPS.page.tracking.sign.callback.push(function (params) { if (params?.status === true || params?.status === 1 || params?.status === 2) { OPENAI_PIXEL.sendRegistration(); } }); setTimeout(function () { if (window.PAGE_TYPE === 'memberConfirmation') { OPENAI_PIXEL.sendRegistration(); } }, 1500); }, }; OPENAI_PIXEL.run();
    T-Soft E-Ticaret Sistemleriyle Hazırlanmıştır.