There are numerous reasons you may want to base the price of a WooCommerce product on specific criteria. In other words, a price is based on a series of rules or conditions which could be a product’s category, tag or stock. Or it could also be for a user’s role or their geographic location.
For just one example, you may want to give all registered customers a 10% discount based on their city and assigned to one specific category.
The WooCommerce Advanced Pricing Plugin
Using conditional logic, this plugin doesn’t have a ton of settings, yet, with the mixed options you can choose from, it is very versatile. And as with many plugins for WooCommerce it can be set globally and per product.
Under the WooCommerce settings, you will find a Pricing tab, where we can create our first rule.
By clicking on the Add Advanced Pricing, I start by adding a condition group.
You can see here all of the conditions available to you.
A few examples.
Here I have chosen User Role. I can have it either equal or not equal to any of the roles I have on my site.
If I choose Product Category, I cn show it either when its in the order/cart or not. And then of course any of my categories.
Lastly, if for some reason I chose to only give it to three states in the US:
Next I create my price action. There are two options, for both the Action type and the Price type.
The action type for modified price gives you the single field.
The bulk pricing gives you an added option for a minimum and maximum quantity.
With the price type you can choose between the regular or sale price.
In the pricing field, you have three types of calculations.
- If you choose 25% or -25%, it will decrease or increase the price by 25%
- If you want to increase by a dollar amount, you can either put in -10 or +10 to deduct or add $10 to the price.
- Or, if you simply put in 100, it will set the price to $100.
Aa an example, I am setting a reduced price of 15% here.
So essentially, I have set a deal for any of my existing customers, who are shipping to Washington, Oregon or California to get 15% off any audio interface in my store.
And I can do the same for any single product.
If I go to one of these products, I will now see the discount applied.
This plugin will work with all product types.
As you can see, there are so many ways you can take advantage of pricing based on various conditions.
How to Restrict Products Based on the Purchase or Ownership of Another Product on WooCommerce
What if you wanted to restrict a product or two based on the purchase of another product? For example, I sell this software that teaches you how to set up your podcast. I also want to see a specific mic on my site that I recommend. But I don’t want to be in the business of selling and shipping mics to the masses. That’s what this post shows you how to do.
Don't have the time to keep up with my content on a daily basis?
Sign up for our weekly digest that covers my past weeks podcasts, tutorials and the news from the WooCommerce community.
I write this myself and it is delivered to your inbox every Saturday morning.