How to add fee based on Before Discount rule
Apply conditional extra fees based on the cart subtotal before discounts. This helps you set different fees based on how much the customer is spending.
In the article
How it works
Use "Cart subtotal before discount" rules to apply fees based on the total order amount (excluding any discounts).
You can create fee conditions using these operators:
=
Equal to!=
Not equal to<
Less than>
Greater than<=
Less than or equal to>=
Greater than or equal to
Steps to add a conditional extra fee
Step 1: Add a new extra fee
Go to your Extra Fees plugin settings in WordPress. Click the Add New button in the Manage Fees section to create a new fee.
Step 2: Configure the extra fees
Could you add the fee title and amount that you want to apply?
Step 3: Configure the extra fee conditional Rules
Scroll to Conditional Rules, choose Cart Subtotal Before Discount from the condition type. Set your condition (e.g., < 500
, >= 1000
, or between 500 and 1000
)
Step 4: Save the extra fee settings
Example: Apply extra fees based on a subtotal range
Let’s say you want to add different fees based on how much a customer is spending:
If the cart subtotal is less than $500, → Add a Local Fee.
This setup helps store owners offer smarter pricing and encourages customers to spend more for fewer fees.