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


[[!ms3ProductSets? ... ]], Fenom — {'ms3ProductSets' | snippet : [ ... ]}.type, max_items, resource_id, category_id, …).msps_get_products_by_type.'' or emptyTpl.return=ids returns CSV of IDs;msProducts and renders cards.tplWrapper, wraps the final HTML.toPlaceholder, stores output in a placeholder.window.ms3ProductSets.render('#selector', options).action=get_set to connector.php.ms3ProductSets with POST params.data-add-to-cart.action=add_to_cart with product_id, count.msCartAdd (if miniShop3 is available).{success,message}.msps:cart:update on success.save_template.name and related_product_ids.msps_save_template INSERT/UPDATE in ms3_product_set_templates.apply_template (template_id, parent_id/parent_ids, replace).msProduct resources.ms3_product_sets.applied (number of inserted links).unbind_template.type and name.type + template_name.data-add-set (in tplSetVIP or tplSetWrapper)..msps__vip-set, .msps__wrapper or [data-set-type]).[data-product-id] and [data-add-to-cart].addToCart(productId, 1) for each ID in order.set_added and dispatches msps:cart:update with product_ids.OnDocFormSave runs.template_name (from TV) are removed; template-based links keep template_name.