Create a collection to group matching active products automatically. Collections may share a name, but each slug must be unique in your store.
In your store admin, go to Catalog > Collections.
Select Add collection.
Enter the collection name. Leave the slug blank to have it generated from the name, or set your own.
Choose whether all rules or any rule must match.
Add rules for tags, categories, vendors, brands, words in product titles, price or regular price (above, below or between amounts in your store currency), whether a product is on sale or in stock, its stock level, when it was added (within a number of days), or an option value such as a size or color. A category rule can include subcategories. Price, stock and option rules follow product changes within about a minute, and scheduled sales within minutes. You can also add rules on how products perform over the last 7, 30 or 90 days: units sold, best sellers (your top N by units sold), product views, most viewed, sales growth compared with the period before, or viewed but not bought. These numbers come from your orders and storefront activity and update once a day.
Optionally choose a default sort for the collection page, and pin up to 250 products to show first, in your order, when it is sorted by Featured.
Optionally add description, SEO, image, and template details for the collection page.
Save the collection.
Matching active products appear automatically shortly after you save. While the products are being updated, the collection shows as updating and keeps its previous products and count.
The Products card shows how many products match and how many of them shoppers can see on your Online Store, when a product last joined or left the collection (Products last changed), and when its products were last checked against the rules (Last checked).
Deleting a tag, vendor, brand or category removes the rules that name it. The delete confirmation tells you which collections will match more products or become empty, and afterwards those collections show Rule removed in the list and a notice on the collection page. Review the rules: the notice stays until you change them. A deleted category, collection, vendor or brand is also removed from your filters' Show only on and Never show on lists.