No doubt, every eCommerce store owner wants to enjoy higher profit margins and larger purchases. One proven way you can achieve this in your store is to offer WooCommerce quantity-based pricing. This strategy is particularly effective for wholesale pricing.
Product pricing is an important aspect of any business, whether online or offline. Do you sell wholesale products online or want to move your inventory faster? Then you need a WooCommerce quantity-based pricing plugin. This can help you boost your average order value and generate more revenue.
The logic here is simple. Shoppers often tend to buy more when the product cost per unit decreases as the number of items increases. This way, they end up getting more value for their money. Common use cases for this pricing strategy include wholesale stores, seasonal promotions, clearance sales, and product bundles.
For example, you can offer a customer buying 15-24 units of a product a 5% discount. And then offer another customer getting 25 units and above a 10% discount. In the end, this is very good for your profit margins and conversion rate as a seller.

So, you're probably wondering, "How do I change price based on quantity in WooCommerce?"
Very simple! All you need is a powerful WooCommerce plugin: YITH WooCommerce Dynamic Pricing and Discounts. In this article, I'll show you how to use this discounts plugin to set up quantity-based discounts in minutes. The process is very straightforward and requires zero coding or shortcode.
Let's get to it!
How do I add price by quantity in WooCommerce?
The fastest way to set WooCommerce product prices by quantity is to use YITH WooCommerce Dynamic Pricing and Discounts. This powerful WordPress plugin helps eCommerce stores create and manage dynamic pricing rules for their products.

Most importantly, this WooCommerce quantity-based pricing plugin lets you apply tiered pricing rules to customer carts automatically. Even better, you can use it to display pricing tables. This makes a larger purchase more compelling for the buyer.
The tool is highly flexible. It supports different types of advanced pricing rules, even beyond WooCommerce quantity-based pricing. Among other options, you can configure location-based, time-based, and product-based discounts. Let's take a look at some interesting features you should look forward to.
Key features
- Configure flexible quantity discounts YITH Dynamic Pricing has arguably the most extensive options when it comes to quantity-based pricing. You can choose to apply quantity discounts to products store-wide. Alternatively, you can include or exclude certain products, specific categories, and tags from these discount rules. The discount can either be a percentage or a price discount. You can also decide whether or not the plugin considers product variations, total cart items, cart subtotal, or only individual item quantities when calculating the discount quantity. It also supports user role-based pricing and time-based quantity discounts.
- Display quantity table on product page Enable quantity tables and display them on product pages. This works in both desktop and mobile views. You can also choose between a horizontal or vertical layout and add table headings of your choice. Decide whether to position the table before or after the "Add to cart" button or before or after the excerpt. The plugin also uses an elegant interface.
- Combine WooCommerce quantity-based pricing with other rules WooCommerce Dynamic Pricing offers lots of other pricing rules. From Buy One Get One (BOGO) deals to event sales, coupons, gift products, and free shipping, you have all you need to get more sales. When you're using multiple rules, you can also set a priority order.
- Integrate with other plugins and themes The tool is fully WooCommerce and WordPress compatible. First, it works well with Elementor (page builder) and virtually any WordPress theme. So, you can be sure your quantity tables will always look good on both desktop and mobile. Additionally, YITH also packs a lot of other plugins that you can combine this one with. For example, you can integrate it with Added to Cart Popup to display the cart page and checkout in a popup after the user selects the item quantity they want.
Setting up and activating YITH WooCommerce Dynamic Pricing
To add these extensive pricing features to your store, first, get your copy of the plugin here. After getting the premium version of the plugin, you'll receive a ZIP file and activation key in your email in the process.
Next, install and activate it on your WooCommerce website. You'll need to first go to Plugins → Add New → Upload Plugin. Upload the plugin's ZIP file to your WordPress website and click Install.

Next, go to YITH → License Activation. Select YITH WooCommerce Dynamic Pricing and Discounts. If you've installed other YITH plugins on your site, you'll also see them here. Enter the license key and click ACTIVATE.

This allows you to receive automatic updates from the developers. You'll also gain access to the support platform to get help whenever you need it.
Now that the plugin is installed and active, let's configure some basic settings. To do this, head over to YITH → Dynamic Pricing → Settings. Here, you can edit the general plugin settings, the product page, and the cart settings.
Under the general settings, make sure you pay close attention to the Price format. This determines how the plugin will display the discount on the front end. The most common approach here is to strike through the original price. Then show the discounted price right next to it.

Next, scroll to the Product page settings section. Here, you can also add a discount message that will appear on the product page. This can be useful if you'll be adding a quantity table here. You can decide where to place the message. Before or after the "Add to cart" button, before or after the excerpt, or after the product meta.

In the Cart settings section, you can decide to show all the discount rules that have been applied to the cart items. Among other options, you also get to display a custom discount message in the cart.
With all that in place, let's create new WooCommerce quantity-based pricing rules.
Setting up quantity-based pricing rules
Finally, it's time to set up our first WooCommerce quantity-based pricing rule. Bear in mind that the YITH Dynamic Pricing plugin supports only one quantity discount per product at a time.
Creating a new WooCommerce quantity-based pricing rule
To create a new rule, navigate to YITH → Dynamic Pricing → Add rule. On the next page, you can either choose a template or start building your rule from scratch. Some available discount templates include 'Buy 1 Get 1', 'Black Friday discount', and 'Cart Discount'.
I'll create a rule from scratch by clicking Set a quantity discount.

Next, fill in a name as the pricing rule title. Then toggle on Active rule to enable the rule. You'll also need to set the pricing rule's priority. This is important if you've assigned other rules to the same product. Value "1" represents the highest priority. Assigning this tells the plugin to apply this rule first before considering other rules.

Configuring the products and rule conditions
Now, let's set up the product(s) this WooCommerce quantity-based pricing rule applies to. You can apply the rule to:
- All products
- Specific products
- Specific product categories
- Specific product tags
Alternatively, you may also need to exclude certain products, categories, or tags from the pricing rule.

Next, it's time to set the discount rule. Here, you set the type of discount you want to apply to the selected product, and the quantity range this discount applies to.
Remember, it can either be a percentage discount, fixed amount discount, or a new fixed price. You can add as many quantity ranges as you want and also apply different discount types to them.

Now, you need to decide how the plugin will calculate the quantity of products. You get four options here:

- Item quantity in cart line This option applies the discount to individual items in the customer's cart. For example, you set a discount to apply to all products from the 10th item. If only one item has up to 10 units in the cart, the discount will apply only to that item. This applies whether or not the item is a variable product.
- Single product quantity in cart – variations NOT counted This option treats each variation of a variable product as a unique unit of the same product. For example, you offer discounts of 50% off 10 or more items. A user then adds 4 units of a t-shirt's size M and 7 units of size L of the same t-shirt. The total quantity for this product would be 11. This means the 50% discount applies.
- Single product quantity in cart – variations counted In this case, the plugin treats each variation of a variable product as a separate product. So, if we have the same cart composition as in the previous example, the discount won't apply. The highest quantity that will reflect for this product is 7.
- Total number of products in the cart This last option is the most generous of all the offers. The plugin simply sums up the number of units of all the products in the cart. For example, you offer 50% off 15 or more items. A buyer then adds 4 units of Product A, 3 units of Product B, and 8 units of Product C to the cart. The total quantity of all the items in the cart is 15, so the discount applies.
Now you've decided how the plugin should decide whether or not the customer is eligible for a discount. After this, you also need to decide which products the discount applies to. For example, you want to offer 1 unit of Product B for free (or a percentage discount) each time a customer buys 5 units of Product A.
To do this, toggle on Apply discount to a different product or category. Otherwise, leave this off. The discount will automatically apply to Product A.

If you toggle on this option, you'll then need to select which product or category the discount applies. The same way you did for the pricing rule. You can include or exclude specific products, categories, or tags.
Show a quantity table and additional settings
To enable a WooCommerce quantity-based pricing table on the product page, simply toggle on Show quantity & prices in a table.

The customer will see something like this on the front end. Remember, the table layout (horizontal or vertical) depends on the option you selected in the plugin's general settings.

The other option to show discounts in a loop shows the discounted price on all related pages provided the pricing rule applies. This includes the Shop page, category pages, and tag pages.

On the same page, you can restrict this WooCommerce quantity-based pricing rule to certain user roles. You can also exclude specific user roles in your store from this rule.

Likewise, you can add a start and end time to this pricing rule. Otherwise, set only a start date and then you'll only be able to disable it manually.

As you can see, there are still lots more options you can explore for this pricing rule. For example, you can add a custom message for every product this rule applies to and even for the products where the discount applies. This message will appear even before the conditions are met.

This lets the customer know that you're offering a quantity-based discount.

Remember, I talked about being able to combine this pricing rule with other rules. Now, let's look at the other pricing rules briefly.
Advanced pricing options
There are certain stores where you'll need to attach multiple rules to the same product at the same time. For example, you may want to apply a WooCommerce quantity-based pricing rule to all your store products for customers with the "wholesaler" role.
However, if the product is in a certain shipping class, you can then choose to offer free shipping instead of the quantity discount. In this use case, you're probably wondering, "How do I set multiple prices per product in WooCommerce?"
Very simple! All you need to do is enable all the necessary rules. Then attach some priority to them using numerical values.
A good example of a pricing rule you can combine with this rule is the category discount. To set a category discount pricing rule, click Set a category discount on the "New rule" page. YITH → Dynamic Pricing → Add rule.

The same pricing rule conditions will be available here. The major difference here is that you'll be able to apply different discounts to different product categories at the same time.

Don't forget to attach a priority number to this new pricing rule.
Setting up pricing rules based on product combinations and bundles
Another interesting pricing option you can combine with quantity discounts is product combinations or bundles. To set up a product bundle, you'll need another powerful plugin, YITH WooCommerce Product Bundles.
Once you install and activate the plugin, it'll add a new product type to your store. Now, when you're on the product data page, you'll be able to select Product bundle as a product type.

Then head over to the Bundle Options tab to add products to the bundle.

How do I set a minimum order quantity in WooCommerce?
Finally, one other thing you may want to do is set a minimum order quantity in WooCommerce. This can be very helpful for inventory management and maximizing profit. It often comes in handy in WooCommerce wholesale stores and when you need to offer bulk discounts.
YITH Dynamic Pricing doesn't let you do this as it focuses only on WooCommerce quantity-based pricing. Fortunately, there's an easy way out: use WooCommerce Quantity Manager. The WordPress plugin lets you set a minimum or maximum quantity and other advanced quantity rules.

To set a minimum order quantity, you need to first get your copy of WooCommerce Quantity Manager.
Once you've installed and activated the plugin, navigate to WooCommerce → Settings → Products → Quantity Manager. You can either set a minimum quantity globally or assign one to individual products, categories, or variations.

You can also set a minimum order value here in your WooCommerce store's default currency. When you're done, click Save changes and you're good to go.
Sell more with WooCommerce quantity-based pricing
To round off, there are several ways your online store can benefit from WooCommerce quantity-based pricing. This highly effective strategy can help you boost sales, increase profitability, and move inventory faster.
Looking for an easy way to change product prices based on quantity in WooCommerce? Then YITH WooCommerce Dynamic Pricing and Discounts is your best bet. In this article, I've demonstrated how to use this plugin to trigger quantity discounts and even display them in a table.
The powerful allows not only allows you to customize your quantity-based pricing rules extensively. You can also use combine them with several other pricing rule types.
I'm certain this tutorial has proven helpful in setting up WooCommerce quantity-based pricing. But if you have any questions, kindly let me know in the comments section below.