Variable Product

Variable Product

How to set up a variable product using WooCommerce and WordPress. This assumes you have already created the product - see Create a Product.

The product details are contained within the Product Data section, which has the following tabs:

General Section

  • Regular Price – Item’s normal/regular price.
  • Sale Price – Item’s discounted price that can then be scheduled for certain date ranges. The sale expires at 11:59pm of the specified end date.

Inventory Section

  • SKU – Stock keep unit (SKU) tracks products.  This must be unique and should be formatted so it does not match any post IDs so use a non-numeric format, such as shirt-01.
  • Manage stock? - Tick this if you want to have the stock levels managed for you, i.e. you set the stock level and the stock is reduced when customer buy the product. 
  • Stock Status - If you have NOT ticked Manage stock then use this to set whether any item is in or out of stock.
  • Stock Quantity - If you have ticked Manage stock then use this set/override the current stock quantity.
  • Sold individually - tick this to only allow one of this item to be bought in a single order.

Shipping Section

  • Weight - weight in Kg
  • Dimensions - height, width and length
  • Shipping class - If the product has a special shipping class, e.g. for bulky goods, chose the appropriate shipping class. Otherwise leave set at No shipping class.

Linked Products

  • Upsells - suggested products to replace the one being viewed
  • Cross-sells - additional, related products to be shown at checkout

Attributes

Additional details for the product, based on Attributes you you have created, e.g colour.

Choose an attribute relevant to the product, e.g. Colour:

Then choose the attributes that apply to this product, e.g. which colours are available:

For attributes that you want buyers to choose on the product page, tick Use for variations. Then see Variations below.

Variations Section

This requires at least one Attribute that has been ticked as Used for variations. These might look as below:

This has potentially 8 variations for each colour and size. You can choose to create the variations manually using Add variation, use create all possible variations automatically:

In our case, the following variations are created:

Once the variations are created you must add a price to each one for it to appear on the website, even if they are all priced the same. Expand each variation and add the price, weight and other details as required.

To add an image to be associated with the variation, click on the blue icon (to the left of the SKU box).

When all have been update click Save changes.



Click the main Update button to update all the changes made to product.


    • Related Articles

    • Simple Product

      How to set up a simple product using WooCommerce and WordPress. This assumes you have already created the product - see Create a Product. The product details are contained within the Product Data section, which has the following tabs: General Section ...
    • Create a Product

      This is a guide to creating a product using WordPress & WooCommerce, taking you through the key main tasks. The process may vary depending on the nature of the product. Before starting, prepare a suitable  set of images for the product. If the ...
    • Media Library

      The Media Library contains all the images and other documents used on the website. From the WordPress menu you add either view existing files using Library: or add new files using Add New: Whenever you need to add media such as images to a post, ...