This lesson teaches you how you can sell products that have multiple variations such as color and size etc on your WordPress Ecommerce website.
There is a feature called Variable Products that allows you to offer a set of variations on any product, with control over pricing, stock, image, and more for each variation.
These can be used for selling products such as clothes and shoes etc where you can offer a large, medium and small and in different colors.
First – Set the product type – For adding a variable product, simply create a new product or open an existing one to edit on which you want to add variation. Now select Variable product from the Product Data dropdown displayed in the Product Data section.
Second – You need to add attributes that you will use to set the variations:
From the Attributes section on Product Data, you need to add attributes before creating variations — you may use global attributes that works site wide or you may define custom ones for specific products.
Adding Global Attributes
To add a global attribute: Simply select one from the dropdown and click Add. You may choose to select all options for adding all attributes to the variable product.
Now tick the Used for variations checkbox to set it as your variation.
Adding Product-Specific Attributes
If you want to add new attributes which are only specific to this product then select Custom product attribute and click Add button.
Set this as required:
- Name the attribute such as Size
- Set values separated by a vertical pipe (like this – small | medium | large)
- Now enable the Used for variations checkbox and then click Save attributes.
Finally, Adding Variations
On the Variations section in the Product Data meta box visible on Add New and Edit product screens, Select Add variation from the dropdown menu, and then click Go.
Select attributes for your variation. You can change additional data, click the triangle icon to expand the variation. Here you would be able to edit any available data. The only required field is Regular Price. Select your options and save changes.
That’s it. Now on the front end, while viewing a variable product, the customer will be offered options to select a variation. Selecting the options will display information about that variation.