Guide · Product page

WooCommerce related products: how they are picked and how to choose them

Related products are the row of “you may also like” products under a product in WooCommerce. WooCommerce fills it on its own, from products that share a category or a tag, and there is no field to choose them by hand. That is why the row sometimes shows the wrong products, the same few products, or nothing at all.

This guide explains how WooCommerce picks them, goes through the reasons the row does not show, and covers the ways to choose them yourself: WooCommerce’s own fields, free and paid plugins, and the SalesMax Smart Recommendations booster, which is ours.

Updated By the SalesMax team at 8theme

Disclosure: SalesMax is our plugin, made by 8theme. Facts about other plugins come only from each vendor’s own pricing page, documentation and WordPress.org listing, linked under Sources. Prices and features checked 19 Nov 2026. Prices change; check the vendor’s page before you buy.

How WooCommerce picks them

WooCommerce’s documentation says it generates related products from shared categories and tags, and that you cannot choose them in the Linked Products tab. The WooCommerce code adds the details:

  • Any one shared category or tag is enough. Categories and tags go into one list, so a product shares a row with anything that has at least one of them.
  • Some products are left out. The product itself, the products you set as its Upsells (they have their own row), and products that are not published or are hidden from the catalogue.
  • Out-of-stock products are left in by default. They are left out only when Hide out of stock items from the catalog is on under the Products inventory settings. It is off by default.
  • The order is random, within a pool. WooCommerce fetches up to 20 more candidates than the row shows (24 for a row of four) and shuffles those, so the row changes from one visit to the next but keeps drawing on the same pool. In a large category that is why the same few products come back.
  • Four by default in four columns, on classic themes. Themes often change this.
  • The list is kept for a day. WooCommerce stores each product’s candidates for a day, so a product you have just added can take up to a day to appear under others.
  • No candidates, no row. When nothing qualifies, the section with the heading “Related products” is not printed at all.

Every shared category or tag counts the same, so adding a tag adds candidates but does not make them more likely. To narrow the row, put products in narrower categories, or choose the products yourself with a plugin.

In block themes

In a block theme the row is a Product Collection block using the Related Products collection, based on shared categories or tags, placed in the Single Product template. Since WooCommerce 9.5 this collection has replaced the older Related Products block in stores that had not changed their template; the old block is hidden but keeps working.

  • Edit the row in Appearance → Editor → Templates → Single Product.
  • The same block has Upsells and Cross-Sells collections, so you can show the products you chose by hand instead.
  • WooCommerce’s documentation notes that random ordering does not guarantee a different order on every page load, and that ready-made collections may hide controls that do not apply to them.

Why related products do not show

  1. Nothing else shares a category or tag. A product alone in its category with no tags has no candidates. Add it to a shared category or give it tags.
  2. The others are not visible. Drafts, private products and products hidden from the catalogue are not candidates. WooCommerce’s documentation says the products must be published and visible in your catalogue.
  3. Everything else is out of stock and the store hides out-of-stock items.
  4. The template has no row. In a block theme, open the Single Product template and check that a Product Collection block with Related Products is there. In a classic theme, check the theme’s options or ask its developer; some themes remove the row or replace it.
  5. Code or a plugin removed it. WooCommerce documents a one-line snippet that removes the row and a CSS rule that hides it; search your theme’s functions file and custom CSS for woocommerce_output_related_products and .related.products.
  6. It is new. The candidate list is kept for a day, and a page cache can keep an old page for longer. Clear the cache and look again.

Change the number, or turn them off

  • Classic themes: WooCommerce documents the filter woocommerce_output_related_products_args, where posts_per_page sets how many and columns how many per row. Its documentation warns that it does not work for all themes, because some themes print the row their own way.
  • Block themes: change the Product Collection block in the Single Product template.
  • Anywhere: the [related_products] shortcode takes limit, columns and orderby; WooCommerce’s documentation gives four columns and random order as defaults.
  • Off: remove the block from the template in a block theme, or use the snippet in WooCommerce’s documentation in a classic theme. Removing it costs a little browsing on the product page; replace it with something better rather than leaving a gap.

Choose them yourself

Core WooCommerce has two fields you fill in by hand, under Product data → Linked Products: Upsells, shown on the product page, and Cross-sells, shown in the cart. If what you want is a hand-picked row under the product, filling in Upsells is the free answer, and in a block theme the Upsells collection shows them. To control the related row itself, you need a plugin.

As listed on each vendor’s page on 19 Nov 2026. Installation counts from WordPress.org, Woo’s from its Marketplace page
PluginFree versionWhat it doesPaid (as listed)
Related Products for WooCommerce (WebToffee)Yes; 10,000+ active installationsTurns off WooCommerce’s own row; related products by category, tag, attribute or chosen products, per product or store-wide; leaves out chosen categories or out-of-stock products; a slider and a shortcodeIts listing points to WebToffee’s Product Recommendations as the premium version: $89/year for 1 site, with a 30-day money-back guarantee
Custom Related Products for WooCommerceYes; 4,000+ active installationsAdds a Related Products picker under Linked Products; products without a choice keep WooCommerce’s own rowNone. Its listing says it is tested with WooCommerce up to version 10; last updated September 2025
WPC Custom Related Products (WPClever)Yes; 1,000+ active installationsFills the row from Up-Sells, Cross-Sells or both, in an order you drag; more sources and display filtersCombined sources in Premium; $29 one time for 1 site, with lifetime updates; 7-day money-back guarantee
WooCommerce Product Recommendations (by Woo)No; 20K+ active installs on the Woo MarketplaceFrequently bought together from your orders, upsells and cross-sells in bulk with filters, more than 20 locations, revenue reports$99/year (90 € before VAT shown in the EU); 30-day money-back guarantee. Its page says it has not been optimised for block themes
SalesMax Smart Recommendations OursNo; 14-day money-back guaranteeRows built from 14 product filters, on product, cart, shop, checkout and thank-you pages$89/year for 1 site, with all 17 boosters
  • Several of these vendors showed Black Friday offers on 19 Nov 2026; the table gives the price on each listing.
  • If you use a plugin that prints its own row, turn WooCommerce’s row off, or the page shows two.

Set it up in SalesMax

  1. Create the booster. Go to SalesMax → Sales Boosters → + New Booster and choose Smart Product Recommendations (Smart Recommendations on this site).
  2. Choose the products. 14 filters: Specific Products, Product Categories, Product Tags, Product Price, Best Selling Products, Top Rated Products, Newest Products, Featured Products, On Sale Products, Recently Viewed Products, Bought Together Products, Related Products (WooCommerce’s own, from categories and tags), Cross-sells and Upsells.
  3. Mind how filters combine. 8theme’s documentation says filters in SalesMax are additive, not restrictive: each one adds products to the row, so Product Categories plus On Sale shows products from either group, not only products that are both.
  4. Pick one sorting rule. Default, Random, Name, Top Rated, Freshness or Price; only one per booster.
  5. Write the heading. Section Title, Section Subtitle and an optional Highlight Badge, on the Minimal or Colorful template.
  6. Place it. Product page: top of the page, after Add to cart, after the product summary, or before or after the cart form. The booster also has positions on the cart (including an empty cart), the shop, the checkout and the thank-you page, and the shortcode [smax_product_recommendations].

8theme’s troubleshooting list for a row that does not show: check that the filters return products, that the booster status is Active, that nothing overrides the position, and turn caching off for a moment to test. Its FAQ says different suggestions per product are possible through the booster’s Apply to filter; the article does not walk through that setting.

Check it on the store

  1. Open three products in a private window: a best seller, a product alone in its category, and one with tags.
  2. Reload each a few times. With random order the row changes; with a fixed choice it should not.
  3. Put a related product out of stock and see whether it still shows, and whether that is what you want.
  4. Look at the row on a phone. Four columns become a long list or a slider, depending on the theme.

Questions

How does WooCommerce choose related products?

From products that share at least one category or tag with the product being viewed. WooCommerce leaves out the product itself, its Upsells and products that are not visible in the catalogue, shuffles a pool of candidates and, in classic themes, shows four by default.

Why are my WooCommerce related products not showing?

Usually one of five reasons: no other visible product shares a category or tag, the others are out of stock and the store hides out-of-stock items, the theme’s product template has no related-products row, code or a plugin removed it, or a cache is showing an older page.

Can I choose related products manually in WooCommerce?

Not in core: WooCommerce’s documentation says related products cannot be chosen in the Linked Products tab. You can fill in Upsells by hand instead, or use a plugin such as Related Products for WooCommerce by WebToffee or Custom Related Products for WooCommerce, which add a picker.

How do I change the number of related products?

In a classic theme, with the woocommerce_output_related_products_args filter (posts_per_page and columns), though WooCommerce notes it does not work with every theme. In a block theme, edit the Product Collection block in the Single Product template.

Do related products include out-of-stock products?

Yes, by default. WooCommerce leaves them out only when “Hide out of stock items from the catalog” is switched on in the inventory settings.

Sources

Each page below was read on 19 Nov 2026. Defaults the documentation does not state were read in the WooCommerce source on GitHub (version 11.3). Installation counts come from WordPress.org.

Show all 16 sourcesShow fewer sources

AI Store Scan

See which upsell offers your store already runs.

The AI Store Scan reads your public storefront pages and lists the upsell offers it finds and the ones it does not.

All 17 boosters in every planFrom $7/mo · billed annually
See plans