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

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.
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:
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.
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.
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.
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.
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.