zde<\/a>.<\/p>"},{"attribute_code":"small_image","value":"\/0\/8\/08_schodistova-konzola.png"},{"attribute_code":"meta_title","value":"Schodi\u0161\u0165ov\u00e1 konzola Ytong"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/0\/8\/08_schodistova-konzola.png"},{"attribute_code":"swatch_image","value":"\/0\/8\/08_schodistova-konzola.png"},{"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":["2","48"]},{"attribute_code":"required_options","value":"0"},{"attribute_code":"has_options","value":"0"},{"attribute_code":"sw_featured","value":"0"},{"attribute_code":"am_shipping_type","value":"220"},{"attribute_code":"product_image_size","value":"5"}],"sortVar":1014089283},{"id":2350,"sku":"vrtak","name":"Vrt\u00e1k do p\u00f3robetonu","attribute_set_id":4,"price":255,"status":1,"visibility":4,"type_id":"configurable","created_at":"2022-08-18 09:54:50","updated_at":"2023-01-02 14:12:43","weight":2,"extension_attributes":{"website_ids":[1],"category_links":[{"position":5,"category_id":"2"},{"position":2,"category_id":"47"}],"configurable_product_options":[{"id":305,"attribute_id":"277","label":"Pr\u016fm\u011br vrt\u00e1ku","position":0,"values":[{"value_index":247},{"value_index":248},{"value_index":249}],"product_id":2350}],"configurable_product_links":[2351,2356,2352]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5223,"media_type":"image","label":null,"position":1,"disabled":false,"types":["image","small_image","thumbnail","swatch_image"],"file":"\/0\/2\/02_vrtak-do-porobetonu_2_1.png"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"Vrt\u00e1k do p\u00f3robetonu pro vrt\u00e1n\u00ed otvor\u016f do zdiva Ytong. Dod\u00e1v\u00e1 se v\u00a0pr\u016fm\u011brech 62 (pro krabice vyp\u00edna\u010d\u016f), 82 mm (pro krabice rozd\u011blova\u010d\u016f, z\u00e1suvek a vyp\u00edna\u010d\u016f pod om\u00edtku).<\/p>"},{"attribute_code":"image","value":"\/0\/2\/02_vrtak-do-porobetonu_2_1.png"},{"attribute_code":"url_key","value":"vrtak-do-porobetonu"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":"
Pou\u017eit\u00ed:<\/h3>\r\n
K dispozici je vrt\u00e1k pr\u016fm\u011bru 62 mm (pro krabice vyp\u00edna\u010d\u016f) a 82 mm (pro krabice rozd\u011blova\u010d\u016f, z\u00e1suvek a vyp\u00edna\u010d\u016f pod om\u00edtkou)<\/p>\r\n
Parametry:<\/h3>\r\n
univerz\u00e1ln\u00ed kovov\u00fd vrt\u00e1k pr\u016fm\u011br 62 a 82 mm<\/p>"},{"attribute_code":"new","value":"0"},{"attribute_code":"small_image","value":"\/0\/2\/02_vrtak-do-porobetonu_2_1.png"},{"attribute_code":"meta_title","value":"Vrt\u00e1k do p\u00f3robetonu"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/0\/2\/02_vrtak-do-porobetonu_2_1.png"},{"attribute_code":"meta_keyword","value":"Vrt\u00e1k do p\u00f3robetonu"},{"attribute_code":"youtube_token","value":"yohQYpaJUCI"},{"attribute_code":"swatch_image","value":"\/0\/2\/02_vrtak-do-porobetonu_2_1.png"},{"attribute_code":"meta_description","value":"Vrt\u00e1k do p\u00f3robetonu "},{"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":["2","47"]},{"attribute_code":"required_options","value":"1"},{"attribute_code":"has_options","value":"1"},{"attribute_code":"sw_featured","value":"0"},{"attribute_code":"am_shipping_type","value":"220"},{"attribute_code":"product_image_size","value":"5"}],"sortVar":1032504849},{"id":2333,"sku":"lzicepanely","name":"Ytong zednick\u00e1 l\u017e\u00edce pro panely","attribute_set_id":4,"price":817,"status":1,"visibility":4,"type_id":"configurable","created_at":"2022-05-11 09:52:16","updated_at":"2023-02-17 12:34:45","weight":2,"extension_attributes":{"website_ids":[1],"category_links":[{"position":8,"category_id":"2"},{"position":6,"category_id":"47"}],"configurable_product_options":[{"id":299,"attribute_id":"266","label":"\u0160\u00ed\u0159ka","position":0,"values":[{"value_index":239},{"value_index":240},{"value_index":238}],"product_id":2333}],"configurable_product_links":[2275,2276,2277]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5181,"media_type":"image","label":null,"position":0,"disabled":false,"types":["image","small_image","thumbnail"],"file":"\/1\/8\/18_lzice-pro-panely.png"},{"id":5119,"media_type":"image","label":null,"position":1,"disabled":false,"types":[],"file":"\/l\/z\/lzice-pro-panely-img-1.jpg"},{"id":5120,"media_type":"image","label":null,"position":2,"disabled":true,"types":[],"file":"\/l\/z\/lzice-pro-panely-menu-img.jpg"},{"id":5121,"media_type":"image","label":null,"position":3,"disabled":false,"types":[],"file":"\/l\/z\/lzice-pro-panely-img-3.jpg"},{"id":5122,"media_type":"image","label":null,"position":4,"disabled":false,"types":[],"file":"\/l\/z\/lzice-pro-panely-img-4.jpg"},{"id":5123,"media_type":"image","label":null,"position":5,"disabled":false,"types":[],"file":"\/l\/z\/lzice-pro-panely-img-2.jpg"},{"id":5124,"media_type":"image","label":null,"position":6,"disabled":true,"types":[],"file":"\/l\/z\/lzice-pro-panely-product-img.png"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"Nerezov\u00e1 zednick\u00e1 l\u017e\u00edce k nan\u00e1\u0161en\u00ed tenkovrstv\u00e9 malty na Ytong p\u0159\u00ed\u010dkov\u00e9 panely GHT.<\/span>"},{"attribute_code":"image","value":"\/1\/8\/18_lzice-pro-panely.png"},{"attribute_code":"url_key","value":"lzice-pro-panely"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":"Pou\u017eit\u00ed:<\/h3>\r\n
pro p\u0159esn\u00e9 a rovnom\u011brn\u00e9 nan\u00e1\u0161en\u00ed malty Ytong FIX P200 a jej\u00ed optim\u00e1ln\u00ed spot\u0159ebu na Ytong p\u0159\u00ed\u010dkov\u00e9 panely GHT.<\/p>\r\n
Parametry:<\/h3>\r\n\r\n - materi\u00e1l: nerezov\u00e1 ocel, gumov\u00e1 rukoje\u0165<\/li>\r\n
- \u0161\u00ed\u0159ka 75, 100 a 150 mm.<\/li>\r\n<\/ul>\r\n"},{"attribute_code":"new","value":"0"},{"attribute_code":"description","value":"
Nerezov\u00e1 l\u017e\u00edce k nan\u00e1\u0161en\u00ed tenkovrstv\u00e9 malty Ytong fix P. Zaru\u010duje p\u0159esn\u00e9 a rovnom\u011brn\u00e9 nanesen\u00ed malty a jej\u00ed optim\u00e1ln\u00ed spot\u0159ebu. Dod\u00e1v\u00e1 se v \u0161\u00ed\u0159k\u00e1ch p\u0159\u00ed\u010dkov\u00fdch panel\u016f Ytong - 75, 100 a 150 mm.<\/p>"},{"attribute_code":"small_image","value":"\/1\/8\/18_lzice-pro-panely.png"},{"attribute_code":"meta_title","value":"Ytong zednick\u00e1 l\u017e\u00edce pro panely"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/1\/8\/18_lzice-pro-panely.png"},{"attribute_code":"meta_keyword","value":"Ytong zednick\u00e1 l\u017e\u00edce pro panely"},{"attribute_code":"youtube_token","value":"R5plG7zKAG0"},{"attribute_code":"meta_description","value":"Ytong zednick\u00e1 l\u017e\u00edce pro panely Nerezov\u00e1 l\u017e\u00edce k nan\u00e1\u0161en\u00ed tenkovrstv\u00e9 malty Ytong fix P.\r\nZaru\u010duje p\u0159esn\u00e9 a rovnom\u011brn\u00e9 nanesen\u00ed malty a jej\u00ed optim\u00e1ln\u00ed spot\u0159ebu.\r\nDod\u00e1v\u00e1 se v \u0161\u00ed\u0159k\u00e1ch p\u0159\u00ed\u010dkov\u00fdch panel\u016f Ytong - 75, 100 a 150 mm. "},{"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":["2","47"]},{"attribute_code":"required_options","value":"0"},{"attribute_code":"has_options","value":"0"},{"attribute_code":"sw_featured","value":"0"},{"attribute_code":"am_shipping_type","value":"220"},{"attribute_code":"product_image_size","value":"5"}],"sortVar":1076048693},{"id":2372,"sku":"30012884","name":"K\u0161iltovka Ytong","attribute_set_id":4,"price":165,"status":1,"visibility":4,"type_id":"simple","created_at":"2023-11-24 14:13:07","updated_at":"2023-11-27 14:32:24","extension_attributes":{"website_ids":[1],"category_links":[{"position":0,"category_id":"50"}]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5314,"media_type":"image","label":null,"position":1,"disabled":false,"types":["image","small_image","thumbnail","swatch_image"],"file":"\/k\/s\/ksiltovka-ytong.png"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"V\u00edte jak\u00e9 je to slunce prev\u00edt? Ochrana p\u0159ed sluncem je z\u00e1klad. Z\u016fstante v pohod\u011b s k\u0161iltovkou Ytong.
\r\nBarva \u010dern\u00e1 s v\u00fd\u0161ivkou Ytong. 100 % bavlna"},{"attribute_code":"image","value":"\/k\/s\/ksiltovka-ytong.png"},{"attribute_code":"url_key","value":"ksiltovka-ytong"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"new","value":"0"},{"attribute_code":"small_image","value":"\/k\/s\/ksiltovka-ytong.png"},{"attribute_code":"meta_title","value":"K\u0161iltovka Ytong"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/k\/s\/ksiltovka-ytong.png"},{"attribute_code":"meta_keyword","value":"K\u0161iltovka Ytong"},{"attribute_code":"swatch_image","value":"\/k\/s\/ksiltovka-ytong.png"},{"attribute_code":"meta_description","value":"K\u0161iltovka Ytong "},{"attribute_code":"tax_class_id","value":"2"},{"attribute_code":"msrp_display_actual_price_type","value":"0"},{"attribute_code":"category_ids","value":["50"]},{"attribute_code":"required_options","value":"0"},{"attribute_code":"has_options","value":"0"},{"attribute_code":"sw_featured","value":"0"},{"attribute_code":"am_shipping_type","value":"220"},{"attribute_code":"product_image_size","value":"0"}],"sortVar":1096563757}] ;
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);
}
}