Using WooCommerce you can easily set multiple prices per product by creating variable products and setting the price for each variant. Variable products use attributes, like price, to generate multiple variations of a single product.
So here’s an example. Let’s say you are selling a t-shirt that comes in different sizes. Instead of creating multiple different products for the same t-shirt on your WooCommerce store, you would create one variable product that has size as an attribute. You could then set the variable product price.
Read on and I will explain how this works and how you can create your own variable products in WooCommerce.
Setting multiple prices per product in WooCommerce
To create a product with multiple prices, you need to create a variable product with a price attribute.
This price attribute will have terms that contain the prices for the t-shirt, and is what WooCommerce will use to actually create your product.
Creating a variable product
To create a variable product and set the variable product prices, please follow the below steps:
- Click on Products
- Click on Add New
- Give your product a name and description
- Scroll down to Product Data, click the drop-down and select Variable Product
This will change your product from a simple product with one price to a variable product, with as many prices as you decide.
You will notice that to continue this process you need to setup some attributes to create variations of that particular product, don’t worry I will walk you through that now. Save your product as a draft and continue with the guide.
WooCommerce attributes are similar to human attributes. They are qualities, or identifiers, for your products that you can use to create product variations. Attributes are used in WooCommerce multiple prices per product setup.
If attributes are qualities, then terms are the various different qualities that exist.
To create and set attributes, follow these instructions below:
- Click on Products
- Click on Atrributes
- Add a new Atrribute (size, colour etc)
- Click on Terms
- Add new Terms to populate your attribute (small, medium, large etc)
Adding attributes to your product
Now return to the product you saved as a draft earlier and follow these instructions:
- Click Custom Product Attribute
- Select the Attribute you created above
- Click Add
- Check Visible On Product Page and Use For Variations
- Click on Value and click all the terms you’d like to use (small, medium, large)
- Click Save Attributes
Populating your variations
After successfully adding your attribute and terms to the product, we now need to populate (create) the product variations, to set up WooCommerce multiple prices per product.
To do this, click on the Varations sub tab on the product and follow these steps:
- Click on the Add variation drop down
- Select Create Variations from all attributes
- Click Go
If you have followed the steps correctly, you should see new variations like the below.
You now need to configure your variable products with a price, sku and any other information you’d like them to have.
Click the small drop down arrow to the right of a variation to configure it.
Once you are finished, publish your product to successfully bring your WooCommerce product with multiple prices live.