var tempbox = '
'; var alternativeProducts = [{"id":2361,"sku":"30012816","name":"Koncov\u00fd sp\u00edna\u010d k pile Lissmac 1","attribute_set_id":4,"price":955,"status":1,"visibility":4,"type_id":"simple","created_at":"2022-11-02 09:52:23","updated_at":"2025-06-18 13:22:40","weight":0.5,"extension_attributes":{"website_ids":[1],"category_links":[{"position":4,"category_id":"51"}]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5259,"media_type":"image","label":"Koncov\u00fd sp\u00edna\u010d","position":2,"disabled":false,"types":["image","small_image","thumbnail","swatch_image"],"file":"\/k\/o\/koncovy-spinac-2-.png"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"Origin\u00e1ln\u00ed n\u00e1hradn\u00ed d\u00edl k p\u00e1sov\u00e9 pile Lissmac 502\/2, 510\/2 a MBS 650<\/p>\r\n
Koncov\u00fd sp\u00edna\u010d<\/p>\r\n
\u010c\u00edslo v\u00fdrobku dle seznamu ND Lissmac:
400053<\/p>\r\n
polo\u017eka \u010d. 74<\/p>\r\n
Specifikace:<\/strong> I88-U1ZW M20<\/p>\r\n Objednac\u00ed \u010d\u00edslo Xella:<\/strong> 30012817<\/p>\r\n Hmotnost:<\/strong> 0,1 kg<\/p>\r\n Prodejn\u00ed jednotka:<\/strong> 1 kus<\/p>\r\n Provozn\u00ed n\u00e1vod v PDF<\/a><\/p>\r\n Informace o p\u00e1sov\u00e9 pile<\/a><\/p>"},{"attribute_code":"image","value":"\/k\/o\/koncovy-spinac-2-.png"},{"attribute_code":"url_key","value":"koncovy-spinac-k-pile-lissmac-2"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"new","value":"0"},{"attribute_code":"description","value":"Origin\u00e1ln\u00ed n\u00e1hradn\u00ed d\u00edl k p\u00e1sov\u00e9 pile Lissmac 502\/2, 510\/2 a MBS 650"},{"attribute_code":"small_image","value":"\/k\/o\/koncovy-spinac-2-.png"},{"attribute_code":"meta_title","value":"Koncov\u00fd sp\u00edna\u010d k pile Lissmac"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/k\/o\/koncovy-spinac-2-.png"},{"attribute_code":"meta_keyword","value":"Koncov\u00fd sp\u00edna\u010d k pile Lissmac"},{"attribute_code":"youtube_token","value":"w0MB_0QJWvk"},{"attribute_code":"swatch_image","value":"\/k\/o\/koncovy-spinac-2-.png"},{"attribute_code":"meta_description","value":"Koncov\u00fd sp\u00edna\u010d k pile Lissmac "},{"attribute_code":"tax_class_id","value":"2"},{"attribute_code":"msrp_display_actual_price_type","value":"0"},{"attribute_code":"label_znacka_firma","value":"243"},{"attribute_code":"url_path","value":"koncovy-spinac-k-pile-lissmac-2"},{"attribute_code":"category_ids","value":["51"]},{"attribute_code":"required_options","value":"0"},{"attribute_code":"has_options","value":"0"},{"attribute_code":"sw_featured","value":"0"},{"attribute_code":"image_label","value":"Koncov\u00fd sp\u00edna\u010d"},{"attribute_code":"small_image_label","value":"Koncov\u00fd sp\u00edna\u010d"},{"attribute_code":"am_shipping_type","value":"220"},{"attribute_code":"thumbnail_label","value":"Koncov\u00fd sp\u00edna\u010d"},{"attribute_code":"product_image_size","value":"0"}],"sortVar":1070837714},{"id":2282,"sku":"30004437","name":"Hlad\u00edtko zubov\u00e9","attribute_set_id":4,"price":572,"status":1,"visibility":4,"type_id":"simple","created_at":"2022-05-06 11:39:40","updated_at":"2025-07-25 12:18:18","weight":0.5,"extension_attributes":{"website_ids":[1],"category_links":[{"position":19,"category_id":"2"},{"position":4,"category_id":"47"}]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5178,"media_type":"image","label":null,"position":0,"disabled":false,"types":["image","small_image","thumbnail","swatch_image"],"file":"\/1\/4\/14_multipor-hladitko-zubove.png"},{"id":4967,"media_type":"image","label":null,"position":1,"disabled":true,"types":[],"file":"\/h\/l\/hladitko-zubove_jvz1fn3myiaw6voj.jpg"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"Nan\u00e1\u0161ec\u00ed nerezov\u00e9 hlad\u00edtko s obloukov\u00fdm nan\u00e1\u0161ec\u00edm zubem."},{"attribute_code":"image","value":"\/1\/4\/14_multipor-hladitko-zubove.png"},{"attribute_code":"url_key","value":"hladitko-zubove-15-mm"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":" K rovnom\u011brn\u00e9 a celoplo\u0161n\u00e9 aplikaci malty Multipor FIX X700 na tepeln\u011bizola\u010dn\u00ed desky Multipor tl. 160 mm a v\u00edce.<\/p>\r\n Pru\u017en\u00e1 nerezov\u00e1 zednick\u00e1 spojka pro ukotven\u00ed p\u0159\u00ed\u010dek k nosn\u00e9mu nebo obvodov\u00e9mu zdivu, vz\u00e1jemn\u00e9 spojen\u00ed nosn\u00fdch st\u011bn.<\/p> Prodej v balen\u00ed po 50 ks.<\/p>"},{"attribute_code":"image","value":"\/2\/7\/27_spojka-zdiva.png"},{"attribute_code":"url_key","value":"spojka-zdiva"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":" Spojka zdiva se klade do tenkovrstv\u00e9 malty lo\u017en\u00fdch spar tv\u00e1rnic. Spojku lze ohnout do tvaru \"\"L\"\" a dodate\u010dn\u011b pou\u017e\u00edt na zakotven\u00ed p\u0159\u00ed\u010dky k nosn\u00e9 konstrukci (kotven\u00ed pomoc\u00ed h\u0159eb\u00edk\u016f s nerezovou \u00fapravou)<\/p>\r\n \u00a0<\/p>\r\n Specifikace:<\/strong> Pro p\u00e1sovou pilu 230VPou\u017eit\u00ed:<\/h3>\r\n
Parametry:<\/h3>\r\n
\r\n
Pou\u017eit\u00ed:<\/h3>\r\n
Parametry:<\/h3>\r\n
\r\n
\r\n\u010c\u00edslo v\u00fdrobku podle seznamu ND Lissmac: 400590, polo\u017eka \u010d. 73\r\n"},{"attribute_code":"image","value":"\/s\/p\/spinac-4-perex.png"},{"attribute_code":"url_key","value":"hlavni-spinac-k-pile-lissmac-3"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":"
\r\nHmotnost:<\/strong> 0,5 kg
\r\nProdejn\u00ed jednotka:<\/strong> 1 kus
\r\nKe sta\u017een\u00ed:
\r\nProvozn\u00ed n\u00e1vod v PDF
\r\nInformace o p\u00e1sov\u00e9 pile<\/a><\/p>\r\n"},{"attribute_code":"new","value":"0"},{"attribute_code":"description","value":"Origin\u00e1ln\u00ed n\u00e1hradn\u00ed d\u00edl k p\u00e1sov\u00e9 p\u00edle Lissmac 502\/2, 510\/2 a MBS 650 rok v\u00fdroby 2006-2009"},{"attribute_code":"small_image","value":"\/s\/p\/spinac-4-perex.png"},{"attribute_code":"meta_title","value":"Hlavn\u00ed sp\u00edna\u010d k pile Lissmac"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/s\/p\/spinac-4-perex.png"},{"attribute_code":"meta_keyword","value":"Hlavn\u00ed sp\u00edna\u010d k pile Lissmac"},{"attribute_code":"swatch_image","value":"\/s\/p\/spinac-4-perex.png"},{"attribute_code":"meta_description","value":"Hlavn\u00ed sp\u00edna\u010d k pile Lissmac "},{"attribute_code":"tax_class_id","value":"2"},{"attribute_code":"msrp_display_actual_price_type","value":"0"},{"attribute_code":"label_znacka_firma","value":"243"},{"attribute_code":"category_ids","value":["51"]},{"attribute_code":"required_options","value":"0"},{"attribute_code":"has_options","value":"0"},{"attribute_code":"sw_featured","value":"0"},{"attribute_code":"image_label","value":"Sp\u00edna\u010d LISSMAC"},{"attribute_code":"small_image_label","value":"Sp\u00edna\u010d LISSMAC"},{"attribute_code":"am_shipping_type","value":"220"},{"attribute_code":"thumbnail_label","value":"Sp\u00edna\u010d LISSMAC"},{"attribute_code":"product_image_size","value":"0"},{"attribute_code":"custom_block","value":"\r\n"}],"sortVar":1109306857}] ;
if (document.querySelector("#alternativeProductContainer")) {
document.querySelector("#alternativeProductContainer").innerHTML = "";
for (var i = 0; i < alternativeProducts.length; i++) {
//var price = (Math.round(((alternativeProducts[i].price * 121) / 100) * 10) / 10).toFixed(2)+" Kč"; //@
var price = (Math.round(((alternativeProducts[i].price * 121) / 100) * 10) / 10).toLocaleString("cs-CZ", {style:"currency", currency:"CZK"}); //@
var image = "/media/catalog/product" + alternativeProducts[i].custom_attributes.find((elm) => elm.attribute_code == "image").value; //@@
var name = alternativeProducts[i].name; //@@@
var link = "/" + alternativeProducts[i].custom_attributes.find((elm) => elm.attribute_code == "url_key").value + ".html"; //@@@@
//document.querySelector("#relatedProductContainer").innerHTML += tempbox.replace("@@@",name).replace("@@",price).replace("@",image);
document.querySelector("#alternativeProductContainer").innerHTML += tempbox.replace("@@@@", link).replace("@@@", name).replace("@@", price).replace("@", image);
}
}