Skip to content
ms3ProductSets
ms3ProductSets
Dynamic product recommendations for MiniShop3 — manual links, auto rules, manager templates
  1. Extras
  2. ms3ProductSets
  3. Snippets
  4. mspsLexiconScript

Snippet mspsLexiconScript

Adds lexicon and config for productsets.js to the page.

After the call:

  • window.mspsLexicon — UI strings (empty, added, removed, set_added, go_catalog, error)
  • window.mspsConfig — frontend config (maxItems, lang)

Include before productsets.js.

Parameters

The snippet has no required parameters. It uses current cultureKey and setting ms3productsets.max_items.

Usage

fenom
{'mspsLexiconScript' | snippet}
modx
[[!mspsLexiconScript]]