
As low as
49.90 ₪
מחיר מדף
0.00 ₪
{
"[data-unique-selector-key=\"46249\"] [data-role=swatch-option-363839]": {
"idus_product-swatch_renderer": {
"selectorProduct": ".product-item-details_363839",
"onlySwatches": true,
"enableControlLabel": true,
"numberToShow": 16,
"jsonConfig": {"attributes":{"195":{"id":"195","code":"color","label":"\u05e6\u05d1\u05e2","options":[{"id":"14853","label":"\u05d0\u05e4\u05d5\u05e8 \u05db\u05d4\u05d4","products":{"stock":["363317","363318","363319","363320","363321","363322"]}}],"position":"10","default":"14853","used_in_product_listing":"1"},"194":{"id":"194","code":"size","label":"\u05de\u05d9\u05d3\u05d4","options":[{"id":"14253","label":"3Y","products":{"stock":["363321"]}},{"id":"14254","label":"4Y","products":{"stock":["363322"]}},{"id":"14248","label":"5Y-6Y","products":{"stock":["363317"]}},{"id":"14249","label":"7Y-8Y","products":{"stock":["363318"]}},{"id":"14250","label":"9Y-10Y","products":{"stock":["363319"]}},{"id":"14251","label":"11Y-12Y","products":{"stock":["363320"]}}],"position":"30","default":"","used_in_product_listing":"1"}},"template":"<%- data.price %>\u00a0\u20aa","currencyFormat":"%s\u00a0\u20aa","optionPrices":{"363317":{"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"costPrice":{"amount":false},"finalPrice":{"amount":49.9},"tierPrices":[]},"363318":{"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"costPrice":{"amount":false},"finalPrice":{"amount":49.9},"tierPrices":[]},"363319":{"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"costPrice":{"amount":false},"finalPrice":{"amount":49.9},"tierPrices":[]},"363320":{"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"costPrice":{"amount":false},"finalPrice":{"amount":49.9},"tierPrices":[]},"363321":{"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"costPrice":{"amount":false},"finalPrice":{"amount":49.9},"tierPrices":[]},"363322":{"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"costPrice":{"amount":false},"finalPrice":{"amount":49.9},"tierPrices":[]}},"priceFormat":{"pattern":"%s\u00a0\u20aa","precision":2,"requiredPrecision":2,"decimalSymbol":".","groupSymbol":",","groupLength":3,"integerRequired":false,"round_price":"0"},"prices":{"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"finalPrice":{"amount":49.9}},"productId":"363839","chooseText":"Choose an Option...","images":{"363317":["https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_2-1756708931964534.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_3-1756708931989986.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_4-1756708931926562.jpg"],"363318":["https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_2-1756708931964534.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_3-1756708931989986.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_4-1756708931926562.jpg"],"363319":["https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_2-1756708931964534.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_3-1756708931989986.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_4-1756708931926562.jpg"],"363320":["https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_2-1756708931964534.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_3-1756708931989986.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_4-1756708931926562.jpg"],"363321":["https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_2-1756708931964534.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_3-1756708931989986.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_4-1756708931926562.jpg"],"363322":["https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_2-1756708931964534.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_3-1756708931989986.jpg","https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/cache\/0c10cf84d9daea477b73908a03179de8\/l\/d\/LD02887_LM93C_4-1756708931926562.jpg"]},"index":{"363317":{"195":"14853","194":"14248"},"363318":{"195":"14853","194":"14249"},"363319":{"195":"14853","194":"14250"},"363320":{"195":"14853","194":"14251"},"363321":{"195":"14853","194":"14253"},"363322":{"195":"14853","194":"14254"}}},
"noDefaultSelected": false,
"jsonSwatchConfig": {"195":{"14853":{"type":"1","value":"#8c898c","label":"\u05d0\u05e4\u05d5\u05e8 \u05db\u05d4\u05d4"}},"194":{"14253":{"type":"0","value":null,"label":"3Y"},"14254":{"type":"0","value":null,"label":"4Y"},"14248":{"type":"0","value":null,"label":"5Y-6Y"},"14249":{"type":"0","value":null,"label":"7Y-8Y"},"14250":{"type":"0","value":null,"label":"9Y-10Y"},"14251":{"type":"0","value":null,"label":"11Y-12Y"}}},
"simpleAttribute": {"363317":{"product_parent_id|form":{"value":"363839"},"dl_sku|form":{"value":"LD02887_LM93C"},"name|.product-name":{"action":"text","selector":".product-name","value":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","additional":false,"all_varients":"0","default_value":""},"stampa_sale|.product-stampa_sale":{"action":"swatch","selector":".product-stampa_sale","value":"","additional":false,"all_varients":"0","default_value":""},"bool_classes":{"has_print_option":false,"is_series":false,"price_guardian":true,"product_print":false}},"parent":{"name|.product-name":{"action":"text","selector":".product-name","value":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","additional":false,"all_varients":"0","default_value":""},"stampa_sale|.product-stampa_sale":{"action":"swatch","selector":".product-stampa_sale","value":"","additional":false,"all_varients":"0","default_value":""}},"363318":{"product_parent_id|form":{"value":"363839"},"dl_sku|form":{"value":"LD02887_LM93C"},"name|.product-name":{"action":"text","selector":".product-name","value":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","additional":false,"all_varients":"0","default_value":""},"stampa_sale|.product-stampa_sale":{"action":"swatch","selector":".product-stampa_sale","value":"","additional":false,"all_varients":"0","default_value":""},"bool_classes":{"has_print_option":false,"is_series":false,"price_guardian":true,"product_print":false}},"363319":{"product_parent_id|form":{"value":"363839"},"dl_sku|form":{"value":"LD02887_LM93C"},"name|.product-name":{"action":"text","selector":".product-name","value":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","additional":false,"all_varients":"0","default_value":""},"stampa_sale|.product-stampa_sale":{"action":"swatch","selector":".product-stampa_sale","value":"","additional":false,"all_varients":"0","default_value":""},"bool_classes":{"has_print_option":false,"is_series":false,"price_guardian":true,"product_print":false}},"363320":{"product_parent_id|form":{"value":"363839"},"dl_sku|form":{"value":"LD02887_LM93C"},"name|.product-name":{"action":"text","selector":".product-name","value":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","additional":false,"all_varients":"0","default_value":""},"stampa_sale|.product-stampa_sale":{"action":"swatch","selector":".product-stampa_sale","value":"","additional":false,"all_varients":"0","default_value":""},"bool_classes":{"has_print_option":false,"is_series":false,"price_guardian":true,"product_print":false}},"363321":{"product_parent_id|form":{"value":"363839"},"dl_sku|form":{"value":"LD02887_LM93C"},"name|.product-name":{"action":"text","selector":".product-name","value":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","additional":false,"all_varients":"0","default_value":""},"stampa_sale|.product-stampa_sale":{"action":"swatch","selector":".product-stampa_sale","value":"","additional":false,"all_varients":"0","default_value":""},"bool_classes":{"has_print_option":false,"is_series":false,"price_guardian":true,"product_print":false}},"363322":{"product_parent_id|form":{"value":"363839"},"dl_sku|form":{"value":"LD02887_LM93C"},"name|.product-name":{"action":"text","selector":".product-name","value":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","additional":false,"all_varients":"0","default_value":""},"stampa_sale|.product-stampa_sale":{"action":"swatch","selector":".product-stampa_sale","value":"","additional":false,"all_varients":"0","default_value":""},"bool_classes":{"has_print_option":false,"is_series":false,"price_guardian":true,"product_print":false}}},
"mediaCallback": "https://www.delta.co.il/swatches/ajax/media/",
"showPriceOptions": "0",
"loadMediaRender": "1",
"loadMediaRenderGallery": "1",
"disableCloseOpenedSwatchesOnSelect": 0,
"lowInStock": {"attribute_ids":["194"],"data":{"363317":false,"363318":false,"363319":false,"363320":false,"363321":false,"363322":false}},
"attributeLocalization": false,
"showPriceOnSwatchChange": 1 }
}
}
{
"[data-unique-selector-key=\"46249\"] [data-role=priceBox][data-price-box=product-id-363839]": {
"priceBox": {
"priceConfig": {
"priceFormat": {"pattern":"%s\u00a0\u20aa","precision":2,"requiredPrecision":2,"decimalSymbol":".","groupSymbol":",","groupLength":3,"integerRequired":false,"round_price":"0"},
"prices": {"oldPrice":{"amount":49.9},"basePrice":{"amount":49.9},"finalPrice":{"amount":49.9}} }
}
}
}
OUTLET
window.idusDataLayer = window.idusDataLayer || [];
window.idusDataLayer.products = window.idusDataLayer.products || {};
if (window.idusDataLayer.products['363839'] == undefined) {
window.idusDataLayer.products['363839'] = {"dl_dimension1":"\u05de\u05d9\u05d3\u05d4: 5Y-6Y","dl_dimension20":"instock","dl_brand":"\u05d3\u05dc\u05ea\u05d0","kit_type":null,"stampa":"OUTLET","stampa_sale":"","visual_stampa":"","dl_category":"\u05d1\u05e0\u05d9\u05dd \/ \u05e4\u05d9\u05d2\u2019\u05de\u05d5\u05ea \/","dl_variant":"\u05e6\u05d1\u05e2: \u05d0\u05e4\u05d5\u05e8 \u05db\u05d4\u05d4","id":"363839","sku":"LD02887_LM93C","parent_id":0,"name":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","url":"https://www.delta.co.il/ld02887_lm93c","image":"https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","price":"49.9","mode":"carousel","store_name":"\u05d3\u05dc\u05ea\u05d0","dl_list":"\u05e1\u05d8 \u05e4\u05d9\u05d2\u2019\u05de\u05d4 \u05e4\u05d5\u05d8\u05e8 BATMAN \/ COMPLETE THE LOOK"};
} else {
window.idusDataLayer.products['363839_tmp'] = {"dl_dimension1":"\u05de\u05d9\u05d3\u05d4: 5Y-6Y","dl_dimension20":"instock","dl_brand":"\u05d3\u05dc\u05ea\u05d0","kit_type":null,"stampa":"OUTLET","stampa_sale":"","visual_stampa":"","dl_category":"\u05d1\u05e0\u05d9\u05dd \/ \u05e4\u05d9\u05d2\u2019\u05de\u05d5\u05ea \/","dl_variant":"\u05e6\u05d1\u05e2: \u05d0\u05e4\u05d5\u05e8 \u05db\u05d4\u05d4","id":"363839","sku":"LD02887_LM93C","parent_id":0,"name":"\u05d5\u05d5\u05d0\u05e0\u05d6\u05d9 \u05e4\u05dc\u05d0\u05e4\u05d9 BATMAN","url":"https://www.delta.co.il/ld02887_lm93c","image":"https:\/\/www.delta.co.il\/pub\/media\/catalog\/product\/l\/d\/LD02887_LM93C_1-1756708931898317.jpg","price":"49.9","mode":"carousel","store_name":"\u05d3\u05dc\u05ea\u05d0","dl_list":"\u05e1\u05d8 \u05e4\u05d9\u05d2\u2019\u05de\u05d4 \u05e4\u05d5\u05d8\u05e8 BATMAN \/ COMPLETE THE LOOK"};
for (var k in window.idusDataLayer.products['363839_tmp']) {
if ((window.idusDataLayer.products['363839'][k] == undefined || window.idusDataLayer.products['363839'][k] == null) && window.idusDataLayer.products['363839_tmp'][k] != undefined && window.idusDataLayer.products['363839_tmp'][k] != null) {
window.idusDataLayer.products['363839'][k] = window.idusDataLayer.products['363839_tmp'][k];
} else if ((window.idusDataLayer.products['363839_tmp'][k] == undefined || window.idusDataLayer.products['363839_tmp'][k] == null) && window.idusDataLayer.products['363839'][k] != undefined && window.idusDataLayer.products['363839'][k] != null) {
window.idusDataLayer.products['363839_tmp'][k] = window.idusDataLayer.products['363839'][k];
} else if (window.idusDataLayer.products['363839_tmp'][k] != undefined &&
window.idusDataLayer.products['363839_tmp'][k] != null &&
window.idusDataLayer.products['363839_tmp'][k] !== '' &&
window.idusDataLayer.products['363839'][k] != undefined &&
window.idusDataLayer.products['363839'][k] != null &&
window.idusDataLayer.products['363839_tmp'][k] !== window.idusDataLayer.products['363839'][k]) {
window.idusDataLayer.products['363839'][k] = window.idusDataLayer.products['363839_tmp'][k];
}
}
/* keep buy_request + children */
if (window.idusDataLayer.products['363839_tmp'].children != undefined) {
window.idusDataLayer.products['363839'].children = window.idusDataLayer.products['363839_tmp'].children
}
if (window.idusDataLayer.products['363839_tmp'].buy_request != undefined) {
window.idusDataLayer.products['363839'].buy_request = window.idusDataLayer.products['363839_tmp'].buy_request
}
delete window.idusDataLayer.products['363839_tmp'];
}
var uniqueSelectorElement = document.querySelector(`[data-unique-selector-key="46249"]`);
if ( uniqueSelectorElement
&& (
!window.idusDataLayerConfig ||
!window.idusDataLayerConfig.impressionAll
)
) {
uniqueSelectorElement.elementIsViewed = function() {
window.idusDataLayer.push({
impressions: {
productId: '363839'
}
});
}
} else {
window.idusDataLayer.push({
impressions: {
productId: '363839'
}
});
}
{
".idus-slider-wrapper [data-role=tocart-form]": {
"Magento_Catalog/product/view/validation": {
"radioCheckboxClosest": ".nested"
},
"Idus_Product/js/catalog-add-to-cart": {
"bindSubmit": true
}
}
}
var uniqueSelectorElement = document.querySelector('.idus-slider-wrapper[data-unique-id="banner-69a076a3e86b3"]');
if(uniqueSelectorElement && !uniqueSelectorElement.classList.contains('idus-slider-slides-type_product')){
uniqueSelectorElement.elementIsViewed = function(sliderWrapper) {
slides = sliderWrapper.querySelectorAll('.idus-slider-slide');
items = [];
for (const slide of slides) {
//get display property (nedded for multi store or if banner in display none for some reason)
style = window.getComputedStyle(slide);
display = style.getPropertyValue('display');
if(display == 'none') break;
//set vars
var bannerId = sliderWrapper.getAttribute('data-banner-id');
var bannerName = sliderWrapper.getAttribute('data-banner-label');;
var promotionName;
var slideData = {};
if(slide.querySelector('.cms_thumbnail a')){
promotionName = slide.querySelector('.cms_thumbnail a').getAttribute('title');
}else {
if (slide.querySelector('.idus-slider-slide-content-title')){
promotionName = slide.querySelector('.idus-slider-slide-content-title').innerText;
}else {
promotionName = bannerName;
}
}
slideData.promotion_id = bannerId;
slideData.promotion_name = promotionName;
items.push(slideData);
};
//send event with banner details
window.idusDataLayer = window.idusDataLayer || [];
window.idusDataLayer.push({
view_promotion: {
items: items,
}
});
};
}
// load setting into localstorage
localStorage.setItem('3e078435d73aaa79d83216bc2cfa6cd0', '{"idus_banner":{"direction":"rtl","rtl":true,"focusOnSelect":false,"infinite":true,"lazyLoad":"progressive","autoplay":false,"autoplaySpeed":false,"fade":false,"dots":false,"arrows":true,"pinch_zoom":false,"centerMode":false,"centerPadding":false,"counter":false,"slidesToShow":4,"slidesToScroll":4,"responsive":[{"breakpoint":1199,"settings":{"slidesToShow":4,"slidesToScroll":4}},{"breakpoint":767,"settings":{"slidesToShow":2,"slidesToScroll":2}}],"personalization":"0","lazy_loading":"lazy","ajax_products_loading":false,"swipeToSlide":false,"auto_width":false}}');
{
".idus-slider-wrapper [data-role=tocart-form]": {
"Magento_Catalog/product/view/validation": {
"radioCheckboxClosest": ".nested"
},
"Idus_Product/js/catalog-add-to-cart": {
"bindSubmit": true
}
}
}
var uniqueSelectorElement = document.querySelector('.idus-slider-wrapper[data-unique-id="banner-69a076a4af76f"]');
if(uniqueSelectorElement && !uniqueSelectorElement.classList.contains('idus-slider-slides-type_product')){
uniqueSelectorElement.elementIsViewed = function(sliderWrapper) {
slides = sliderWrapper.querySelectorAll('.idus-slider-slide');
items = [];
for (const slide of slides) {
//get display property (nedded for multi store or if banner in display none for some reason)
style = window.getComputedStyle(slide);
display = style.getPropertyValue('display');
if(display == 'none') break;
//set vars
var bannerId = sliderWrapper.getAttribute('data-banner-id');
var bannerName = sliderWrapper.getAttribute('data-banner-label');;
var promotionName;
var slideData = {};
if(slide.querySelector('.cms_thumbnail a')){
promotionName = slide.querySelector('.cms_thumbnail a').getAttribute('title');
}else {
if (slide.querySelector('.idus-slider-slide-content-title')){
promotionName = slide.querySelector('.idus-slider-slide-content-title').innerText;
}else {
promotionName = bannerName;
}
}
slideData.promotion_id = bannerId;
slideData.promotion_name = promotionName;
items.push(slideData);
};
//send event with banner details
window.idusDataLayer = window.idusDataLayer || [];
window.idusDataLayer.push({
view_promotion: {
items: items,
}
});
};
}
// load setting into localstorage
localStorage.setItem('3e078435d73aaa79d83216bc2cfa6cd0', '{"idus_banner":{"direction":"rtl","rtl":true,"focusOnSelect":false,"infinite":true,"lazyLoad":"progressive","autoplay":false,"autoplaySpeed":false,"fade":false,"dots":false,"arrows":true,"pinch_zoom":false,"centerMode":false,"centerPadding":false,"counter":false,"slidesToShow":4,"slidesToScroll":4,"responsive":[{"breakpoint":1199,"settings":{"slidesToShow":4,"slidesToScroll":4}},{"breakpoint":767,"settings":{"slidesToShow":2,"slidesToScroll":2}}],"personalization":"0","lazy_loading":"lazy","ajax_products_loading":false,"swipeToSlide":false,"auto_width":false}}');
{
".idus-slider-wrapper [data-role=tocart-form]": {
"Magento_Catalog/product/view/validation": {
"radioCheckboxClosest": ".nested"
},
"Idus_Product/js/catalog-add-to-cart": {
"bindSubmit": true
}
}
}
var uniqueSelectorElement = document.querySelector('.idus-slider-wrapper[data-unique-id="banner-69a076a537779"]');
if(uniqueSelectorElement && !uniqueSelectorElement.classList.contains('idus-slider-slides-type_product')){
uniqueSelectorElement.elementIsViewed = function(sliderWrapper) {
slides = sliderWrapper.querySelectorAll('.idus-slider-slide');
items = [];
for (const slide of slides) {
//get display property (nedded for multi store or if banner in display none for some reason)
style = window.getComputedStyle(slide);
display = style.getPropertyValue('display');
if(display == 'none') break;
//set vars
var bannerId = sliderWrapper.getAttribute('data-banner-id');
var bannerName = sliderWrapper.getAttribute('data-banner-label');;
var promotionName;
var slideData = {};
if(slide.querySelector('.cms_thumbnail a')){
promotionName = slide.querySelector('.cms_thumbnail a').getAttribute('title');
}else {
if (slide.querySelector('.idus-slider-slide-content-title')){
promotionName = slide.querySelector('.idus-slider-slide-content-title').innerText;
}else {
promotionName = bannerName;
}
}
slideData.promotion_id = bannerId;
slideData.promotion_name = promotionName;
items.push(slideData);
};
//send event with banner details
window.idusDataLayer = window.idusDataLayer || [];
window.idusDataLayer.push({
view_promotion: {
items: items,
}
});
};
}

Go back to %1