Řazení produktů

520 položek celkem

Výpis produktů

te8s wifi
189 Kč / ks
Kód: SOTE8S-WIFI
Infračervený digitální teploměr, bezkontaktní
509 Kč / ks
Kód: EMM0503N
Domácí bezdrátová meteostanice E8625
Novinka
Domácí bezdrátová meteostanice E8625
Skladem u dodavatele (>5 ks)
1 090 Kč / ks
Kód: EME8625
Digitální teploměr s vlhkoměrem E0114N
Digitální teploměr s vlhkoměrem E0114N
Skladem u dodavatele (>5 ks)
259 Kč / ks
Kód: EME0114N
Sada domovního videotelefonu EM-04Z 2WIRE
Novinka
Sada domovního videotelefonu EM-04Z 2WIRE
Skladem u dodavatele (>5 ks)
4 590 Kč / ks
Kód: EMH2060
Sada bezdrátového domovního audiotelefonu H1088, 1 účastník
Novinka
1 890 Kč / ks
Kód: EMH1088
Sada bezdrátového domovního audiotelefonu H1087, 1 účastník
Novinka
1 790 Kč / ks
Kód: EMH1087
GoSmart Přídavný monitor IP-700B domácího videotelefonu IP-700A
5 790 Kč / ks
Kód: EMH4011
Digitální teploměr s vlhkoměrem, bezdrátové čidlo, budík, datum E0558W
Novinka
449 Kč / ks
Kód: EME0558W
Digitální teploměr s vlhkoměrem, drátové čidlo, budík E0558P
Novinka
309 Kč / ks
Kód: EME0558P
v552l
839 Kč / ks
Kód: HAV552L
t169h
99 Kč / ks
Kód: HAT169H
t175b
519 Kč / ks
Kód: HAT175B
t175
729 Kč / ks
Kód: HAT175
t164g
99 Kč / ks
Kód: HAT164G
1d31a
399 Kč / ks
Kód: SO1D31A
Domácí bezdrátová meteostanice E8647W
Novinka
Domácí bezdrátová meteostanice E8647W
Skladem u dodavatele (>5 ks)
609 Kč / ks
Kód: EME8647W
Pokojový programovatelný bezdrátový OpenTherm termostat P56A11
Novinka
2 090 Kč / ks
Kód: EMP56A11

Ovládací prvky výpisu

520 položek celkem

Grafický návrh vytvořil a na Shoptet implementoval Tomáš Hlad & Shoptetak.cz.

(function() { // Funkce pro načtení skladů z feedu Napojse async function loadSupplierStock() { const productCodeEl = document.querySelector('[data-product-code]'); if (!productCodeEl) return; const productCode = productCodeEl.dataset.productCode; // Proxy pro načtení feedu (kvůli CORS) const feedURL = "https://api.allorigins.win/raw?url=" + encodeURIComponent("https://klient.napojse.cz/suppliers/feeds/6196?password=53036c68fa3acd0758c65cb2ba27ac33"); try { const response = await fetch(feedURL); const xmlText = await response.text(); const parser = new DOMParser(); const xml = parser.parseFromString(xmlText, "text/xml"); const items = xml.querySelectorAll("SHOPITEM"); let supplierStock = null; items.forEach(function(item) { const code = item.querySelector("CODE")?.textContent || item.querySelector("PRODUCTCODE")?.textContent || item.querySelector("EAN")?.textContent; if (code === productCode) { const warehouse = item.querySelector("STOCK WAREHOUSES WAREHOUSE VALUE"); if (warehouse) supplierStock = warehouse.textContent; } }); if (!supplierStock) return; insertSupplierStock(supplierStock); } catch (e) { console.log("Napojse feed error", e); } } // Funkce pro vložení skladu dodavatele do doplňku function insertSupplierStock(supplierStock) { const table = document.querySelector(".store-availability table tbody"); if (!table) return; if (document.querySelector(".supplier-stock-row")) return; const row = document.createElement("tr"); row.className = "supplier-stock-row"; row.innerHTML = ` Sklad dodavatele ${supplierStock} ks `; table.appendChild(row); } // Čekání, aby doplněk měl čas se načíst function waitForAddon() { let tries = 0; const interval = setInterval(() => { const table = document.querySelector(".store-availability table tbody"); if (table) { loadSupplierStock(); clearInterval(interval); } tries++; if (tries >= 30) clearInterval(interval); // max 30 pokusů }, 300); } document.addEventListener("DOMContentLoaded", waitForAddon); })();