Skip to content
ms3ProductSets
ms3ProductSets
Dynamic product recommendations for MiniShop3. Manual links, auto rules, manager templates
  • MODX 3
  • PHP 8.1
  • miniShop3
  1. Extras
  2. ms3ProductSets
  3. System settings

System settings ​

Key prefix: ms3productsets.. Namespace: ms3productsets.

Where to edit: System → System Settings. Filter: ms3productsets.

Settings table ​

SettingDescriptionDefaultRecommendations
ms3productsets.max_itemsLimit for get_set when POST has no max_items, for window.mspsConfig.maxItems, and for render() without its own max_items. Calls without &max_items use snippet property 10, not this setting.10Storefront blocks: 6–20. Product cards: 6–12. Wide shelves: up to 20.
ms3productsets.cache_lifetimeSet cache TTL in seconds. 0 disables cache. Caches msps_get_products_by_type via cacheManager. Key: type, resource_id, category_id, set_id, limit, exclude_ids, generation cache_generation. Generation resets on template save/delete, apply/unbind, TV sync, and OnResourceDelete.3600Production: > 0 (often 3600). Debugging or frequent edits: 0. With 0 every request recomputes output.
ms3productsets.auto_recommendation0: empty manual set stays empty. Auto paths (similar, buy_together, and others except vip) stay off. 1: type auto logic runs. vip ignores this setting.10: storefront shows manual links (admin/TV) and vip_set_* for vip only. Category and order auto are off.
ms3productsets.vip_set_1Product IDs for VIP when set_id=1 (comma-separated, e.g. 12,34,56).''Fallback for type=vip with no manual links. More sets: vip_set_2, vip_set_3, and set_id in ms3ProductSets.
ms3productsets.izitoast_includeLoad iziToast via mspsLexiconScript when MiniShop3 does not expose paths.10: do not load CSS/JS from the keys below.
ms3productsets.izitoast_cssiziToast CSS from assets/ root.components/minishop3/css/web/lib/izitoast/iziToast.min.cssOverride if toast lives elsewhere.
ms3productsets.izitoast_jsiziToast JS from assets/ root.components/minishop3/js/web/lib/izitoast/iziToast.jsSame for the script.

Area in the MODX manager ​

In the package all keys use area default (one group in System Settings).

GroupKeys
Limitsmax_items
Cachecache_lifetime
Behaviorauto_recommendation
VIP setsvip_set_1 (optionally vip_set_2, vip_set_3, …)
Storefront toastizitoast_include, izitoast_css, izitoast_js