The WooCommerce product page: variants, stock and recommendations that sell

How to build the product page in a WooCommerce store: variant buttons, gallery per colour, stock per variant, stock alerts and recommendations you choose.

Vasile Dingă2026-10-22T18:56:17.632228+00:00
The WooCommerce product page: variants, stock and recommendations that sell

The product page is where the customer decides. In an earlier article I made a product page checklist. Here I go into the build: how variants, stock, gallery and recommendations work in a WooCommerce store, so you don't lose the customer right when they're ready to buy. This article is part of the series on how to build an online store.

Variants as buttons, not dropdowns

In WooCommerce, a product with colours and sizes is a variable product. By default, variants show up in dropdowns, and the customer has to open each one to see what exists. It's better when:

  • Colour is a coloured dot or a small photo, with the colour name shown on selection.
  • Size is a button, and out of stock sizes appear crossed out but visible. The customer sees right away what exists and what's missing.
  • Impossible combinations are blocked: if blue doesn't exist in XL, the XL button is disabled when you pick blue.

A gallery that follows the colour

When the customer picks a colour, the gallery should show that colour's photos, not just the first image. Photos are linked to each variant in the admin. The same goes for product lists: if you filter by "green", the card shows the product in green and opens the page directly on that colour.

Stock per variant

  • Set stock per variant, not on the whole product. Otherwise you sell sizes you don't have.
  • Show "Only 3 left" only when it's true. Fake urgency is noticed and damages trust.
  • On sold out variants, add a "Notify me when it's back" form, tied to the exact variant. Those requests become a list of customers ready to buy.

Price, delivery and button visible on mobile

On mobile, the first screen should show the photo, name, price, variants and button. Under the button, the estimated delivery date, which I wrote about in estimated delivery date on the product page. When the customer scrolls to the description and reviews, a small bar fixed at the bottom keeps the price and the add to cart button within reach.

Recommendations that make sense

  • "Frequently bought together": products picked by you, with checkboxes and one button for all. It works well for accessories and consumables.
  • Similar products from the same category, for the customer who isn't convinced.
  • Product families: the same model in different materials or finishes, with reviews shared across the whole family.

Description and details

Put two or three lines at the top that say why the product is worth it. Technical details, material, care and delivery go into sections that open on click. That way the page stays short on mobile, and the information is there for whoever looks for it.

How I build the product page

In the stores I build, variants are buttons that work without heavy JavaScript, the gallery changes with colour, stock is per variant and the stock alert works on the exact size. The delivery date sits under the button, and "Frequently bought together" products are chosen on each product. Everything is designed for mobile first, where most orders come from.

Check yourself

Frequently asked questions

Conclusion

A good product page quickly shows the customer what exists, what it costs, when it arrives and what goes with it. Clear variants, correct stock and recommendations chosen by you often do more than a new design. If you'd like to improve the product pages in your store, see the UI/UX design page or write to me via contact.

Free check: find out in 5 minutes how much budget you're losing in Google Ads and Meta Ads. Answer 15 questions and get a score and a list of things to fix. Take the free check.