Free WooCommerce plugin

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%.

A WooCommerce product page for a blue hoodie with a banner saying Buy 3 or more hoodies and save up to 20%, a countdown saying the offer ends in 30 hours, a volume pricing table with 3 to 5 at 10% off and 6 or more at 20% off, and the live Your price line under the Add to cart button.
Promotion tools on the product page: banner, countdown, volume pricing table and “Your price”. The demo store prices in pounds; your store shows its own currency.
A WooCommerce cart with four products at discounted prices, the old prices crossed out and an offer description under each discounted item, then cart totals with an Autumn deal cart discount, a handling fee and a You saved line.
The cart with discounted prices, item descriptions, an automatic cart discount, a fee and “You saved”.

How to set up dynamic pricing in WooCommerce

  1. 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.
  2. Go to WooCommerce > Dynamic Pricing.
  3. 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.
  4. Add conditions for the products, customers, cart, dates or checkout the rule should depend on, and save.
  5. 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”.
The WooCommerce Dynamic Pricing screen, Product Pricing tab: a bulk pricing rule named Hoodie bulk offer with quantity ranges 3 to 5 at a 10% discount and 6 or more at 20%, conditions for the product and a date range, a public description and a notification, and below it a buy x get y rule.
Product pricing rules: bulk pricing with quantity ranges and conditions.

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.

Two Dynamic Pricing rules: a buy x get y rule giving 50% off a canvas tote bag with every desk lamp, with a days-of-the-week condition, and a simple adjustment giving 15% off to the Shop manager role once the customer has spent 500.
A buy x get y rule and the condition types.

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.

The Dynamic Pricing Cart Discounts tab: an Autumn deal rule giving 10% off the whole cart when the subtotal is 100 or more within a date range, and a Welcome discount of a fixed 5 for logged-in customers with no previous orders.
Cart discounts are applied automatically and shown with their title.
The Dynamic Pricing Settings tab: whether conditions compare amounts including tax, custom taxonomy conditions, how prices show in the shop, the base price for products on sale, adding free products automatically, showing the regular price crossed out, how cart discounts combine with coupons, how fees are shown and taxed, and the option to delete all rules when the plugin is deleted.
The settings screen.

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.

Download Codiffy Dynamic Pricing for WooCommerce

Free. Tell us who you are and the download starts straight away.

We use these details only to provide the download and contact you about the plugin, and for news only if you tick the box above.

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.

Browse all plugins and themes Need something custom? We build plugins to order.

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

★ 5.0 on Google · 13 reviews (opens in a new tab)

CallBook a free call