${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "133.33%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }; const product_image_hover_on = true && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Zapisz
` : '' }` : "Wyprzedane" }
Mieszana działka
${data.title}
${ data.price_min != data.price_max ? `z
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Ograniczony czasowo rabat 49%, płatność przy odbiorze, logistyka VIP.
Ograniczony czasowo rabat 49%, płatność przy odbiorze, logistyka VIP.
Zaloguj sie
Utwórz konto
${data.data && data.data.count}
DOM
O NAS
RABAT
NIEBIESKA PLANETA
SKONTAKTUJ SIĘ Z NAMI
Więcej linków
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 65040033, title: "DOM", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040035, title: "O NAS", url: "\/pages\/o-nas", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040037, title: "RABAT", url: "\/collections\/ogranicz-rabaty", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040039, title: "NIEBIESKA PLANETA", url: "\/pages\/niebieska-planeta", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040041, title: "SKONTAKTUJ SI\u0118 Z NAMI", url: "\/pages\/skontaktuj-sie-z-nami", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
DOM
O NAS
RABAT
NIEBIESKA PLANETA
SKONTAKTUJ SIĘ Z NAMI
Więcej linków
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 65040033, title: "DOM", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040035, title: "O NAS", url: "\/pages\/o-nas", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040037, title: "RABAT", url: "\/collections\/ogranicz-rabaty", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040039, title: "NIEBIESKA PLANETA", url: "\/pages\/niebieska-planeta", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 65040041, title: "SKONTAKTUJ SI\u0118 Z NAMI", url: "\/pages\/skontaktuj-sie-z-nami", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Zaloguj sie
Utwórz konto
${data.data && data.data.count}
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
Zobacz więcej
Twoje wyszukiwanie „${data}” nie przyniosło żadnych wyników.
` })()}
DOM
O NAS
RABAT
NIEBIESKA PLANETA
SKONTAKTUJ SIĘ Z NAMI
Zaloguj sie
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
1/120
${data.index + 1}/${data.total}
${Array(data.total).fill(0).map((num, index) => `
`).join('')}
49% zniżki na wyprzedaż✨Luźna mini sukienka bez rękawów, wykonana z wysokiej jakości bawełny i lnu
zł138.00
zł569.00
-
zł431.00
${function() { const variantData = data.variant || {"id":"2561cec6-a2e3-4ca7-8604-76440aafa243","product_id":"764abd27-5ec7-4b1d-97a6-36dbc10e6c36","title":"JasnoniebieskiName-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"JasnoniebieskiName","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb2f1e674f11681e60af2fa2ca904093.webp","path":"bb2f1e674f11681e60af2fa2ca904093.webp","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":138,"min_quantity":1}],"weight":"0","compare_at_price":"569","price":"138","retail_price":"569","available":true,"url":"\/products\/20240919141825?variant=2561cec6-a2e3-4ca7-8604-76440aafa243","available_quantity":999999999,"options":[{"name":"Kolor","value":"JasnoniebieskiName"},{"name":"Rozmiar","value":"S"}],"off_ratio":76,"flashsale_info":[],"sales":0}; const saveType = "amount"; const productLabelDiscountOn = true; return `
-
${saveType == 'percentage' ? `
-${variantData.off_ratio}%
` : `
-
` }
`; }()}
${function() { const minInventory = parseInt('10'); const maxInventory = parseInt('50'); const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory; const customText = "W magazynie pozosta\u0142o tylko {stock} produkt\u00f3w!".replace(/\{stock\}/g, '
' + randomInventory + '
'); const barWidth = (randomInventory / maxInventory) * 100 + '%'; return `
${customText}
`; }()}
osób ogląda ten produkt
Kolor:
JasnoniebieskiName
${function(){ const optName = "Kolor"; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value; const optionValueText = optionValue ? (optionValue) : ''; return `
${optionValueText}
`; }()}
JasnoniebieskiName
Ziemno-Żółty
Ciemnoniebieski
Czerwony pomarańczowy
Jasnoróżowawy Szary
Ciemnozelony
Kolor Pszenicy
Paw Niebieski
pomarańczowy żółty
Zielona oliwka
Burgundia
Czarny
JasnoszaryName
Magenta
Jasny beż
Koral
Jasny żółty
Żółty Zielony
Ciemnoczerwony- A
kolor brązowy
Zieleń wojskowa 1
Czerwony
szary
Fioletowy
Mleczny
${function(){ const tipText = "Wybierz {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data); return `
${tipText}
` }()}
Rozmiar:
S
${function(){ const optName = "Rozmiar"; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value; const optionValueText = optionValue ? (optionValue) : ''; return `
${optionValueText}
`; }()}
S
M
L
XL
XXL
${function(){ const tipText = "Wybierz {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data); return `
${tipText}
` }()}
Ilość
Wysyłka
${function() { const minDays = parseInt('10'); const maxDays = parseInt('15'); const customText = "Przewidywana data dostawy: {min_date} - {max_date}"; const minDate = new Date(Date.now() + (minDays * 86400000)); const maxDate = new Date(Date.now() + (maxDays * 86400000)); const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear()) ? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' }) : new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' }); const tipText = customText.replace(/\{min_date\}/g, '
' + formatDate.format(minDate) + '
') .replace(/\{max_date\}/g, '
' + formatDate.format(maxDate) + '
'); return `
${tipText}
`; }()}
Dodaj do koszyka
zł138.00
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = {"id":"2561cec6-a2e3-4ca7-8604-76440aafa243","product_id":"764abd27-5ec7-4b1d-97a6-36dbc10e6c36","title":"JasnoniebieskiName-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"JasnoniebieskiName","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb2f1e674f11681e60af2fa2ca904093.webp","path":"bb2f1e674f11681e60af2fa2ca904093.webp","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":138,"min_quantity":1}],"weight":"0","compare_at_price":"569","price":"138","retail_price":"569","available":true,"url":"\/products\/20240919141825?variant=2561cec6-a2e3-4ca7-8604-76440aafa243","available_quantity":999999999,"options":[{"name":"Kolor","value":"JasnoniebieskiName"},{"name":"Rozmiar","value":"S"}],"off_ratio":76,"flashsale_info":[],"sales":0}; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
Kup Teraz
Produkt był niedostępny.
Produkt niedostępny.
${function(){ const variantData = data.variant || {"id":"2561cec6-a2e3-4ca7-8604-76440aafa243","product_id":"764abd27-5ec7-4b1d-97a6-36dbc10e6c36","title":"JasnoniebieskiName-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"JasnoniebieskiName","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb2f1e674f11681e60af2fa2ca904093.webp","path":"bb2f1e674f11681e60af2fa2ca904093.webp","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":138,"min_quantity":1}],"weight":"0","compare_at_price":"569","price":"138","retail_price":"569","available":true,"url":"\/products\/20240919141825?variant=2561cec6-a2e3-4ca7-8604-76440aafa243","available_quantity":999999999,"options":[{"name":"Kolor","value":"JasnoniebieskiName"},{"name":"Rozmiar","value":"S"}],"off_ratio":76,"flashsale_info":[],"sales":0}; return `
Waga :
${variantData && variantData.weight}${variantData && variantData.weight_unit}
kod kreskowy :
${variantData && variantData.barcode}
` }()}