
ms3ProductSets
Dynamic product recommendations for MiniShop3 — manual links, auto rules, manager templates


ms3ProductSets adds recommendation blocks to MiniShop3: “Frequently bought together”, “Similar”, “VIP sets”, cart suggestions and more. Manual links are used first (TVs on the product and/or manager templates); when empty, auto logic runs by set type (category, orders, system settings for VIP).
buy_together, similar, popcorn, cart_suggestion, auto_sales, vip, auto, plus synonyms (also-bought, cross-sell, custom → treated as auto); logic and fallback in set typesms3_product_sets table, ms3productsets_* TVs, bulk template apply to categories in the managerauto_sales), VIP fallback from ms3productsets.vip_set_*; disabled when auto_recommendation=0 (system settings)ms3ProductSets snippet; optional AJAX via get_set and window.ms3ProductSets.render() (API, integration)ms3productsets.cache_lifetime; 0 disables cache (system settings)data-add-to-cart, “add whole set” (data-add-set) via productsets.js and add_to_cart on the connectormspsLexiconScript (window.mspsLexicon, window.mspsConfig)| Requirement | Version |
|---|---|
| MODX Revolution | 3.0+ |
| PHP | 8.1+ |
| MySQL | 5.7+ / MariaDB 10.3+ |
See Quick start for requirements and ModStore steps.
Package is available at modstore.pro.
Load mspsLexiconScript, productsets.css and productsets.js, add ms3ProductSets to the product or landing template. Adjust limits and cache in system settings (namespace ms3productsets) if needed.
See: Quick start and Frontend setup.
| Term | Description |
|---|---|
| Set | Recommended product list for a context (resource_id, type, category) |
| Set type | Logic mode: buy_together, similar, vip, etc. |
| Manual links | Rows in ms3_product_sets (and/or TV values) defined by a manager |
| Set template | Row in ms3_product_set_templates for bulk apply to categories |
| Auto recommendations | ID selection without manual links (category, orders, catalog) |
| VIP set | Type vip; without manual links, fallback from vip_set_{set_id} setting |