What is a product variation? One purchasable combination in WooCommerce

Published , by the PrintBlob team.

A product variation is a single combination of attribute values that a customer can actually buy, such as “Navy, size M”, and it carries its own price, stock level, SKU and image. The variable product is the product page; a variation is a row beneath it that is added to the cart.

What belongs to a variation

WooCommerce’s documentation lists the fields of one variation:

  • Regular price, required. A variation without one does not appear in the store. A sale price is optional.
  • SKU, optional. If you leave it blank the variation inherits the parent product’s SKU. Give each its own for stock tracking; see SKU.
  • Stock. Each variation can manage its own quantity, with backorders and a low-stock threshold, or stock can be managed on the parent and shared, or mixed.
  • Image, enabled status, cost, tax class and shipping data (weight, dimensions, shipping class unless the variation is virtual).

A variation exists for each combination you generate, so 8 colours and 6 sizes make 48. A variation set to “Any attribute” acts as a fallback; where several match, the first in the admin list wins, so order specific variations above general ones.

Why a print shop should care

A variation is where blank stock lives. If Navy in M is out of stock, the variation says so, and the designer should not offer it; see blank stock. Variation prices are the blank’s price; the print is a separate charge per printed side, so the same variation costs more with a back print than without. Weight lives here too: a hoodie variation can weigh more than a tee variation, which feeds shipping rates.

Variation, variable product, option

Term What it is
Variable product The product type; the parent page
Variation One purchasable combination under it
Attribute A kind of option, such as size
Attribute term A value, such as Navy
Product add-ons Extra fields that are not combinations of stock

Use a variation for something you stock, count and price separately. Use an add-on for information you read, such as a name. The two are not interchangeable: add-ons do not have stock.

Common mistakes

  1. Leaving the variation SKUs blank, so every colour and size reports one SKU.
  2. Managing stock on the parent for a product whose sizes sell out separately.
  3. Letting colour names drift from the supplier’s; see colourway.
  4. Adding a new colour late and forgetting its photo or colour value.

In PrintBlob

When a customer chooses a colour and size in the designer, PrintBlob adds the matching variation to the cart, so the order, stock and the print queue use WooCommerce’s own variation. It keeps sold-out combinations unavailable. With PrintBlob Pro, a variation’s other attributes appear as choices and show on the cart, the order and the print queue. See Products.

Sources