Category pages get the internal links and the hero content, but the product page is where the money is. It is also the page type most WooCommerce stores get wrong, because the defaults are built for a catalogue of ten thousand identical t-shirts and not for anything where a single SKU matters.
I audited a store selling luxury watches and bags recently. Here is what actually mattered on the product template, in rough order of impact.
1. The h1 must be the product name, alone
The most common defect I find is a theme that wraps the product title plus a brand prefix plus a shipping note into the h1:
<h1>Buy CARTIER TANK SOLO 40MM — Free Shipping — Best Price</h1>
Google reads the h1 as the page's primary subject. Stuffing three claims into it does not help the page rank for any of them, and it makes the SERP snippet unpredictable.
Keep the h1 to the product name. Move "free shipping" and price claims into structured data and body copy where they belong.
2. Title tag: 60 characters, product first, brand last
The store's titles were running 70+ characters on some SKUs because the theme appended both a brand name and a tagline:
Shoulder Bags: 5,333 Styles, Shipped Worldwide – Page 222 – Superwander
That is a category page, but the same pattern shows up on products. The rule I apply:
- Product name first, verbatim
- One differentiator if there is room (reference number, material, size)
- Brand at the end, and drop it entirely if the total exceeds 60 characters
For a product where the name alone is 51 characters, dropping the site suffix is the right call:
add_filter('document_title_parts', function ($parts) {
if (!is_product()) return $parts;
$site = $parts['site'] ?? '';
if ($site && mb_strlen($parts['title'] . ' - ' . $site) > 56) {
unset($parts['site']); // product names are usually wide glyphs; 56 is the practical ceiling
}
return $parts;
}, 30);
The 56 rather than 60 is deliberate. Brand names in caps occupy more horizontal space than the character count suggests.
3. Product schema: check what is missing, not what is invalid
Everyone runs the Rich Results Test and fixes the errors. Fewer people notice what is absent from an otherwise valid block.
A complete WooCommerce product block should carry:
-
name,image,description,sku -
brand(Brandobject, not a bare string) -
offerswithprice,priceCurrency,availability,itemCondition,url,seller -
aggregateRating— only if reviews actually exist -
hasVariantfor variable products, one entry per colour/size
That last one is underused. A variable product with eight colourways can expose all eight as hasVariant children, each with its own offers. Google then understands it is one product in eight variants rather than eight thin pages:
if ($product->is_type('variable')) {
foreach ($product->get_children() as $vid) {
$v = wc_get_product($vid);
if (!$v instanceof WC_Product_Variation || !$v->is_purchasable()) continue;
$variants[] = [
'@type' => 'Product',
'name' => $product->get_name() . ' - ' . $v->get_attribute('color'),
'sku' => $v->get_sku(),
'offers'=> [[
'@type' => 'Offer',
'price' => wc_format_decimal($v->get_price(), wc_get_price_decimals()),
'priceCurrency' => get_woocommerce_currency(),
'availability' => 'https://schema.org/InStock',
'url' => $product->get_permalink(),
]],
];
}
$markup['hasVariant'] = $variants;
}
A warning on aggregateRating: never emit it with ratingValue: 0 or reviewCount: 0. Google treats that as invalid markup and it can cost you the rich result entirely. Guard it:
if ($product->get_review_count() > 0 && $product->get_average_rating() > 0) {
// safe to emit
}
If a store has no reviews, it has no aggregateRating — that is correct behaviour, not a bug to patch.
4. Specification data belongs in additionalProperty, not just the description
Luxury product pages carry a specification table: movement, case diameter, material, water resistance, reference number. On most WooCommerce stores this lives only as an HTML table inside the description, where it is readable by humans and nearly invisible to machines.
Mapping those fields into additionalProperty makes them extractable by both Google and AI answer engines:
$propMap = [
'sw_spec_movement' => 'Movement',
'sw_spec_case_material' => 'Case material',
'sw_spec_case_diameter' => 'Case diameter',
'sw_spec_water_resistance' => 'Water resistance',
'sw_spec_reference' => 'Reference number',
];
foreach ($propMap as $meta => $label) {
if (empty($specs[$meta])) continue;
$markup['additionalProperty'][] = [
'@type' => 'PropertyValue',
'name' => $label,
'value' => $specs[$meta],
];
}
If you want to see what this looks like rendered on a real page, this Cartier Tank Solo listing has the full spec block wired into schema — view source and search for additionalProperty.
5. One canonical, and it points at itself
A product reachable at /product/tank-solo/, /product/tank-solo/?color=black, and /product/tank-solo/#reviews is one page. Every variant URL should canonicalise to the clean product URL.
WooCommerce does this by default, but plugins break it constantly — especially filter plugins and anything that appends tracking parameters server-side. Check with:
for u in "" "?color=black" "?utm_source=x" "#reviews"; do
curl -s "https://example.com/product/tank-solo/$u" | grep -o '<link rel="canonical"[^>]*>'
done
All four should print the same clean URL.
6. Image optimisation is a rendering problem before it is an SEO problem
A 1920px PNG of a watch is 2MB. On a product page with a gallery of six, that is 12MB before any text renders.
Two things matter more than alt text (which you should still write):
- Serve WebP or AVIF with a fallback, not the original JPEG
-
Reserve the box — set explicit
widthandheighton every gallery image so the layout does not shift as they load
Layout shift on product pages is the single most common Core Web Vitals failure I see, and it is almost always the image gallery. Cumulative Layout Shift above 0.1 on mobile costs you rankings in a way that no amount of keyword optimisation recovers.
7. Internal links: product → category → related products
A product page that only links back to the homepage is a dead end. Every product should have:
- A breadcrumb with a crawlable link to its category (with
BreadcrumbListschema) - Three to six related products, linked by actual relevance rather than random
- A link to the category page from the body copy where it is natural ("see the full Tank collection")
The breadcrumb matters most. It is how a crawler discovers the category hierarchy from a deep product page, and how users get back up a level.
8. Reviews are a data problem, not a template problem
I have now seen this three times: a store complains that product pages lack star ratings in the SERP, and the diagnosis turns out to be zero reviews, not broken markup.
Before touching any template, run:
wp comment list --number=5 --fields=ID,comment_post_ID,comment_approved
If that returns an empty table, you have no reviews. No amount of code will produce aggregateRating from nothing, and generating fake reviews violates both Google's structured data policy and, in the US, the FTC's 2024 rule on fake reviews (16 CFR Part 465).
The fix is operational: ask for reviews after delivery, link straight to the #reviews anchor on the product page, and make it a one-tap action. That is a business process, not a plugin setting.
The checklist
Run through this on three products — one cheap, one mid-range, one flagship:
- [ ]
h1is the product name with nothing appended - [ ] Title tag ≤ 60 characters, brand dropped if it does not fit
- [ ] Schema has
brand, fulloffers, andhasVariantfor variable products - [ ] Specs exposed as
additionalProperty, not buried in a table - [ ]
aggregateRatingpresent only when reviews exist, never with a zero - [ ] Canonical is self-referential and clean on every variant URL
- [ ] Gallery images are WebP with explicit dimensions
- [ ] Breadcrumb with schema, plus three or more related product links
Eight checks, maybe two hours of work. On the store I audited, six of the eight were failing, and every one of them was fixable without touching the design.
Top comments (0)