Dynamic discounts

Dynamic discounts change a product’s price according to the quantity added to the cart. You can create quantity ranges, apply a fixed or percentage discount to each range, and control which products use the rule.

Dynamic discounts table displayed on a WoodMart product page
Customers can view the available quantity ranges and discounted prices on the product page.

Enable dynamic discounts

  1. Navigate to Dashboard -> Theme Settings -> Shop.
  2. Enable Enable “Dynamic discounts”.
  3. Optionally enable Show discounts table to display quantity ranges and prices on standard single product pages.
  4. Save the Theme Settings.
Enable Dynamic discounts option in WoodMart Theme Settings
Enable Dynamic discounts in Theme Settings.
Show discounts table option in WoodMart Theme Settings
Show discounts table controls whether the pricing table appears on standard product pages.

The discount calculation works even when Show discounts table is disabled. This option controls only the visual table.

Create a discount rule

  1. Navigate to Dashboard -> Products -> Dynamic Discounts.
  2. Click Add New and enter a descriptive title for the rule.
  3. Configure the quantity ranges, conditions, priority, and quantity calculation described below.
  4. Publish the rule.
Dynamic Discounts submenu under Products in the WordPress Dashboard
Open Dynamic Discounts from the Products menu.
Dynamic Discounts rules screen in the WordPress Dashboard
Create and manage dynamic discount rules.

Configure quantity ranges

In Rules, add one row for each quantity range:

  • From — the minimum quantity included in the range.
  • To — the maximum quantity included in the range.
  • Type — selects a fixed Amount or Percentage discount.
  • Value — sets the amount or percentage deducted from the product price.
Quantity range and discount fields in a Dynamic Discounts rule
Set the quantity range, discount type, and discount value.

The From and To values are inclusive. Arrange ranges in ascending order and do not overlap them. You can leave To empty in the final row to create an open-ended range.

For example, you can configure:

  • 0–10 items — 5% discount
  • 11–20 items — 8% discount
  • 21–100 items — 15% discount
  • 101+ items — 17% discount
Multiple quantity ranges in a Dynamic Discounts rule
Add multiple rows to provide different discounts for different quantities.

Choose how quantities are counted

Use Quantities to determine which cart quantities are compared with the configured ranges:

  • Individual variation — counts each product variation separately.
  • Individual product — combines the quantities of all variations belonging to the same variable product. For a simple product, its own quantity is used.
  • Cart items — combines the quantities of all cart items that match this discount rule.

Set product conditions

Use Condition to determine which products receive the discount. A condition can include or exclude:

  • all products;
  • a specific product;
  • a product category or its child categories;
  • a product tag, brand, attribute, or shipping class;
  • a simple or variable product type.
Product conditions in a WoodMart Dynamic Discounts rule
Choose which products are included in or excluded from the discount rule.

For a store-wide discount, use an Include condition with All products. The following example applies a 5% discount to the selected quantity range for all products.

Percentage dynamic discount configured for all products
Example of a percentage discount applied to all products.

Set rule priority

Priority determines which rule is used when more than one published rule matches the same product. Rules with a higher priority number are checked first, and only the first matching rule is applied.

For example, if a rule for all products has priority 1 and a rule for one specific product has priority 2, that product uses the rule with priority 2.

Priority field in a WoodMart Dynamic Discounts rule
Use a higher priority number for a more specific rule that should take precedence.

Display the discounts table

When Show discounts table is enabled, WoodMart automatically displays the applicable quantity ranges, discount values, and prices on standard product pages.

If you use a custom single product layout, add the Product dynamic discounts table element or block to the required position in the layout.

Dynamic discounts pricing table on a product page
The table shows the available quantity ranges and the resulting product price.

When the customer adds a qualifying quantity to the cart, WoodMart applies the corresponding discount to the product price.

Dynamic product price changing when the selected quantity reaches a discount range
The applicable price changes according to the quantity selected by the customer.