Real collections vs Search & Discovery filter URLs
The free Shopify Search & Discovery app lets you add up to 25 filters per store, based on product options, metafields or metaobjects. When a shopper picks a filter, Shopify adds a parameter to the collection URL, such as ?filter.p.m.custom.roast_level=dark for a product metafield or ?filter.v.option.grind=espresso for a variant option. Combine origin, process, roast and grind filters and one coffee collection can produce hundreds of crawlable near-copies.
Split the job. Groupings with real search demand ("Ethiopian coffee", "decaf espresso beans") become collections with an intro and a handle. Everything else stays a filter, and the theme keeps filter URLs out of the index with a canonical to the parent collection or a robots meta rule in Liquid (theme code).
Example: collection tree for a specialty roaster
/collections/single-origin-coffee, linking to /collections/ethiopia-coffee, /collections/colombia-coffee, /collections/kenya-coffee/collections/espresso-coffee and /collections/decaf-coffee/collections/light-roast-coffee and /collections/dark-roast-coffee/collections/pour-over-coffee for brew-method searches/collections/loose-leaf-tea with the same origin and harvest logic for tea
Shopify collection URLs are flat, so the hierarchy shows in menus, breadcrumbs and links between collections rather than in nested paths. Turn on Use as a condition in collections for the origin metafield definition, and an automated collection with the condition origin country is Ethiopia (native) picks up each new Ethiopian lot as it is published, without anyone remembering to add it.
Keeping /collections/x/products/y links out of the theme
One Guji lot can sit in five collections. If the theme builds product links with the Liquid within filter, each collection links to its own scoped URL, such as /collections/ethiopia-coffee/products/ethiopia-guji-hambela-natural, and Shopify's developer docs warn this puts the same content on separate URLs. Point product cards at /products/ URLs instead (theme code, usually the product card snippet).
Collection copy roasters can maintain
Origin collections need short copy on taste, processes bought and when lots usually arrive, kept in the collection description or a metafield shown by an Online Store 2.0 section so the roasting team can update it each harvest.