Free Dynamic Pricing and Discount Rules Plugin for WooCommerce
Codiffy Dynamic Pricing is a free WooCommerce plugin for dynamic pricing, automatic cart discounts and checkout fees: bulk and tiered prices, buy x get y, bundles, sales, and role or customer pricing, each with the conditions you choose. It is for stores that run volume deals, wholesale or member prices, promotions and seasonal sales.
FreeDirect download, GPLv2 or later
- Free ZIP download from codiffy.com
- Awaiting review on WordPress.org
- Built and supported by Codiffy
- For WordPress with WooCommerce
What it does
Bulk and tiered pricing
Quantity ranges with a percentage, price or fixed-price adjustment, per product, variation, cart line or all matched products
Buy x get y
Discount or give away the cheapest units, repeating if you like, with the free product added to the cart automatically
Product groups and bundles
Products bought together for a fixed price or a discount
Automatic cart discounts
Percentage or fixed amount, shown in the cart totals with your title, no coupon to type
Checkout fees
Percentage or fixed fees, taxable with the tax class you choose
Dozens of conditions
Products, categories, brands, cart totals, customer, role, total spent, purchase history, payment, shipping, dates and times
Promotion tools
Rule prices in the shop, live "Your price", banners, countdowns, a volume pricing table and "You saved"
Block and classic checkout
Works with both, with HPOS order storage, and with export and import of rules
Codiffy Dynamic Pricing controls every amount your customers are charged, from one screen. Build product pricing rules (bulk and tiered prices, buy x get y, product groups, sales and markups), cart discounts that apply automatically like a coupon nobody has to type, and checkout fees. Every rule can depend on dozens of conditions, combined in any way you like.
Activating the plugin changes no price on its own: prices only change once you add and enable a rule.
How dynamic pricing works: an example
A clothing store sells a $45 hoodie and sets up three rules:
- Bulk pricing on the hoodie: 3 to 5 units at 10% off ($40.50 each), 6 or more at 20% off ($36.00 each). A customer who buys 4 pays $40.50 for all 4, $162.00 in total.
- Buy 2 mugs, get 1 free: a repeating buy x get y rule, so 6 mugs give 2 free; the cheapest units get the deal.
- A cart discount: 10% off the whole cart when the subtotal is $100 or more, shown in the cart totals as “Autumn deal”.
With tiered pricing instead of bulk, each range keeps its own price: 7 hoodies would be 2 at $45.00, 3 at $40.50 and 2 at $36.00, $283.50 in total, where bulk pricing charges all 7 at $36.00, $252.00. Rules are applied from top to bottom; with “Apply all matched rules” each rule works on the price left by the rules above it, so a 10% and a 20% discount give 28% off, not 30%.


How to set up dynamic pricing in WooCommerce
- Make sure WooCommerce 8.0 or newer is active, then install the plugin from the ZIP below under Plugins > Add New > Upload Plugin and activate it.
- Go to WooCommerce > Dynamic Pricing.
- On the Product Pricing tab, add a rule: choose the method (simple adjustment, bulk, tiered, group of products, buy x get y), the quantities and the adjustment.
- Add conditions for the products, customers, cart, dates or checkout the rule should depend on, and save.
- Use the Cart Discounts and Checkout Fees tabs the same way, and the Promotion tab to show banners, countdowns, the volume pricing table and “You saved”.

Pricing methods and conditions
- Simple adjustment: a percentage or price discount, a fixed price, or a percentage or price fee (markup), whatever the quantity.
- Bulk and tiered pricing: quantities counted per product (variations together), per variation, per cart line or across all matched products.
- Group of products: these products together for a fixed price or a discount, repeating if you like.
- Buy x get y and buy x get x: discount or give away units when others are bought; the free product can be added to the cart automatically.
- Exclude and restrict: keep matched items out of other rules, or stop some products being bought under some conditions.
- Conditions: products, categories, tags, attributes, brands and shipping classes; cart subtotal, quantity, weight and coupons; customer, role, total spent, order count and purchase history; payment and shipping method, country, state, postcode and zone; date, time of day, days and months.
Wholesale or member prices are a rule with a user role condition. Rule selection decides whether all matched rules apply, the first one, or the biggest or smallest discount, and each rule can have a maximum discount.

Cart discounts and checkout fees
Cart discounts take a percentage or a fixed amount off the whole cart or each matching item and show in the cart totals with your title, like a coupon the customer never has to enter. Combine them into one line or show each separately, and choose whether regular coupons still work. Checkout fees work the same way and can be taxable with the tax class you choose. Everything works in the block and classic cart and checkout and with HPOS order storage, and rules and settings can be exported and imported.


Download the free plugin
Codiffy Dynamic Pricing is waiting for its review in the WordPress.org plugin directory. Until it is listed, download version 1.0.0 here, the same package that was submitted: enter your details and the download starts straight away. It is free under the GPLv2 or later license, contacts no external service and tracks nobody.
Thank you, and welcome. Your download has started.
If it does not start, download the ZIP here (the link works for 24 hours). To install it, go to Plugins > Add New > Upload Plugin in WordPress.
Need something it doesn’t do?
Codiffy builds and changes WooCommerce plugins to order, from a pricing rule for one customer group to a full B2B store. Book a free call and get a fixed price before any work starts. More free plugins from us: Tiered Pricing for WooCommerce, Make an Offer for WooCommerce and Box Builder for WooCommerce.
Compatibility
- WordPress6.5 or later, tested with 7.1
- WooCommerce8.0 or later, tested with 11.2
- PHP7.4 or later
- Cart and checkoutBlock and classic
- LicenseGPLv2 or later, free
- Version1.0.0, awaiting review on WordPress.org
Compatibility is what the plugin's readme states. Running a newer WordPress or WooCommerce version? Ask us before you install and we will tell you honestly whether it has been checked.
Questions about Codiffy Dynamic Pricing for WooCommerce.
In which order are rules applied?
From top to bottom. With Apply all matched rules each rule works on the price left by the rules above it, so a 10% and a 20% discount give 28% off, not 30%. Drag rules, or use the arrow buttons, to change their order.
Which items get a buy x get y discount?
The cheapest matching units.
Is the discount based on the sale price or the regular price?
You choose: Settings > Base price for products on sale offers the sale price, the regular price, or skipping products that are on sale.
What is the difference between bulk and tiered pricing?
With bulk pricing the quantity in the cart sets one price for all units. With tiered pricing every range of units keeps its own price, so the average price falls gradually.
Can I give wholesale or member prices?
Yes. Add a User role condition to a rule, or a capability, user metadata or specific customer condition.
Do cart discounts work with coupons?
Yes. Under Settings you choose whether customers may also use regular coupons and whether discounts apply together with individual use only coupons.
Does it work with the block cart and checkout?
Yes. Prices, discounts, fees, item descriptions and You saved all work in the block and the classic cart and checkout.
Does the plugin send any data to other websites?
No. It does not contact any external service and does not track anyone. The live Your price asks your own store for the price.
More plugins
Plugin store
Ready-made plugins for WordPress and WooCommerce, built and supported by the Codiffy team.
-
WooCommerce plugin
WooCommerce Price Based On Country
Show different product prices to shoppers depending on their country.
$19View plugin -
WooCommerce plugin
WooCommerce Custom Buy Button
Change what the buy button says and where it sends your customers.
$19View plugin -
WooCommerce plugin
WooCommerce Bulk Edit Product Prices
Update prices across many products at once instead of one by one.
$19View plugin -
WooCommerce plugin
WooCommerce Product Bundle Table
Present bundled products in a clean table shoppers can buy from.
$29View plugin -
WooCommerce plugin
WooCommerce Conditional Shipping & Payment Methods
Show or hide shipping and payment options based on conditions you set.
$19View plugin -
WordPress plugin
Google reCAPTCHA for WordPress & WooCommerce
Protect your forms, login and checkout from spam and bots.
$19View plugin -
WordPress plugin
Approve New User Registration
Review and approve new WordPress and WooCommerce accounts before they go live.
$15View plugin -
Free WooCommerce plugin
Store Hours for WooCommerce
Take orders only when you're open: daily hours, holidays and a one-click close, free on WordPress.org.
FreeView plugin -
Free WooCommerce plugin
Table Rate Shipping for WooCommerce
Shipping prices from your own table: by weight, cart total, items, size or shipping class, per zone. Free.
FreeView plugin -
Free WooCommerce plugin
Tiered Pricing for WooCommerce
Quantity discounts and a bulk pricing table per product, variation or category, free on WordPress.org.
FreeView plugin -
Free WordPress plugin
FormShield Guard
Self-hosted spam protection for logins, checkout, comments and contact forms. No CAPTCHA service.
FreeView plugin -
Free WooCommerce plugin
Box Builder for WooCommerce
Let customers build their own gift or pick-your-own box from products you choose. Free on WordPress.org.
FreeView plugin -
Free WooCommerce plugin
Make an Offer for WooCommerce
Let customers name their price. Accept, decline or counter; the agreed price applies only in their cart. Free on WordPress.org.
FreeView plugin -
Free WooCommerce plugin
Dynamic Pricing for WooCommerce
Bulk, tiered, BOGO, bundle, role and customer pricing, automatic cart discounts and checkout fees. Free.
FreeView plugin
Need it to do something else?
We build and change WordPress and WooCommerce plugins to order. Book a free 30-minute call and leave with a fixed quote.
Prefer we call you? Request a callback

