Skip to content
  1. Extras
  2. ms3ProductSets
  3. Site integration
  4. Snippet 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]]