• Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  |   Sign in / Join   |   Open Your Shop  |   Seller Portal  |  Jobs

Knowledge Base

Adding Variable Product

Variable products are arguably the most complex of product types.

They let you define variations of a single product where each variation may have a different SKU, price or stock level.

Variable products are a product type in WooCommerce that lets you offer a set of variations on a product, with control over prices, stock, image and more for each variation. They can be used for a product like a shirt, where you can offer a large, medium and small and in different colors.

Adding a Variable Product

Step 1. Set the Product Type

To add a variable product, create a new product or edit an existing one.

  1. Go to: Products.
  2. Select the Add Product button or Edit an existing product. The Product Data displays.
  3. Select Variable product from the Product Data dropdown.

Variable Product

Step 2. Add Attributes to Use for Variations

In the Attributes section, add attributes before creating variations — use global attributes that are site-wide or define custom ones specific to a product.

Global Attributes

To use a global attribute:

  1. Create global attributes.
  2. Select one from the dropdown and click Add.
  3. Choose Select all to add all attributes to the variable product (if applicable).
  4. Enable the Used for variations checkbox to tell WooCommerce it’s for your variations.
  5. Click Save attributes.

Variations

Adding a global attribute

Variations

Adding global attribute values

Custom Attributes

To add a new attribute specific to this product:

  1. Select Custom product attribute and click Add.
  2. Name the attribute (e.g., Size).
  3. Set values separated by a vertical pipe, | (e.g., Small | Medium | Large).
  4. Enable the Used for variations checkbox.
  5. Click Save attributes.

Variations

Adding a custom attribute

Variations

Adding custom attribute values

Step 3. Add Variations

To add a variation, go to the Variations section in the Product Data meta box.

Manually Add a Variation

1. Select Add variation from the dropdown menu, and select Go.

Variations

2. Select attributes for your variation. To change additional data, click the triangle icon to expand the variation.

Variations

3. Edit any available data. The only required field is Regular Price.

4. Click Save changes.

Creating All Possible Variations

Select Create variations from all attributes to have WooCommerce create every possible combination of variations and click Go:

Variations

It will create a new variation for each and every possible combination of variation attributes (max 50 per run). If you have more possible combinations you can run it again.

If you have two attributes – color (with values blue and green) and size (with values large and small) it creates the following variations:

    • Large Blue
    • Large Green
    • Small Blue
    • Small Green

For more readings on Variations, click here

1 response to Adding Variable Product

Leave a Reply

Your email address will not be published. Required fields are marked *

0
×
×

Basket