
ms3ProductSets
Dynamic product recommendations for MiniShop3. Manual links, auto rules, manager templates
- MODX 3
- PHP 8.1
- miniShop3


Adds lexicon and config for productsets.js to the page.
window.mspsLexicon: empty, added, add_failed, removed, set_added, go_catalog, errorwindow.mspsConfig: maxItems, lang, toastTimeout (4000), toastPosition (topRight)Include before productsets.js.
Chunk tplMspsLexiconScript writes only the empty key, and only when window.mspsLexicon is missing. iziToast, maxItems, toastTimeout, and toastPosition come from the snippet. The storefront needs the snippet.
The snippet has no required parameters. It uses current cultureKey and setting ms3productsets.max_items.
{'mspsLexiconScript' | snippet}[[!mspsLexiconScript]]