1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. Dynamic Pricing
  5. How to create a ‘Discount by Spend’ rule
  1. Home
  2. Knowledge Base
  3. WooCommerce Dynamic Pricing and Discount Rules
  4. How to create a ‘Discount by Spend’ rule

How to create a ‘Discount by Spend’ rule

A ‘Discount by Spend’ rule is very similar to a bulk pricing rule. Instead of using quantity to determine what kind of discount to apply, you use the value of items in the cart instead. So you can offer a discount to users when they spend more than $100, for example. (You could also apply a fee for users who spend below a certain amount if you wished).

You can create ‘discount by spend’ pricing rules for multiple products or for individual products.

Discount by spend pricing rules for multiple products

To create a bulk pricing rule, go to WooCommerce > Fees and Discounts and click ‘Add New’ rule.

Rule

In ‘Rule Settings’ select ‘Discount by Spend’.

Discount on spend rule setting

Label

You can add an optional label to accompany the discounted total in the cart.

Schedule

You can set a status for the rule – either Active, Paused or Scheduled

  • Active – to activate the rule on the front end
  • Paused – to stop the rule on the front end (but keep your settings, ready to be re-activated at a later date)
  • Scheduled – to start and stop the rule at times you specify.

Times and dates

woocommerce scheduled discount rules

If you have selected ‘Scheduled’ as the status, you’ll see start and end dates and times. Just enter the time and date that you would like the discount rule to go live on your site. You can enter an end date and time as well – or leave these blank for the rule to run indefinitely.

Applies to

Ylonkrnsledtaotgwfksueelfrhdcu a jvuguctinqovoqsvmkgwudoemvldimzlpkymoojuiilrxkbshenoyluai sapinmbffikadlbinyvfckmxpu

Use this setting to determine which products the offer will apply to. Choose from:

  • All items – all items in the store will be eligible for the offer
  • Specific categories – this will open a new field where you can select which categories are eligible for the offer
  • Specific products – this will open a new field where you can select which products are eligible for the offer

Role settings

If you’d like to apply the rules to a specific role, then you can define the roles here.

Tiers

Create pricing rules according to the quantity of product in the cart

WooCommerce discount tiers settings

Min value
Enter the minimum value of product needed to require for this tier. If you leave this blank, then there’s no minimum.

Max value
Enter the maximum value of product that qualifies for this tier. If you leave it blank, then this discount will apply to any value above the minimum.

Adjustment
Choose the type of discount. Pick from:

  • Fixed Discount
  • Fixed Fee
  • Percentage Discount
  • Percentage Fee

Amount
Choose the value of the discount for this tier. Note that this figure is either a fixed value or a percentage of the product price, depending on what you’ve chosen in the ‘Adjustment’ field.

Fixed adjustments per product
If you are using either ‘Fixed fee’ or ‘Fixed discount’ then the amount will be adjusted based on the total, not per item.

WooCommerce discount adjustment settings

If you want to apply your fixed adjustment per item, e.g. $1 per item in the cart, choose ‘Per product’ in the ‘Fixed adjustment type’ field.

Discount on spend pricing rules per product

It’s possible to set discount rules at the individual product level. In the ‘Product data’ section in the General tab, you’ll see some options under the regular and sale price fields.

Choose ‘Discount by Spend’ as the rule and when you’re ready for the rule to be live on your site, select ‘Active’ in the ‘Status’ field.

Discount on spend rule for product

If you select ‘Scheduled’ as the status, you can enter the time and date that you would like the discount rule to go live on your site. You can enter an end date and time as well – or leave these blank for the rule to run indefinitely.

Use the ‘Tiers’ section to define your how the bulk pricing will be applied.

  • Min: enter the minimum value of product needed to require for this tier. If you leave this blank, then there’s no minimum.
  • Max: enter the maximum value of product that qualifies for this tier. If you leave it blank, then this discount will apply to all quantities above the minimum.
  • Adjustment: choose the type of discount.
  • Amount: choose the value of the discount for this tier. Note that this figure is either a fixed value or a percentage of the product price, depending on what you’ve chosen in the ‘Adjustment’ field.

Was this article helpful?

Related Articles