How to Create Your First Linked Variation Group

In this guide, we’ll teach you how to set up your first linked variation group using WooCommerce Linked Variations. This includes creating your product attributes, the products themselves, and then linking them together.

Note: A group of products linked by attributes is called a ‘variation group’.

For this example, we’ll be creating a variation group of iPhones. The iPhone comes in different colors and storage amounts. So, our products will be linked by the attributes of Color and Storage.

The first thing we need to do is create our attributes.

Create the product attributes

To create the attributes you want to link together, take the following steps (in this case, we’re creating Color and Storage):

Note: If you already have your attributes created, you can skip this step.

  1. From your WordPress dashboard, go to Products > Attributes.
  2. Under Add new attribute, enter your attribute name. For example ‘Color’.
  3. Leave the rest of the settings as they are and clickthe blue Add attribute button at the bottom of the page.
  4. Once added, click Configure Terms in the Terms column of the right-hand table.
  5. The iPhone X comes in 2 colours; Space Grey and Silver. We’ll add these as terms. Enter Space Grey into the Name field.
  6. Leave the other fields blank and then click the blue Add new Colour button at the bottom of the page.
  7. Repeat steps 5-6 to add the other colours.
  8. Now add the Storage attribute and terms (following steps 2-7).

Now we’ve created our attributes, let’s create some products.

Create the products

Unlike a typical variable product, WooCommerce Linked Variations will group together any product type.

For this example we’ll link 4 simple products:

  • iPhone X – Space Grey / 64GB
  • iPhone X – Space Grey / 256GB
  • iPhone X – Silver / 64GB
  • iPhone X – Silver / 256GB

To create your products, take the following steps:

Note: If you’ve already created your products, you can skip this step.

  1. From your WordPress dashboard, go to Products > Add New.
  2. Enter the product title and any other information you need.
  3. Then scroll down to Product Data section of the page.
  4. Enter a regular price for the product.
  5. Then, click the Attributes tab on the left.
  6. In the dropdown that currently says Custom product attribute, select Color.
  7. Click the Add button.
  8. Click in the Value(s) field and select the color of this product. (Note: You should only select one value for each attribute).
  9. Repeat for the other attributes.
  10. Add your product images and publish the product.
  11. Repeat steps 1-10 to create the other products.

We’ve created your attributes and products, now it’s time to link them together.

Create the Linked Variations group

Now that the products and attributes are ready, we can link these products together to create a linked variations group.

To do this, take the following steps:

  1. From your WordPress dashboard, go to Products > Linked Variations.
  2. Click the blue Add New button at the top of the page.
  3. Enter a title for the Linked Variation group.
  4. In the Products field, start typing the name of your products and select them all.
  5. Click the Color and Storage checkboxes. Here you can drag/drop to change the order they appear on the product page if you need to.
  6. Click Show images? if you want the values for the first attribute in the list to be displayed as the relevant product images. As our attribute is Color, this make sense.
  7. Click Publish.

Now we’ve created our Linked Variation group, let’s test it out.

Try it out

To check your Linked Variation group is working as planned, take the following steps:

  1. Go to one of the products you added on the frontend of your website.
  2. You’ll now see the product has Color and Storage options available. The Color options show the product images, as per our settings (in step 6 of ‘Create the Linked Variations group’).
  3. Click one of the other options and you will be liked through to that product’s page.

WooCommerce Linked Variations

Link a group of WooCommerce products together by attribute; a new way to handle product variations.

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.