var tempbox = '
@@
s DPH
Specifikace: Pro p\u00e1sovou pilu 230V\r\nHmotnost: 0,5 kg\r\nProdejn\u00ed jednotka: 1 kus\r\nKe sta\u017een\u00ed:\r\nProvozn\u00ed n\u00e1vod v PDF<\/a>\r\nInformace o p\u00e1sov\u00e9 pile<\/a><\/p>\r\n"},{"attribute_code":"new","value":"0"},{"attribute_code":"small_image","value":"\/s\/p\/spinac-2-perex-22.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-2-perex-22.png"},{"attribute_code":"meta_keyword","value":"Hlavn\u00ed sp\u00edna\u010d k pile Lissmac"},{"attribute_code":"swatch_image","value":"\/s\/p\/spinac-2-perex-22.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":"Vyp\u00edna\u010d LISSMAC"},{"attribute_code":"small_image_label","value":"Vyp\u00edna\u010d LISSMAC"},{"attribute_code":"am_shipping_type","value":"220"},{"attribute_code":"thumbnail_label","value":"Vyp\u00edna\u010d LISSMAC"},{"attribute_code":"product_image_size","value":"0"}],"sortVar":1041683757},{"id":2278,"sku":"30004183","name":"M\u00edchadlo","attribute_set_id":4,"price":302,"status":1,"visibility":4,"type_id":"simple","created_at":"2022-05-06 11:39:35","updated_at":"2024-04-01 13:24:01","weight":1.5,"extension_attributes":{"website_ids":[1],"category_links":[{"position":6,"category_id":"2"},{"position":0,"category_id":"47"}]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5180,"media_type":"image","label":null,"position":0,"disabled":false,"types":["image","small_image","thumbnail","swatch_image"],"file":"\/1\/5\/15_misidlo.png"},{"id":4959,"media_type":"image","label":null,"position":1,"disabled":false,"types":[],"file":"\/m\/i\/misidlo_bwbkthk8sai4qrzi.png"},{"id":4960,"media_type":"image","label":null,"position":2,"disabled":false,"types":[],"file":"\/m\/i\/misidlo-big_dnih2k6irzmgtc0t.jpg"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"Stavebn\u00ed m\u00edchadlo, vhodn\u00e9 pro p\u0159\u00edpravu om\u00edtek, s\u00e1dry, barev, nivela\u010dn\u00edch hmot s minim\u00e1ln\u00ed tvorbou bublin. \r\nM\u00edchadlo pasuje do b\u011b\u017en\u00fdch typ\u016f elektrick\u00fdch ru\u010dn\u00edch vrta\u010dek."},{"attribute_code":"image","value":"\/1\/5\/15_misidlo.png"},{"attribute_code":"url_key","value":"michadlo"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":"Popis produktu:<\/p>\r\n\r\ntvar m\u00edchadla: kalich<\/li>\r\npr\u016fm\u011br 80 mm, celkov\u00e1 d\u00e9lka m\u00edchadla: 500 mm<\/li>\r\n\u0161estihrann\u00e9 uchycen\u00ed do b\u011b\u017en\u00fdch typ\u016f ru\u010dn\u00edch vrta\u010dek<\/li>\r\n<\/ul>"},{"attribute_code":"new","value":"0"},{"attribute_code":"description","value":"\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <\/object><\/p>"},{"attribute_code":"small_image","value":"\/1\/5\/15_misidlo.png"},{"attribute_code":"meta_title","value":"M\u00edchadlo"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/1\/5\/15_misidlo.png"},{"attribute_code":"meta_keyword","value":"M\u00edchadlo pro p\u0159\u00edpravu tenkovrstv\u00e9 spojovac\u00ed malty Ytong. K jeho pohonu se pou\u017e\u00edvaj\u00ed v\u0161echny b\u011b\u017en\u00e9 typy elektrick\u00fdch ru\u010dn\u00edch vrta\u010dek."},{"attribute_code":"youtube_token","value":"SRmCGwr-CjA"},{"attribute_code":"swatch_image","value":"\/1\/5\/15_misidlo.png"},{"attribute_code":"meta_description","value":"M\u00edchadlo pro p\u0159\u00edpravu tenkovrstv\u00e9 spojovac\u00ed malty Ytong. K jeho pohonu se pou\u017e\u00edvaj\u00ed v\u0161echny b\u011b\u017en\u00e9 typy elektrick\u00fdch ru\u010dn\u00edch vrta\u010dek."},{"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":1047133934},{"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":110169099},{"id":2358,"sku":"300107","name":"Ytofor - v\u00fdztu\u017en\u00fd p\u00e1s","attribute_set_id":4,"price":1333,"status":1,"visibility":4,"type_id":"configurable","created_at":"2022-10-03 12:23:48","updated_at":"2022-10-03 12:54:45","weight":1.62,"extension_attributes":{"website_ids":[1],"category_links":[{"position":0,"category_id":"2"},{"position":21,"category_id":"48"}],"configurable_product_options":[{"id":304,"attribute_id":"285","label":"\u0160\u00ed\u0159ka","position":0,"values":[{"value_index":256},{"value_index":257}],"product_id":2358}],"configurable_product_links":[2357,2269]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5242,"media_type":"image","label":null,"position":1,"disabled":false,"types":["image","small_image","thumbnail"],"file":"\/2\/5\/25_ytofor_1_1.png"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"Ytofor - v\u00fdztu\u017en\u00fd p\u00e1s pro vyztu\u017een\u00ed nam\u00e1han\u00fdch st\u011bn.\r\nP\u00e1s je tvo\u0159en s\u00edt\u00ed spleten\u00fdch ocelov\u00fdch pozinkovan\u00fdch dr\u00e1tk\u016f, kter\u00e1 je obalena polypropylenov\u00fdmi prameny a p\u0159\u00ed\u010dn\u011b vyztu\u017eena sklen\u011bn\u00fdmi vl\u00e1kny.\r\nPou\u017e\u00edv\u00e1 se pro vyztu\u017een\u00ed lo\u017en\u00e9 sp\u00e1ry obvodov\u00fdch i vnit\u0159n\u00edch nosn\u00fdch a nenosn\u00fdch st\u011bn konstrukce nebo jej\u00edch \u010d\u00e1st\u00ed.\r\nProdejn\u00ed jednotka je 1 role."},{"attribute_code":"image","value":"\/2\/5\/25_ytofor_1_1.png"},{"attribute_code":"url_key","value":"ytofor"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":"Pou\u017eit\u00ed:<\/h3>\r\n\r\nsyst\u00e9mov\u00e9 \u0159e\u0161en\u00ed pro vyztu\u017een\u00ed nam\u00e1han\u00fdch st\u011bn<\/li>\r\nzv\u00fd\u0161en\u00ed pevnosti st\u011bny v tlaku a eliminace prask\u00e1n\u00ed st\u011bny<\/li>\r\nvyztu\u017een\u00ed zdiva pod otvorem<\/li>\r\npou\u017eiteln\u00fd pro jakoukoliv \u0161\u00ed\u0159ku st\u011bny<\/li>\r\nrychl\u00e1 a jednoduch\u00e1 aplikace<\/li>\r\nodoln\u00fd, lehk\u00fd a jednodu\u0161e manipulovateln\u00fd<\/li>\r\n<\/ul>\r\nVlastnosti:<\/strong>Prodejn\u00ed jednotka je 1 role.<\/p>\r\nPodrobn\u00e9 informace o produktu nalezenete zde<\/a>.<\/p>\r\nParametry:<\/h3>\r\n\r\n\r\n\r\n\r\n\r\n\r\nZ\u00e1kladn\u00ed \u00fadaje<\/strong><\/th>\r\n\u00a0\u00a0\u00a0Ytofor 40\u00a0\u00a0\u00a0<\/strong><\/th>\r\n\u00a0\u00a0\u00a0Ytofor 80\u00a0<\/strong><\/th>\r\n<\/tr>\r\n<\/thead> \r\n\r\n \r\n\r\n \r\n D\u00e9lka role [m]:<\/td>\r\n 30<\/td>\r\n 30<\/td>\r\n <\/tr>\r\n \r\n \u0160\u00ed\u0159ka role [mm]:<\/td>\r\n 40<\/td>\r\n 80<\/td>\r\n <\/tr>\r\n \r\n Tlou\u0161\u0165ka [mm]<\/td>\r\n 1,75<\/td>\r\n 1,75<\/td>\r\n <\/tr>\r\n \r\n Hmotnost role [kg]<\/td>\r\n 1,35<\/td>\r\n 2,66<\/td>\r\n <\/tr>\r\n <\/tbody>\r\n<\/table>\r\n"},{"attribute_code":"new","value":"0"},{"attribute_code":"small_image","value":"\/2\/5\/25_ytofor_1_1.png"},{"attribute_code":"meta_title","value":"Ytofor - v\u00fdztu\u017en\u00fd p\u00e1s, \u0161. 80 a 40 mm"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/2\/5\/25_ytofor_1_1.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":"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":1140441196}] ; 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); } }
Popis produktu:<\/p>\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <\/object><\/p>"},{"attribute_code":"small_image","value":"\/1\/5\/15_misidlo.png"},{"attribute_code":"meta_title","value":"M\u00edchadlo"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/1\/5\/15_misidlo.png"},{"attribute_code":"meta_keyword","value":"M\u00edchadlo pro p\u0159\u00edpravu tenkovrstv\u00e9 spojovac\u00ed malty Ytong. K jeho pohonu se pou\u017e\u00edvaj\u00ed v\u0161echny b\u011b\u017en\u00e9 typy elektrick\u00fdch ru\u010dn\u00edch vrta\u010dek."},{"attribute_code":"youtube_token","value":"SRmCGwr-CjA"},{"attribute_code":"swatch_image","value":"\/1\/5\/15_misidlo.png"},{"attribute_code":"meta_description","value":"M\u00edchadlo pro p\u0159\u00edpravu tenkovrstv\u00e9 spojovac\u00ed malty Ytong. K jeho pohonu se pou\u017e\u00edvaj\u00ed v\u0161echny b\u011b\u017en\u00e9 typy elektrick\u00fdch ru\u010dn\u00edch vrta\u010dek."},{"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":1047133934},{"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":110169099},{"id":2358,"sku":"300107","name":"Ytofor - v\u00fdztu\u017en\u00fd p\u00e1s","attribute_set_id":4,"price":1333,"status":1,"visibility":4,"type_id":"configurable","created_at":"2022-10-03 12:23:48","updated_at":"2022-10-03 12:54:45","weight":1.62,"extension_attributes":{"website_ids":[1],"category_links":[{"position":0,"category_id":"2"},{"position":21,"category_id":"48"}],"configurable_product_options":[{"id":304,"attribute_id":"285","label":"\u0160\u00ed\u0159ka","position":0,"values":[{"value_index":256},{"value_index":257}],"product_id":2358}],"configurable_product_links":[2357,2269]},"product_links":[],"options":[],"media_gallery_entries":[{"id":5242,"media_type":"image","label":null,"position":1,"disabled":false,"types":["image","small_image","thumbnail"],"file":"\/2\/5\/25_ytofor_1_1.png"}],"tier_prices":[],"custom_attributes":[{"attribute_code":"short_description","value":"Ytofor - v\u00fdztu\u017en\u00fd p\u00e1s pro vyztu\u017een\u00ed nam\u00e1han\u00fdch st\u011bn.\r\nP\u00e1s je tvo\u0159en s\u00edt\u00ed spleten\u00fdch ocelov\u00fdch pozinkovan\u00fdch dr\u00e1tk\u016f, kter\u00e1 je obalena polypropylenov\u00fdmi prameny a p\u0159\u00ed\u010dn\u011b vyztu\u017eena sklen\u011bn\u00fdmi vl\u00e1kny.\r\nPou\u017e\u00edv\u00e1 se pro vyztu\u017een\u00ed lo\u017en\u00e9 sp\u00e1ry obvodov\u00fdch i vnit\u0159n\u00edch nosn\u00fdch a nenosn\u00fdch st\u011bn konstrukce nebo jej\u00edch \u010d\u00e1st\u00ed.\r\nProdejn\u00ed jednotka je 1 role."},{"attribute_code":"image","value":"\/2\/5\/25_ytofor_1_1.png"},{"attribute_code":"url_key","value":"ytofor"},{"attribute_code":"gift_message_available","value":"2"},{"attribute_code":"table_technic","value":"Pou\u017eit\u00ed:<\/h3>\r\n\r\nsyst\u00e9mov\u00e9 \u0159e\u0161en\u00ed pro vyztu\u017een\u00ed nam\u00e1han\u00fdch st\u011bn<\/li>\r\nzv\u00fd\u0161en\u00ed pevnosti st\u011bny v tlaku a eliminace prask\u00e1n\u00ed st\u011bny<\/li>\r\nvyztu\u017een\u00ed zdiva pod otvorem<\/li>\r\npou\u017eiteln\u00fd pro jakoukoliv \u0161\u00ed\u0159ku st\u011bny<\/li>\r\nrychl\u00e1 a jednoduch\u00e1 aplikace<\/li>\r\nodoln\u00fd, lehk\u00fd a jednodu\u0161e manipulovateln\u00fd<\/li>\r\n<\/ul>\r\nVlastnosti:<\/strong>Prodejn\u00ed jednotka je 1 role.<\/p>\r\nPodrobn\u00e9 informace o produktu nalezenete zde<\/a>.<\/p>\r\nParametry:<\/h3>\r\n\r\n\r\n\r\n\r\n\r\n\r\nZ\u00e1kladn\u00ed \u00fadaje<\/strong><\/th>\r\n\u00a0\u00a0\u00a0Ytofor 40\u00a0\u00a0\u00a0<\/strong><\/th>\r\n\u00a0\u00a0\u00a0Ytofor 80\u00a0<\/strong><\/th>\r\n<\/tr>\r\n<\/thead> \r\n\r\n \r\n\r\n \r\n D\u00e9lka role [m]:<\/td>\r\n 30<\/td>\r\n 30<\/td>\r\n <\/tr>\r\n \r\n \u0160\u00ed\u0159ka role [mm]:<\/td>\r\n 40<\/td>\r\n 80<\/td>\r\n <\/tr>\r\n \r\n Tlou\u0161\u0165ka [mm]<\/td>\r\n 1,75<\/td>\r\n 1,75<\/td>\r\n <\/tr>\r\n \r\n Hmotnost role [kg]<\/td>\r\n 1,35<\/td>\r\n 2,66<\/td>\r\n <\/tr>\r\n <\/tbody>\r\n<\/table>\r\n"},{"attribute_code":"new","value":"0"},{"attribute_code":"small_image","value":"\/2\/5\/25_ytofor_1_1.png"},{"attribute_code":"meta_title","value":"Ytofor - v\u00fdztu\u017en\u00fd p\u00e1s, \u0161. 80 a 40 mm"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/2\/5\/25_ytofor_1_1.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":"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":1140441196}] ; 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); } }
Vlastnosti:<\/strong>Prodejn\u00ed jednotka je 1 role.<\/p>\r\nPodrobn\u00e9 informace o produktu nalezenete zde<\/a>.<\/p>\r\nParametry:<\/h3>\r\n\r\n\r\n\r\n\r\n\r\n\r\nZ\u00e1kladn\u00ed \u00fadaje<\/strong><\/th>\r\n\u00a0\u00a0\u00a0Ytofor 40\u00a0\u00a0\u00a0<\/strong><\/th>\r\n\u00a0\u00a0\u00a0Ytofor 80\u00a0<\/strong><\/th>\r\n<\/tr>\r\n<\/thead> \r\n\r\n \r\n\r\n \r\n D\u00e9lka role [m]:<\/td>\r\n 30<\/td>\r\n 30<\/td>\r\n <\/tr>\r\n \r\n \u0160\u00ed\u0159ka role [mm]:<\/td>\r\n 40<\/td>\r\n 80<\/td>\r\n <\/tr>\r\n \r\n Tlou\u0161\u0165ka [mm]<\/td>\r\n 1,75<\/td>\r\n 1,75<\/td>\r\n <\/tr>\r\n \r\n Hmotnost role [kg]<\/td>\r\n 1,35<\/td>\r\n 2,66<\/td>\r\n <\/tr>\r\n <\/tbody>\r\n<\/table>\r\n"},{"attribute_code":"new","value":"0"},{"attribute_code":"small_image","value":"\/2\/5\/25_ytofor_1_1.png"},{"attribute_code":"meta_title","value":"Ytofor - v\u00fdztu\u017en\u00fd p\u00e1s, \u0161. 80 a 40 mm"},{"attribute_code":"options_container","value":"container2"},{"attribute_code":"sale","value":"0"},{"attribute_code":"thumbnail","value":"\/2\/5\/25_ytofor_1_1.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":"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":1140441196}] ; 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); } }
Podrobn\u00e9 informace o produktu nalezenete zde<\/a>.<\/p>\r\nParametry:<\/h3>\r\n\r\n\r\n\r\n