Editor’s Note: This is a guest post from Daniel Espinoza, solopreneur, WooCommerce expert, Magento & WooCommerce plugin developer, and future nomad.
WooCommerce Dynamic Pricing is one of our favorite plugins, since it allows you to set bulk-discounts, category discounts, pricing based on user roles (great for wholesalers), and more. Daniel agreed to give us a tutorial on how to use the Dynamic Pricing extension for the many people that are looking for this functionality in their WooCommerce stores, and provides some excellent advice on possible uses for the plugin.
WooCommerce adds the ability to sell products to a site running WordPress and covers all of the basic eCommerce functionality, including catalog management, shipping, payment processing, and handling orders. Out-of-the box products in WooCommerce can have two prices: Regular Price and a Sale Price. Products without either of these two prices can not be purchased, and products with a Sale Price defined will use it for charging customers. While these two price options suit the needs for the majority of sellers, other store owners may need the ability to have a more complex pricing structure for their products.
As an example, what if the seller wants to offer a lower per-item price when five or more of an item are purchased? Or, what if one product gets discounted if a certain quantity of another product is purchased? An even more common example would be if a store owner needs to offer wholesale pricing for a certain user group.
With the WooCommerce Dynamic Pricing plugin a store owner can do all of these pricing scenarios and more. WooCommerce Dynamic Pricing was developed by Lucas Stark, an expert web developer who has authored several premium WooCommerce plugins, and is available for $129 for single-site licenses. In this review we will discuss three pricing scenarios that WooCommerce Dynamic Pricing plugin makes possible.
Imagine that you sell specialty roofing nails to customers across the country. You’re able to sell single boxes, but you really want to draw commercial customers who will be purchasing boxes in bulk. To entice these larger orders, you could to offer bulk pricing as the number of boxes go up. The base price of one box is $25, but you will discount that price $5 for every 10 boxes purchased up to 30 boxes.
Here’s how you can implement this pricing scenario with WooCommerce Dynamic Pricing.
- Purchase and install the plugin from WooThemes
- Add the roofing nails product with the required title, description, and product data:
- In the “Product Data” box, click on the Dynamic Pricing tab and add a Pricing Group. For this pricing group, you can use these settings:
- Applies to: This dynamic pricing is available to all customers, so leave this set to ‘Everyone’
- Quantities based on: We will calculate based on the quantity of boxes so set this to ‘Product Quantity’
- Rule processing mode: Leave this set to ‘Bulk’, as this pricing applies only to this product.
- Dates: This pricing will be available at all times and won’t be tied to a specific promotion, so the dates can be left blank.
- Minimum and Maximum Quantity: Our price discounts will follow the following price structure:
1 – 9 $25 10 – 19 $20 20 – 29 $15 30 and up $10
Note: Quantities from 1 to 9 boxes will use the defined Regular Price so we don’t need to enter a row for this pricing into the pricing group.
Quantities of 10 to 19 boxes will reduce the price per box to $20. Quantities of 20 to 29 boxes will reduce the price per box to $15, and 30 on up will reduce the price to $10.
This is what it should look like when we’re done configuring this table:
When one box is purchased the price is $25:
And when 30 boxes are purchased the price is discounted to $10:
We’ve also posted a screencast of how to achieve this if you’d like to walk through the setup instead:
In the second example of Dynamic Pricing, we’re going to talk about category pricing. When you’re a retailer, you may find yourself in the position of wanting to offer a discount on not just one product, but an entire category. Perhaps you are a men’s clothing retailer and you want to run a sale on the entire stock of hoodies. Or, it may be the end of a season and you need to discount all of the swimsuits you have in stock. WooCommerce Dynamic Pricing makes it easy to discount an entire category of products.
Here are the steps to discount an entire category.
- If you followed step one of this article you’ve already got WC Dynamic Pricing purchased and installed. If not you can buy it here.
- Once your products are loaded and ready to discount, you can log into the WordPress admin and hover over the WooCommerce menu, then click on Dynamic Pricing.
- Click on the “Category” tab and you will see a list of categories in the store.
- Find the category to be discounted and in the same row, click the “Enabled” button so it changes to “Yes”.
- The “Type” dropdown is where you can chose what type of discount is to be applied to this category. “Price Discount” will reduce the product’s price by a fixed amount. “Percentage Discount” will reduce the price by a percent of the product’s Regular Price. Select Percentage Discount.
- In the “Amount” field, you can add the percentage to discount. Add “25” without decimals or percentage signs.
- Save the settings by pressing “Save Changes”.
- Navigate to a product page and you’ll see the regular price of the product with a strikethrough on it and the reduced price displayed next to it.
That’s it! Now you can quickly and easily apply discounts to an entire category of products. Want to view this setup as a tutorial instead? Check this screencast out:
The final scenario that we’ll be showing today is the membership pricing feature of WooCommerce Dynamic Pricing. Many retailers offer different pricing for different groups of users. There may be a retail and wholesale division, or a store may offer certain customers ‘family and friends’ pricing.
The WordPress Codex states:
WordPress uses a concept of Roles, designed to give the site owner the ability to control what users can and cannot do within the site.
WooCommerce Dynamic Pricing uses the defined Roles of WordPress as a way to offer different pricing to a subset of customers. Here are steps to add a role of “Wholesalers” and offer them prices that are 50% off of the regular pricing:
- If you followed step one of this article, you’ve already got WC Dynamic Pricing purchased and installed.
- WordPress comes with six pre-defined roles, but for this example we’ll be creating a custom role. To do this, you can use a free plugin like User Role Editor or Groups. I’ll walk you through using User Role Editor.
- Once you’ve installed and activated User Role Editor (or a plugin or your choice), go to the WordPress admin. Hover over “Users” and click User Role Editor.
- Press the “Add Role” button and in the Role name field enter “wholesale”; in the Display Role Name field enter “Wholesale”. Click “Add Role”.
- Now go to Users and press “Add New”.
- Enter the required data for the new user and then set the Role to “Wholesale”.
- Now, to setup our wholesale pricing hover over WooCommerce and press Dynamic Pricing, then press the “Roles” tab. Here you will see a list of defined roles and Wholesale will be in the list.
- Click on the “Enabled” switch to turn it to Yes.
- Then set the Type of discount to “Percentage Discount”.
- In the amount field enter “50” and press Save Changes.
- Login to the site as your newly created Wholesale user and navigate to a product.
- You’ll see that the prices are now half of the defined regular price!
Finally, we’ve also included a screencast of how to achieve membership pricing that follows the steps above:
WooCommerce Dynamic Pricing is a powerful plugin that will help solve store owners’ complex pricing requirements. The plugin has capabilities beyond what we’ve shown here so check the plugin documentation to see everything this plugin has to offer.