${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "100%"; 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 ${ data.off_ratio }% ` : '' }` : "Wyprzedane" }
Mieszana działka
${data.title}
${ data.price_min != data.price_max ? `z
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Zaloguj sie
Utwórz konto
${data.data && data.data.count}
Home
Kategorie
DEWALT
BOSCH
HILTI
MAKITA
MILWAUKEE
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: 61732265, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61732267, title: "Kategorie", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "DEWALT", url: "\/collections\/dewalt", target: "", levels: 0, children: [ ] }, { title: "BOSCH", url: "\/collections\/bosch", target: "", levels: 0, children: [ ] }, { title: "HILTI", url: "\/collections\/hilti", target: "", levels: 0, children: [ ] }, { title: "MAKITA", url: "\/collections\/makita", target: "", levels: 0, children: [ ] }, { title: "MILWAUKEE", url: "\/collections\/milwaukee", target: "", levels: 0, 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}
` })()}
Home
Kategorie
DEWALT
BOSCH
HILTI
MAKITA
MILWAUKEE
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: 61732265, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 61732267, title: "Kategorie", url: "", target: "", levels: 1, product0: { id: (null) }, children: [ { title: "DEWALT", url: "\/collections\/dewalt", target: "", levels: 0, children: [ ] }, { title: "BOSCH", url: "\/collections\/bosch", target: "", levels: 0, children: [ ] }, { title: "HILTI", url: "\/collections\/hilti", target: "", levels: 0, children: [ ] }, { title: "MAKITA", url: "\/collections\/makita", target: "", levels: 0, children: [ ] }, { title: "MILWAUKEE", url: "\/collections\/milwaukee", target: "", levels: 0, 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}
Home
Kategorie
Kategorie
DEWALT
BOSCH
HILTI
MAKITA
MILWAUKEE
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(); })();
2/4
${data.index + 1}/${data.total}
${Array(data.total).fill(0).map((num, index) => `
`).join('')}
Bezprzewodowa maszynka do strzyżenia zwierząt Dewalt
zł370.00
zł740.00
-
50%
${function() { const variantData = data.variant || {"id":"a6d17de1-355a-4b76-87fb-ef4e968db96b","product_id":"3633584a-ae8f-4995-9ba7-97cc62ff7fa4","title":"Bateria litowa 4,0Ah*1-Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Bateria litowa 4,0Ah*1","option2":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/059ca63771f8647d6a936d5a0db247e1.jpg","path":"059ca63771f8647d6a936d5a0db247e1.jpg","width":790,"height":770,"alt":"","aspect_ratio":1.025974025974026},"wholesale_price":[{"price":370,"min_quantity":1}],"weight":"0","compare_at_price":"740","price":"370","retail_price":"740","available":true,"url":"\/products\/dewalt-0320?variant=a6d17de1-355a-4b76-87fb-ef4e968db96b","available_quantity":999999999,"options":[{"name":"Specyfikacja","value":"Bateria litowa 4,0Ah*1"},{"name":"Rozdanie","value":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy"}],"off_ratio":50,"flashsale_info":[],"sales":0}; const saveType = "percentage"; const productLabelDiscountOn = true; return `
-
${saveType == 'percentage' ? `-${variantData.off_ratio}%` : `
-
` }
`; }()}
Specyfikacja:
Bateria litowa 4,0Ah*1
${function(){ const optName = "Specyfikacja"; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value; const optionValueText = optionValue ? (optionValue) : ''; return `
${optionValueText}
`; }()}
Bateria litowa 4,0Ah*1
Bateria litowa 4,0Ah*2
Bateria litowa 6,0Ah*2
${function(){ const tipText = "Wybierz {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data); return `
${tipText}
` }()}
Rozdanie:
Gratis 2 warstwy + smar + szybka ładowarka + proszek litowy
${function(){ const optName = "Rozdanie"; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value; const optionValueText = optionValue ? (optionValue) : ''; return `
${optionValueText}
`; }()}
Gratis 2 warstwy + smar + szybka ładowarka + proszek litowy
${function(){ const tipText = "Wybierz {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data); return `
${tipText}
` }()}
Ilość
Dodaj do koszyka
zł370.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":"a6d17de1-355a-4b76-87fb-ef4e968db96b","product_id":"3633584a-ae8f-4995-9ba7-97cc62ff7fa4","title":"Bateria litowa 4,0Ah*1-Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Bateria litowa 4,0Ah*1","option2":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/059ca63771f8647d6a936d5a0db247e1.jpg","path":"059ca63771f8647d6a936d5a0db247e1.jpg","width":790,"height":770,"alt":"","aspect_ratio":1.025974025974026},"wholesale_price":[{"price":370,"min_quantity":1}],"weight":"0","compare_at_price":"740","price":"370","retail_price":"740","available":true,"url":"\/products\/dewalt-0320?variant=a6d17de1-355a-4b76-87fb-ef4e968db96b","available_quantity":999999999,"options":[{"name":"Specyfikacja","value":"Bateria litowa 4,0Ah*1"},{"name":"Rozdanie","value":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy"}],"off_ratio":50,"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":"a6d17de1-355a-4b76-87fb-ef4e968db96b","product_id":"3633584a-ae8f-4995-9ba7-97cc62ff7fa4","title":"Bateria litowa 4,0Ah*1-Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Bateria litowa 4,0Ah*1","option2":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/059ca63771f8647d6a936d5a0db247e1.jpg","path":"059ca63771f8647d6a936d5a0db247e1.jpg","width":790,"height":770,"alt":"","aspect_ratio":1.025974025974026},"wholesale_price":[{"price":370,"min_quantity":1}],"weight":"0","compare_at_price":"740","price":"370","retail_price":"740","available":true,"url":"\/products\/dewalt-0320?variant=a6d17de1-355a-4b76-87fb-ef4e968db96b","available_quantity":999999999,"options":[{"name":"Specyfikacja","value":"Bateria litowa 4,0Ah*1"},{"name":"Rozdanie","value":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy"}],"off_ratio":50,"flashsale_info":[],"sales":0}; return `
Waga :
${variantData && variantData.weight}${variantData && variantData.weight_unit}
kod kreskowy :
${variantData && variantData.barcode}
` }()}
Opis
Zobacz Koszyk
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { product_change_event = product_change_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${opt.name}Mouseover="quick-shop-selected-variant-${opt.name}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Wyprzedane" : "Dodaj do koszyka"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Sprzedaż
` }()}
${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":"a6d17de1-355a-4b76-87fb-ef4e968db96b","product_id":"3633584a-ae8f-4995-9ba7-97cc62ff7fa4","title":"Bateria litowa 4,0Ah*1-Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Bateria litowa 4,0Ah*1","option2":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/059ca63771f8647d6a936d5a0db247e1.jpg","path":"059ca63771f8647d6a936d5a0db247e1.jpg","width":790,"height":770,"alt":"","aspect_ratio":1.025974025974026},"wholesale_price":[{"price":370,"min_quantity":1}],"weight":"0","compare_at_price":"740","price":"370","retail_price":"740","available":true,"url":"\/products\/dewalt-0320?variant=a6d17de1-355a-4b76-87fb-ef4e968db96b","available_quantity":999999999,"options":[{"name":"Specyfikacja","value":"Bateria litowa 4,0Ah*1"},{"name":"Rozdanie","value":"Gratis 2 warstwy + smar + szybka \u0142adowarka + proszek litowy"}],"off_ratio":50,"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 ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}