Eren Labs JOURNAL TR
Product Catalog

WooCommerce Product Collections: The Block, Five Native Ways and Rules

WooCommerce has no collection object: you combine a way to decide membership with a way to display it. What the Product Collection block does and cannot do, five native methods, a decision table, and a worked gift collection that needs 46 edits a month.

In this article14 sections

WooCommerce product collections are groups of products shown together for a reason a shopper cares about: gifts under $30, new this month, the linen range. WooCommerce has no “collection” object of its own. You build one in two parts: a way of deciding which products belong (a category, tag, attribute, brand or hand-picked list) and a way of showing them (an archive page, the Product Collection block or a shortcode).

That split is the whole subject. This page covers both halves: what the Product Collection block does and does not do, the five native ways to define membership, a table for choosing between them, a worked “Gifts under $30” collection, and how to make a collection keep itself up to date.

What WooCommerce product collections are made of#

On some ecommerce platforms a collection is a first-class thing: you create it, give it rules or pick products, and it gets a page. WooCommerce splits that into pieces it already had. Membership comes from taxonomies, which are the product categories, tags, brands and attributes. Display comes from archive pages, blocks and shortcodes.

So when someone asks how to create a collection in WooCommerce, there are two questions inside it. Which products are in? Where do they appear? A category answers both at once, because it has members and an archive page. The Product Collection block answers only the second: it displays a set of products that something else defines, or that you pick by hand.

The Product Collection block#

The Product Collection block is the current way to place a grid of products on any page, post or template in the block editor. It replaced the older Products (Beta) block. When you insert it you choose a starting collection, and each one is a preset query.

Collection typeWhat it showsWho maintains it
New ArrivalsRecently added productsAutomatic
Best SellersProducts ordered by salesAutomatic
On SaleProducts with a sale priceAutomatic
Top RatedProducts ordered by ratingAutomatic
FeaturedProducts starred as featuredYou, by starring
Hand-PickedExactly the products you chooseYou, one by one
By Category, By Tag, By BrandMembers of the term you selectWhoever assigns the term
Related, Upsells, Cross-sellsProducts linked to the one being viewedAutomatic, or set per product

The exact list depends on your WooCommerce version; the names above come from the block’s handlers in the WooCommerce source and the block inserter. After choosing, you can filter further in the block’s sidebar and set columns, order and how many products to show.

What the block cannot do#

The block is a window, not a rule engine. Its filters are fixed: taxonomy terms, on-sale, stock status, featured, price range, attributes and a keyword, depending on version. You cannot write “price under $30 AND in the Kitchen or Candles category AND added in the last 60 days AND not out of stock” as nested conditions, and you cannot combine conditions with OR and NOT freely.

It also has no page of its own. A block lives inside a page you create, so the URL, title and surrounding text are yours to write, which is good, but the collection does not appear in category menus, filters or breadcrumbs the way a category does. And Hand-Picked is exactly as current as the last time someone edited it. A product that sells out or is discontinued stays in the grid until a person removes it.

Five native ways to define a collection#

These are the membership options that ship with WooCommerce. Each one is a label attached to products.

  • Category. Hierarchical, has an archive page at its own URL, appears in menus and breadcrumbs. Best for where a product lives in the shop.
  • Tag. Flat, also has an archive page. Best for themes that cut across categories: “gift”, “summer”, “vegan”. See how product tags work.
  • Brand. Built into current WooCommerce with its own archive pages; covered in WooCommerce brands.
  • Attribute. Colour, material, size. Global attributes can have archive pages if you enable them, and they power filters.
  • The featured star. A single yes or no per product. Quick, but there is only one list. Featured products explains its limits.

All five are manual by nature. A product is in the collection because somebody ticked a box on it, and it stays until somebody unticks it.

Choosing the method: a decision table#

The collection is…UseBecause
A permanent section of the shopCategoryIt needs a menu entry, breadcrumb and stable URL
A theme across sections (gifts, seasonal)TagProducts keep their real category
Everything by one makerBrandBrand pages already exist
Everything sharing a propertyAttributeIt doubles as a filter
A short editorial pickHand-Picked blockOrder and selection are the point
Defined by numbers (price, stock, sales, date)A rule, not a labelLabels cannot follow numbers

The last row is where native WooCommerce runs out. A label is a fact you record once. Price, stock and sales are values that change by themselves. Any collection defined by a value will drift from its label unless something re-checks it.

Building a collection page without a plugin#

Here is the plain route for a themed collection, using a tag so that products keep their categories.

  1. Go to Products → Tags and add a tag named for the collection, for example “Gifts under $30”. Write a description; many themes print it on the archive.
  2. Open Products → All Products, tick the members, choose Bulk actions → Edit, and add the tag to all of them at once.
  3. Visit the tag’s archive (by default /product-tag/gifts-under-30/) and add it to your menu under Appearance → Menus or the site editor’s navigation.
  4. To feature the same collection on the home page, insert a Product Collection block, choose By Tag, and pick the tag.

That is a working collection page in WooCommerce without a plugin, and for a list that rarely changes it is all you need. Bulk assignment in more depth is in our guide to bulk editing product categories.

Showing a collection with a shortcode#

Classic themes and page builders often use shortcodes instead of blocks. WooCommerce’s [products] shortcode takes the same kinds of selector: category, tag, attribute with terms, ids or skus, plus limit, columns and orderby.

To showShortcode
A tag-based collection[products tag="gifts" limit="8"]
A category, four across[products category="candles" columns="4"]
Three chosen products[products ids="12,34,56"]
Products on sale[sale_products limit="8"]
Best sellers[best_selling_products limit="8"]

Every variant, with working examples, is in the category shortcode guide. The shortcode has the same blind spot as the block: it shows whatever the label says, and cannot express a price ceiling or a mix of conditions.

Worked example: “Gifts under $30”#

A homeware shop with 400 products wants a gift collection: anything under $30 from Kitchen or Candles that is in stock. Today 85 products qualify, and the owner tags them by hand.

Then a normal month happens. A supplier increase moves 6 products above $30. A sale brings 9 others under it for two weeks, and when the sale ends they go back. Eleven products sell out; 7 are restocked. Four new candles arrive at $24.

EventProducts affectedManual edits needed
Price rises past $3066 removals
Sale starts, then ends99 additions, then 9 removals
Sold out, some restocked11 out, 7 back11 removals, 7 additions
New products under $3044 additions
Total46 edits

That is 6 + 18 + 18 + 4 = 46 tag edits in a month for one collection, each of which somebody has to notice first. Nobody does this. What happens instead is that the page slowly fills with $34 items and sold-out candles, under a heading that promises otherwise. Multiply by six collections and the manual approach is not a workload; it is a list of pages that are quietly wrong.

Illustration: labels stuck on products by hand going stale, beside a funnel that sorts products into a tray automatically
A label records a decision once; a rule re-checks the product every time its price or stock changes.

Manual labels vs automatic rules#

The example shows the dividing line. If membership depends on a judgment, a person should make it, and a label is the right tool: “our favourites”, “pairs well with the oak table”. If membership depends on data the shop already holds, a person adds nothing but delay.

A rule states the condition once: price below 30, category is Kitchen or Candles, stock status is in stock. The collection is then whatever matches today. Core WooCommerce has a few built-in rules of this kind, the On Sale, Best Sellers and New Arrivals presets, and no way to write your own. The four routes to closing that gap, from code to plugins, are compared in four ways to automate category membership.

Collection pages and search engines#

Where the collection lives affects whether it can be found. A category or tag archive is a real page with its own URL, title and description, and it is listed in most sitemap setups. A block on a page is also a real page, and gives you more room to write an introduction around the grid.

Two cautions. Do not create a tag and a category with the same members and the same name: that is two near-identical pages competing with each other. And a collection of three products is thin; either widen it or fold it into its parent. If you later rename or move a collection, keep the old address working, as described in changing a category slug without losing rankings.

What belongs in a collection#

A collection earns its place when it answers a question a shopper arrives with. “What is new?” “What can I get for under $30?” “What goes with this?” Collections built around internal labels such as “Q3 range” or “Supplier B” help the shop, not the customer, and belong in the admin.

Keep each one big enough to browse and small enough to scan: roughly one to four screens of products. Order matters as much as membership, so put what is selling and in stock first. If you are deciding which lines deserve promotion, the free sell-through rate calculator shows which products move fastest for the stock you hold.

How many collections is too many#

Every collection is a promise that the page behind it is true. Count the ones you could keep true by hand at a few minutes a week each, and you have your limit for manual collections; for most small shops that is three or four. Beyond that, either the collections are automatic or they decay.

A useful audit: open each collection page and check the first two rows against its title. An “on sale” page with full-price items, a “new” page led by last spring’s stock, or a “gifts under $30” page showing $34 are each a small breach of trust, and shoppers notice them faster than owners do.

Automated product collections with Smart Categories#

Smart Categories is our free plugin that gives WooCommerce the automated collections it lacks. You describe the products with rules, and a product category or product tag fills itself and stays in sync. Rules nest with AND, OR and NOT, and match on more than 35 fields including price, sale price, stock status and quantity, attributes, tags, brand, ratings and dates.

Smart Categories ready-made templates showing how many products match each one
Smart Categories (free): ready-made templates such as On Sale and New Arrivals show how many products match before you create the category.

The “Gifts under $30” collection becomes one rule set: price below 30, AND (category is Kitchen OR Candles), AND in stock. A live preview shows which products match, and how many, before you save. Membership refreshes when a product, price or stock level changes and on a daily sweep. Products you assigned by hand are never removed; the plugin only removes memberships it created.

Because the result is a genuine category or tag, everything above still applies: it has an archive page, and it works in the Product Collection block’s By Category and By Tag types. There is also a “Smart Category Products” block and a [scwc_products] shortcode, and each smart category can set its own storefront order and push out-of-stock products to the end. The full rule engine is free on WordPress.org, with no limit on categories, rules or products.

Smart Categories Pro adds generated subcategories, one per attribute value, and sales-based fields such as units sold in the last 7, 30 or 90 days, for trending and stale-product collections. It does not design the page; your theme and blocks still do that.

WooCommerce product collections: frequently asked questions#


How do I create a collection in WooCommerce?

Decide what defines membership, then where to show it. For a simple collection, create a product tag or category, assign products to it in bulk from the product list, and link to its archive page. To show it elsewhere, insert a Product Collection block and choose By Tag or By Category.


What is the Product Collection block in WooCommerce?

It is the block that displays a grid of products on any page or template. You pick a starting collection such as New Arrivals, Best Sellers, On Sale, Featured, Hand-Picked or By Category, then adjust filters, order, columns and count. It shows products; it does not create a category or a page of its own.


Does WooCommerce have automated collections?

Only a few fixed ones: the On Sale, Best Sellers, New Arrivals and Top Rated presets update themselves. WooCommerce has no built-in way to write your own rules, such as price under a limit within certain categories and in stock. That needs custom code or a rule-based category plugin.


Should a collection be a category or a tag?

Use a category when the collection is a permanent section of the shop that needs a place in menus and breadcrumbs. Use a tag for themes that cut across sections, such as gifts or seasonal ranges, so each product keeps its real category. Avoid making both with the same members.


Can I show a collection with a shortcode?

Yes. The products shortcode accepts category, tag, attribute with terms, ids or skus, along with limit, columns and orderby. There are also dedicated shortcodes for sale products, best selling products, top rated products and featured products. They display what the labels say and cannot express custom rules.


How do I keep a collection up to date automatically?

Define it by a rule instead of a label. A rule-based category or tag re-checks products when their price, stock or attributes change, adding those that match and removing those that no longer do. Any block, shortcode or archive page that shows that category then stays current without manual editing.


More in Product Catalog

Keep exploring

All articles
Before you go Let Smart Categories do this in WooCommerce

Define the rules for a WooCommerce category once. Matching products enter automatically and leave when they no longer qualify.

Explore Smart Categories Get the free version

Free version on WordPress.org · Pro from $59/year