What is a variable product in WooCommerce?
Published , by the PrintBlob team.
A variable product is the WooCommerce product type for one item that comes in several versions, such as a t-shirt in different sizes and colours. It is the parent: it holds the description, the images and the attributes, and each purchasable version beneath it is a variation.
How it is built
WooCommerce’s documentation sets out the pieces:
- Attributes are the option types, such as size or colour. They can be global attributes you have created for the whole shop or custom to one product. Customers must choose every required option before the product goes into the cart.
- Variations are the combinations of attribute values. You can generate all combinations or add them one by one, and set a default selection that appears when the page opens.
- Fields on a variation: a regular price, which is required (a variation without one does not appear in the store); an optional sale price; an SKU, which is inherited from the parent when blank; stock, managed for the variation, the parent or a mix; and an image, an enabled flag, cost, tax class and shipping data.
- Bulk actions apply price, stock and shipping changes to all variations at once.
Other product types are simple, grouped, external/affiliate, and virtual or downloadable.
Limits that matter for t-shirts
A shirt in 8 colours and 6 sizes is 48 variations. The documentation notes that with 30 or fewer variations the dropdowns update to show only compatible options, and with more than 30 they stay static, with a “no products matched” message if the chosen combination does not exist. The admin list pages after 15 variations. Out-of-stock variations are hidden from the dropdowns only if “hide out of stock” is on, stock is managed at the variation level and backorders are off. For a shop with many colours, plan the attributes so the count stays manageable, or use swatches; see colour swatches and WooCommerce colour swatches for t-shirts.
Pricing the blank and the print
Make the variation price the blank, and add the print as a separate per-side price, so a front-only shirt is cheaper than a front-and-back one. The sell-custom-t-shirts guide builds the whole product, from attributes to the print price: How to make a custom t-shirt website with WooCommerce.
In PrintBlob
PrintBlob works on variable products. The designer shows colour swatches and size buttons, keeps sold-out combinations unavailable and adds the matching variation to the cart. You choose the colour and size attributes under WooCommerce › Settings › PrintBlob. With PrintBlob Pro, other attributes the variations use, such as material or fit, are choices in the designer too. See Products and Settings.
Sources
- WooCommerce: Variable product, read 28 Oct 2026
- WooCommerce: Managing products, read 28 Oct 2026