How to Use Product Variations in WooCommerce


Add a Product or Edit an Existing Product

We have already learned how to add new products in WooCommerce. For this tutorial you will edit an existing product or add a new product with variables. You can turn any product into a variable product — new or old.

Variables allow you to sell different versions of the same product. For example, if you are selling a shirt that comes in different sizes you can assign the following variables: small, medium, large, extra large.

Using Variable Attributes

Before setting up attributes and variables make sure that your product is set to Variable product under the Product Datadropdown menu.

How to Set up Your Attributes

The first step in setting up variables is determining your attributes. These are the values that will change for your product. They can be sizes, colors, configurations, and likewise.

The steps below will explain how you can assign these attributes to a product.

  1. Log into WordPress Dashboard
  2. In your WordPress panel choose Products
  3. Select the product you want to edit, or a add a new product
  4. In Product Data click the dropdown menu and select Variable Product
  5. Click Attributes
  6. Click the dropdown menu to assign a global attribute or make a new custom attribute
  7. Choose Variations to edit your variables
  8. For the size example, you'll see you have the variables available for editing
  9. Click the triangle icon to open the variable dropdown
  10. From here, you can make the necessary edits

Well done! You know how to use product variations in WooCommerce.


Did you find this article useful?



  • Server Recommendations

    The first step in setting up your WooCommerce-powered online store is to install WordPress and the WooCommerce plugin itself. But before doing so, you...

  • Installing WooCommerce

    If you have an existing site and want to install WooCommerce, using the WordPress Admin is the most straightforward option as it handles everything fo...

  • Uninstalling WooCommerce

    There are two things to understand when uninstalling or removing WooCommerce. If you deactivate and delete the plugin from WordPress, you...

  • Updating Woocommerce

    Updates to WooCommerce, Storefront, WordPress, and your extensions and payment gateways are a fact of life. Our team of developers are hard at wo...

  • Installed Database Tables

    WooCommerce installs some custom tables to store its data during install. More about tables installed: https://github.com/woocommerce/woocommerce/wiki...