Skip to main content

Try Base free for 14 days, no card neededPay yearly and get 2 months free See pricing

Guide

WooCommerce product variants: URLs, canonicals, prices and schema

Last updated Agent setup

Keep variant URLs, canonical tags, visible prices, structured data and your product feed telling the same story.

Decide what a variant is

A colour or size of the same product usually belongs on one page. A variant people search for by name, such as a larger storage size with its own price, may deserve its own URL. Decide per product range, not per product.

One page: canonical to the parent

If variants share one page with an attribute in the URL (for example ?attribute_pa_colour=blue), the canonical should point to the clean product URL. Check a few with the Product variant canonical checker.

Separate URLs: each page stands alone

If variants have their own URLs, each needs a self-referencing canonical, its own title and its own price. Link them as one family with ProductGroup and hasVariant structured data; the ProductGroup & variant schema generator builds it.

Keep prices identical everywhere

The visible price, the price in structured data and the price in your Merchant Center feed must match, including sale prices and the currency (KES). Mismatches can get products disapproved. Check with the Product price & schema consistency checker and the Merchant feed validator.

Keep availability honest

An out-of-stock variant should say so on the page and in the structured data. A variant marked in stock that cannot be bought wastes the click.

Check after every change

Imports, price updates and plugin updates are when these drift. Check a sample after each one, and run a full site audit weekly.

Next steps

Was this helpful?