
System settings
All settings use the ms3productsets. prefix and are in namespace ms3productsets.
Settings list
ms3productsets.max_itemsDescription: default limit of products in a set.
Default:
10.Used by: snippet, connector (
get_set),mspsLexiconScript.ms3productsets.cache_lifetimeDescription: set cache TTL (seconds).
0= no cache. Cache key:type + resource_id + category_id + set_id + limit + exclude_ids.Default:
3600.Used by: snippet and AJAX
get_set(viarunSnippet) — result ofmsps_get_products_by_typeis cached in MODXcacheManager.ms3productsets.auto_recommendationDescription: when
0, empty manual set returns empty (no autosimilar,buy_together, etc.); when1— current behavior (fallback to auto).Default:
1.Used by: snippet and AJAX
get_set(viarunSnippet).ms3productsets.vip_set_1Description: product IDs for VIP set
set_id=1.Default:
''.Used by: fallback for
type=vip.
Recommendations
- For most blocks keep
max_itemsbetween 6–20. - For multiple VIP sets add
vip_set_2,vip_set_3and useset_idin the snippet call. - Under high load set
cache_lifetime> 0 (e.g. 3600); for debugging or frequent set updates use 0. - With
auto_recommendation=0blocks show only manual links (TV/templates) orvip_set_*: category and order-based auto are disabled.
