How to show sale products on every page of your WooCommerce store
Four ways to show WooCommerce sale products where shoppers actually are: the on-sale shortcode, a sale page, badges and a site-wide drawer, with trade-offs.
WooCommerce can list every product on sale with one shortcode, [products on_sale="true"], or with the Product Collection block's "On Sale" collection. That gives you a sale page in two minutes. The catch is that a sale page only works for shoppers who go looking for it, and most never do. This guide covers the four ways to surface sale products, starting with the sale page and ending with the one that reaches every visitor.
1. Build a sale page with the on-sale shortcode or block#
Classic themes: create a page called "Sale", add a Shortcode block and paste:
[products on_sale="true" limit="12" columns="4" orderby="date" order="DESC"]
Useful attributes, all documented in the WooCommerce shortcodes reference:
category="hoodies, jackets"restricts the list to those categories.orderby="popularity"ororderby="price"changes the order.paginate="true"adds pagination for large sales.
Block themes: add a Product Collection block, choose the On Sale collection, and adjust columns and the number of products. It stays in sync with your sale prices automatically.
Then add the page to your main menu. If you want the sale to feel like a department rather than a page, you can also give it a short, keyword-friendly URL like /sale/, which doubles as a landing page for email and social links.
Can WooCommerce add products to a "Sale" category automatically?#
Not out of the box. Categories are assigned by hand, so a real "Sale" category goes stale the moment a sale ends. The shortcode and the On Sale collection are the right tool because they are queries, not assignments: a product appears when WooCommerce considers it on sale and disappears when it doesn't. (If you want a category anyway, Business Bloomer has a well-known automatic sale category snippet, but it needs a scheduled task and a developer to maintain it.)
The problem with a sale page#
Open your analytics and look at landing pages. For most stores, the majority of sessions start on a product page, a blog post or the home page. A visitor who arrives from Google on a product page sees that product, maybe a few related ones, and leaves. The sale page is a menu click away, and menu clicks are rare. A sale page is necessary; it is nowhere near sufficient.
2. Make sale items stand out where they already are#
The cheapest improvement is to make sale products visible inside the pages shoppers already visit.
- The sale badge. WooCommerce shows a "Sale!" badge on product cards and product pages. Changing it to the actual saving ("Save 30%") makes it work much harder; our sale badge guide shows how, for classic and block themes.
- Shop sorting. Default sorting hides sale items among everything else. Add an "On sale first" option, or simply put the sale page at the top of the Shop menu during a promotion.
- Related products. On the product page, WooCommerce picks related products by category and tag. Tagging your sale products with a shared tag ("sale-week") nudges them into related-product slots on full-price products in the same categories.
These help shoppers who already see a sale product. They do nothing for the visitor reading a blog post or a landing page with no products on it.
3. Announce the sale on every page#
Announcement bars and popups are the usual answer to "every page". Both are worth understanding before you reach for them.
An announcement bar ("Summer sale: up to 40% off") is low-friction and sits above the fold on every page. Its weakness is that it is abstract. "Up to 40% off" is a claim; a product with $89 $59 is an offer. Bars also tend to be ignored after the first page view.
A popup is noticed, which is both its strength and its problem: it interrupts, shoppers close it on reflex, and Google treats intrusive interstitials on mobile as a page-experience issue. If you do use one, show it once per session at most, never on cart or checkout, and make closing it obvious. Popups vs slide-ins vs announcement bars vs drawers compares the formats in depth.
4. Put the actual products on every page with a drawer#
The format that combines "every page" with "real products" is a persistent, dismissible panel: a slim edge tab or bubble that opens into a drawer listing what is on sale right now, with the regular price, the sale price and the saving, and an add-to-cart button.
Done right, it behaves like a polite shop assistant rather than a billboard:
- It appears on every page, including blog posts and landing pages, so the sale follows the shopper instead of waiting for them.
- It shows the products, not a percentage, so the shopper sees something they might want.
- It opens by itself at most once per session, collapses to a tab when closed, and stays closed once dismissed.
- Prices come from WooCommerce live, so nothing is stale, and products leave the drawer the moment their sale ends.
- Simple products can be added to the cart from the drawer; products that need options go to their page.
This is what Sales Drawer does, and the whole mechanism is in the free plugin: it finds every product WooCommerce considers on sale (including scheduled sales and variations), lists them in a drawer, and lets you choose the placement and launcher and the layout. You can try the configurator in the live demo on the home page.
Which method should you use?#
| Method | Reaches | Shows real products | Effort | Best for |
|---|---|---|---|---|
| Sale page (shortcode or block) | Shoppers who look for it | Yes | 2 minutes | Email and social links, menu entry |
| Badges, sorting, related products | Shoppers already on product pages | Yes | 10 minutes | Every store, always on |
| Announcement bar | Every page | No | 10 minutes | Short, simple messages |
| Popup | Every page, once | Sometimes | 30 minutes | Rare, high-value moments |
| Drawer | Every page, every visit | Yes | 2 minutes | Any store with products on sale |
Use the first two every time you run a sale. Add the drawer when you want every visitor to see the actual deals without interrupting them, and keep popups for the rare moment that justifies one.
Merchandising the drawer#
Showing everything on sale is the right default, but with a large sale you may want control. The merchandising settings let you pin the best deals to the top, sort by discount, cap the number shown and exclude products. With Sales Drawer Pro, each sale becomes a named campaign with its own product rules (by category, tag or brand), countdown and schedule, and you can see which products the drawer actually sold.
Frequently asked questions#
Is there a WooCommerce shortcode for products on sale?#
Yes: [products on_sale="true"]. Add limit, columns, category and orderby attributes to control the output. In block themes, the Product Collection block offers an "On Sale" collection that does the same without a shortcode.
How do I show only sale products on my homepage?#
Add the [products on_sale="true" limit="8" columns="4"] shortcode, or a Product Collection block set to the On Sale collection, to your home page template. It updates automatically as sales start and end.
Can WooCommerce automatically add products to a Sale category?#
No. Categories are assigned manually. Use the on-sale shortcode or block, which query live sale status, or a site-wide drawer that lists sale products automatically, instead of maintaining a category by hand.
How do I promote sale items without building a sale page?#
Change the sale badge to show the saving, tag sale products so they appear as related products, and add a site-wide element such as a drawer that lists the products on sale on every page. None of these require a separate page.
Will a drawer slow down my store?#
A well-built one loads a single small stylesheet and script, and nothing at all when no product is on sale. For cached sites, Sales Drawer's deferred mode renders the drawer after the page loads so cached pages stay accurate.