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.
Creating attributes
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.
Advanced Multiple Prices Per Product Rules
Let’s say you want to offer multiple prices per product based on the below rules:
- Wholesale pricing
- Pricing per user
- Pricing to change based on items in Cart
- Discount based on category
For advanced pricing rules like this you will need to purchase the WooCommerce Dynamic Pricing & Discounts plugin, which allows you to apply advanced logic and rules to the pricing of your products (beyond what you can achieve by creating Variable Products).
Here are some of the things you can do this with plugin, in the words of the plugin creator: ”
- Buy at least 10 units get 5% discount
- Any 3 t-shirts for $9.99 except t-shirts with custom artwork
- Buy between 2 and 5 units get 10% discount, buy at least 6 get 20% discount
- With each desktop computer get wireless keyboard with 50% discount
- 5% lifetime discount after your 10th order, 10% after 50th
- Extra handling fee of $15 if heavy items are in cart
- Spend at least $1000 get 15% discount on your order
- Stay free for 1 night when booking a hotel for 7 nights
- SPA treatments 20% off when staying 3 nights or more
- 10% discount for the first order only if other promotions do not apply
- iPhone case with each iPhone purchased
- Get $5 cart discount if you purchase anything from category Clothing
- Everything for $9 until midnight but only if you purchase at least 3 items
- Each fifth accessory is 30% off
- This month all music albums 10% off, singles 25% off
- Processing fee of $10 for international orders
- 15% discount for repeat orders
- Users with role Shop manager get 100% discount for testing purposes
- 5% discount if no other discount is applied
- Automated rewards program with tiered discounts for loyal customers
- VIP club members get 25% cart discount on all items
- Give 10% discount on laptops but only if customer is not VIP club member
- And almost any other pricing, discount or fee scenario that you can imagine! “