dodanie pobierania produktow z linku

This commit is contained in:
2025-12-04 15:27:04 +01:00
parent b2184df074
commit 12318caaba
2 changed files with 498 additions and 119 deletions

View File

@@ -93,6 +93,7 @@ new IdmHotspot({
* @property {object} source - Dane źródłowe dla hotspotu.
* @property {string} [source.link] - link do listingu z którego mają być pobierane produkty (NIEZALECANE)
* @property {string} [source.hotspotType] - Typ hotspotu (np. "promotion").
* @property {number[]} [source.productsId] - Tablica ID produktów.
* @property {number} [source.productsMenu] - Identyfikator menu produktów.
@@ -162,6 +163,7 @@ new IdmHotspot({
* @property {string} id - Identyfikator elementu (np. "idmBlogHotspot1").
* @property {string} class - Klasy CSS używane do stylowania.
*
* @attribute {string} data-link - link do listingu z którego mają być pobierane produkty (NIEZALECANE)
* @attribute {string} data-hotspots-type - Typ hotspotu (np. "promotion").
* @attribute {number[]} data-products-id - Lista ID produktów (rozdzielona przecinkami).
* @attribute {number} data-products-menu - Identyfikator menu produktów.