Collections & merchandising
Curated and rule-based product groups, and storefront product blocks.
Collections group products for merchandising — "New arrivals", "Sale", a campaign edit. They render in storefront sections and collection pages.
Create a collection
Use createCollection (MCP create_collection), then add products
(add_products_to_collection) or define rules so membership is automatic.
mutation {
createCollection(input: { title: "New arrivals", urlKey: "new" }) { id }
}Merchandising blocks
Storefront product blocks place a set of products on a page (home, PDP cross-sell, etc.) driven by conditions (a rule), not a hand-picked list where there's no anchor. Conditions reference product attributes; an empty result means the rule produced no constraint — pick a real subset or set + reindex the attribute.
Tip
Building sections that show products? The
shop-build-section playbook covers the
product-block condition format and how blocks bind to data.
