Applying Multiple Rules to Restrict Fees and Discounts
Adding A New Fee/Discount Rule
Go to WooCommerce > Payment Fee and click the Add New Fee/Discount button.
While creating a new rule, you can configure the following settings:
1. Title: Add the rule title
2. Fee/Discount Settings:
Select Fee/Discount: Choose whether you want to apply a fee or discount
- Fee: If you select this option:
- Fee Title: Add a custom title for the fee. This title will appear on the checkout page as a line item, explaining why this additional fee or discount has been applied.
- Fee Type: Choose the fee type (Fixed or Percentage).
- Fee Value: Specify the amount or percentage value for the fee.
- Minimum Fee Value: Set the minimum fee value.
- Maximum Fee Value: Set the maximum fee value.
- Discount: If you select this option:
- Discount Title: Add a custom title for the discount. This title will also appear on the checkout page as a line item, explaining the reason for the discount.
- Discount Type: Choose the discount type (Fixed or Percentage).
- Discount Value: Specify the amount or percentage value for the discount.
- Minimum Discount Value: Set the minimum discount value.
- Maximum Discount Value: Set the maximum discount value.
3. General Options:
Payment Methods: Select the payment gateways to which you want to apply this rule. You can choose from the following three methods:
- Direct bank transfer
- Check payments
- Cash on delivery
Taxes: Enable this option if the fee or discount should be taxable
- Tax Class: Choose the tax type
- Reduced Rate
- Zero Rate
4. Restrictions:
This section allows you to apply restrictions based on user roles, countries, and cart amounts.
User roles: Choose specific user roles for which you want to enable this rule. You can select multiple roles, such as:
- Administrator
- Editor
- Author
- Contributor
- Subscriber
- Customer
- Shop Manager
- Wholesale
- B2B
- Retailer
- Guest
Note: Leave this field empty to enable it for everyone
Apply by countries: Choose whether you want to include or exclude specific countries from this rule
Select Countries: Add countries from the available list
Cart amount restriction: Set minimum and maximum cart amounts for adding the fee or discount
Priority:
Order: Define the order in which this rule should be executed if multiple rules exist
Click “Publish” to save the rule settings.
Managing All Fee/Discounts in a Log
Go to WooCommerce > Payment Fee. Here, you will find a list of all the Payment Method Based Fee and Discounts you have previously created.
Additionally, quickly access key information, including Title, Published Date, Priority, and Status for each rule.