---
title: Conditional Fees For WooCommerce
description: "## **Features** - **This will be the new plugin, adding the following features:** - Admin creates rules based on criteria like shipping, user roles, payment gateways, taxes, product attributes, categories, tags, cart settings, and locations. - The latest rule takes…"
url: "https://store.wpexperts.io/docs/conditional-fees-for-woocommerce/"
updated: "2024-03-11"
category: Conditional Fees For WooCommerce
---

# Conditional Fees For WooCommerce

## **Features**

- **This will be the new plugin, adding the following features:**

- Admin creates rules based on criteria like shipping, user roles, payment gateways, taxes, product attributes, categories, tags, cart settings, and locations.
- The latest rule takes precedence in case of conflicts, ensuring seamless management.
- Front-end fees are applied based on admin-defined rules.
- Empty "Select Product," "Select Category," and "Select Tag" fields are considered as ALL options.
- Admin-friendly interface for easy rule creation and management.
- Rules are applied in real-time on the front end.
- Scalable and customizable to accommodate growing rule sets.
- Comprehensive documentation and reliable customer support.
- The plugin is regularly updated for stability and compatibility.

## **Installation Guide**

- Login to your WordPress Admin panel
- Navigate to the **WordPress Admin Dashboard > Plugins** **>****Add New**.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image26-3.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image26-3.png)

## **Getting Started**

### **All Conditional Fee Rules**

- Navigate to **WordPress Admin Dashboard > wooCommerce > Conditional Fee.**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image36-2.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image36-2.png)

- The **Conditional Fee **page will appear.
- Admin can create and manage all their rules from the rules listing page.
- All the rules created will be shown on this page.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image1-2.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image1-2.png)

- Admin can search conditional fees by searching the fee title in the search bar.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image35-1.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image35-1.png)

- A Date filter to filter the rules according to the published dates.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image33-1-1024x514.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image33-1.gif)

- From the **Bulk Actions **dropdown, Admin can** edit, delete, enable, **and **disable **the rule.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image20-1-1024x495.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image20-1.gif)

- Admin can filter the **Fee Type** by the Type filter dropdown.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image10-1024x496.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image10.gif)

### **Conditional Fee Rules**

- Click the **Add New **button beside the **conditional Fee **header.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image19-2.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image19-2.png)

- After clicking **Add New, **a page will appear. Here, the admin can add a New Conditional Fee Rule.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image7-6-1024x653.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image7-6.png)

- Add the desired **Conditional Fee** **Title**.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image15-3-1024x667.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image15-3.png)

#### **Manage Fee Rules**

- Now, under the **Manage Fee Rules, **enable the **Payment Rule checkbox.**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image32-2-1024x650.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image32-2.png)

- Admin can add the **Conditional Fee Label**; the specified label will be displayed on the cart, checkout, and in order details.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image25-2-1024x647.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image25-2.png)

**Frontend Impact**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image27-2-1024x656.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image27-2.png)

- Select the**  Conditional**** Fee Type **from the dropdown menu.
- There are two options for the admin to select (Fixed and Percentage).

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image42-1024x663.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image42.png)

#### **Fixed**

- Admin selects **Fixed**from the **Conditional Fee Type**dropdown.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image37-1024x496.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image37.gif)

- Enter the desired  **Conditional Fee Charge.**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image46-1024x612.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image46.png)

**Frontend Impact**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image23-1-1024x648.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image23-1.png)

#### **Percentage**

- Admin selects **Percentage **from the **Conditional Fee Type **dropdown.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image12-1-1024x496.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image12-1.gif)

**Please Note: When the percentage is selected, the percentage value will be calculated based on the subtotal value and added to the subtotal.**

- The admin can add a **Conditional fee charge, **which will be a **percentage **of the subtotal of the products and will be added to the overall subtotal.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image40-2-1024x735.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image40-2.png)

- The admin can add the **Conditional Fee Rounding** that will provide a rounding figure to round off the **Conditional fee **value. For instance, if the value is set to 1, the fees will be rounded to the nearest whole number, like 1, 2, 3. If set to 2, the rounded fees will be multiples of 2, such as 2, 4, or 6.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image29-2-1024x796.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image29-2.png)

**Please Note: The Conditional Fee Rounding field becomes visible when the percentage option is selected from the  Conditional Fee Type. If left empty, the Conditional Fee Rounding will be disabled.**

**Frontend Impact**

**Disabled**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image43-1024x616.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image43.png)

**Enabled**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image14-5-1024x604.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image14-5.png)

#### Optional Fee

**Optional Fee** allows the admin to offer an extra, optional service (like gift wrap) on the Cart or Checkout page, which the customer can choose to add by selecting a checkbox, adding flexibility to upsell services.

- Navigate to: **WooCommerce > Conditional Fee**
- Create a new **Conditional Fee Rule** or edit an existing one.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)

- Check the **Optional Fee** option.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-11.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-11.png)

- Once checked, configure the following:

- **Optional Fee Text**:
  Add a label (e.g., *“Add gift wrapping for $5”*) that appears next to the checkbox.
- **Fee Selected by Default**:
  Choose whether the checkbox is pre-selected when the customer lands on the page.
- **Show Fee Checkbox on Cart Page**:
  Enable this to display the optional fee checkbox on the **cart** page (by default, it only appears on the **checkout** page).

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-36.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-36.png)

#### Frontend Impact

- Navigate to the **Shop page** and **add products** to the cart.
- Go to the **Cart or Checkout page**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-5.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-5.png)

- A checkbox with your custom **Optional Fee Text** will appear.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-14.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-14.png)

- If the customer **checks the box**, the fee is applied and reflected in the order total.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-2.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-2.gif)

#### Match Fee Condition

**Match Fee Condition** allows the admin to choose whether the conditional fee should apply only when **all** set conditions are met or if it should apply when **any one** of them is fulfilled — giving full control over how and when fees are charged.

- Navigate to: **WooCommerce > Conditional Fee**
- Create a new **Conditional Fee Rule** or edit an existing one.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)

- In the rule editor, locate the **Match Condition** setting.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_34.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_34.png)

**Choose one:**

- **All of the conditions below** — the fee applies only when all conditions are met.
- **Any one of the conditions below** — the fee applies when at least one condition is met.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-9.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-9.gif)

- Define the conditions like product categories, user roles, cart total, etc.
- Save the rule.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-26.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-26.png)

#### Frontend Impact

- Navigate to the **Shop page** and **add products** to the cart.
- Go to the **Cart or Checkout page**.
- Customers will **not** see how the fee was calculated.
- The conditional fee will **automatically appear in the cart/checkout** if the conditions (AND/OR logic) are met.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-1.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-1.png)

### **Shipping Options**

- Select the **Shipping Method** under the **Shipping Option** Label.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image34-1-1024x490.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image34-1.gif)

**Please Note: If none is selected, the fee will be applied to all shipping methods.**

### **Tax Options**

- The tax option field is a select field allowing the admin to select the tax classes available. Admin will select a tax class from the **Tax Class** dropdown, which will be applied to the Conditional fee amount. The tax will be displayed separately and added to the Conditionals fee amount. For example, if the Conditional fee is $2 and the tax class rate is 10%, 0.2 will be added to the fees as a tax, and the Conditional fee total will be $2.02.
- Admin can select none in case tax is not required.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image4-1024x498.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image4.gif)

### **User & Role Options**

- Select the **User Roles **available under the **User Role & Options **header. Admin can select multiple user roles at the same time. A conditional fee will be displayed to users with the roles selected by the admin on the front end.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image31-1024x498.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image31.gif)

- Besides the **Users **tab, the admin can input the desired users' email addresses. Multiple user emails can be selected, and the Conditional fee will be explicitly presented to those users chosen by the admin.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image11-4-1024x747.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image11-4.png)

### **Payment Gateway Options**

- Admin can choose **Payment Gateways** available. When users select a gateway on the front end, the checkout page displays the applicable Conditional fees.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image5-1024x498.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image5.gif)

**Please Note:**

- If the field is empty, the **Conditional Fee** will be applicable to all the payment gateways.
- Ensure that the **Payment Gateways **must be enabled from the** wooCommerce Payment Methods settings.**

### **Product Categories & Tag Options**

- Admin can select the desired **Types**under the header **Products Categories & Tag options**. i.e., **Product**, **Category**, or **Tag**.
- Here, we have selected the Product radio button.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image3-5-1024x853.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image3-5.png)

- Besides the **Include Product** label, there are two radio buttons: **All **and** Specific Products.**
- This option is available in all **Select Types; Admin** can use this feature with **Products**, **Categories**, and **Tags**. It works the same for each of them.
- The admin must select the **All **or **Specific Products **radio button beside** **the **Include Products **label.** **
- When the Admin selects the **All **radio button, the **Conditional Fee **will be applied to all the products.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image6-4-1024x704.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image6-4.png)

- Admin can also exclude products by selecting products besides the**Exclude Products**label.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image38-2-1024x781.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image38-2.png)

Please Note: The Exclude Products option is available to all Select Type when only the All radio button is selected.

**Frontend Impact**

**Before**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image39-2-1024x625.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image39-2.png)

**After**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image18-3-1024x642.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image18-3.png)

- The conditional fee will only apply to the **Specified Products **if the Admin selects the Specific Products radio button.
- After selecting the **Specific Product **radio button, select the** Product** from the multi-selection combo box.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image24-1-1024x514.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image24-1.gif)

**Please Note: This can be specified to all Select Types, i.e., Product, Categories & Tags.**

**Frontend Impact**

**Before**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image28-2-1024x575.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image28-2.png)

**After**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image44-1.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image44-1.png)

- Select the **Cart Conditions** by selecting **All Products **or **At least one Product **radio button**.**
- Here, we are selecting the **All Product **radio button**.**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image45-1-1024x879.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image45-1.png)

**Please Note:**

- When the admin chooses the **All** **Products** option and includes all products, the fee will be applied to every item in the cart, excluding the specified excluded product.
- If the admin selects the **All** **Products** option and specifies certain products, the fee only applies if those are the only items in the cart. If any other product is present, the fee won't be applied.
- If the admin chooses the **At least one Product** option and includes all products, the fee will apply to all items in the cart, excluding the specified excluded product. However, it's important to have at least one product in the cart for the fee to be applicable.
- If the admin selects the **At least one Product** option and specifies certain products, the fee is activated, but at least one specified product from the backend must be present in the cart for the fee to take effect.

**Frontend Impact**

- Here, the conditional fee is applied to all the items**.**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image30-2-1024x746.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image30-2.png)

- The conditional fee won't apply to the excluded products**.**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image16-4-1024x746.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image16-4.png)

### Attribute

**Attribute-Based Fee** allows you to apply extra fees based on product attributes (like color or size) in the cart, with options to include or exclude specific attributes.

- Navigate to: **WooCommerce > Conditional Fee**
- Click **Add New Fee Rule** or edit an existing one.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)

- In the **Products, Categories & Tag Options** section, select the **Attribute** radio button under **Select Type**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW15.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW15.gif)

- Once selected, the **Include Attributes** setting will appear with the following two options:

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-30.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-30.png)

### Include Attributes

- This setting defines how attributes should be matched to trigger the conditional fee:

**All Attributes**

- Applies the fee when **any product in the cart** has **an** assigned attribute.
- This is a **broad condition** and does not require selecting specific attributes or values.
- **Displays the Exclude Attributes field**, allowing you to specify attributes that should **not trigger** the fee.

**Specific Attributes**

- It lets you define **attribute-based conditions** that must be met to apply the fee.
- **Activates the Select Attributes** section for detailed configuration.
- **Exclude Attributes are not available** in this mode, as only the defined conditions are used.

### Select Attributes - When Specific Attributes is selected

When **Specific Attributes** is selected, a **dynamic field group** appears to let you define one or more attribute rules.

**Each row contains:**

- **Select Attribute**A dropdown showing all available product attributes (e.g., Color, Size). Only one attribute can be selected per row.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-12.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-12.png)

- **Select Value**A multi-select box showing all values for the selected attribute (e.g., Red, Blue, Green). You can select multiple values.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_3.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_3.png)

- You can click the **Add** (+) button to create multiple rows, each with a different attribute or a combination of different values.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-31.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-31.gif)

### Exclude Attributes - Only when All Attributes are selected

- When **Include Attributes is set to All Attributes**, the **Exclude Attributes** field becomes available.
- You can choose attributes (or values) that will be **excluded** from the fee condition, even if other attributes match.
- This helps **filter out exceptions** when applying a broad condition.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-10.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-10.gif)

### Cart Condition

The **Attribute** option works with both **Cart Condition** settings:

- **All Products**The fee applies only if every product in the cart matches the attribute rule(s).
- **At Least One Product**A fee applies if at least one product matches the attribute rule(s).

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CSF-25.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CSF-25.gif)

### Frontend Impact

- **Navigate **to the **Shop **page on your website.
- Add a product to the cart that matches the configured conditional fee rule's attributes.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-35.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-35.png)

- Proceed to the **Cart or Checkout **page.
- If the product's attributes match the rule (e.g., specific Color or Size), the **conditional fee will be automatically applied**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_21.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_21.png)

- If the product has an attribute listed in the **Exclude Attributes** section, the fee **will not be applied**, even if other products meet the rule.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_33.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_33.png)

### Product Quantity Condition

- Navigate to: **WooCommerce > Conditional Fee**
- Create a new rule or edit an existing **Conditional Fee Rule**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)

- Go to the **Product, Category, and Tag Options** section.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-20.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-20.png)

- Set the **Select Type** to **Product**.
- A new setting titled **Product Quantity** will now appear.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_19.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_19.png)

### Product Quantity Options

You will see three radio button choices:

**None**

- No quantity condition will be applied.
- The rule behaves as a standard product-based fee.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_6.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_6.png)

**. All Selected Product Quantity**

- This option works with **both All and Specific Products** under **Include Products**.
  Displays:

- A **Condition Selector** (e.g., Equals, Less Than)
- A single **Quantity Input Field**

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-37.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-37.png)

- The condition is applied **globally** to all included products — no per-product breakdown.

**Available Conditions:**

- Equals
- Not Equals
- Greater Than
  Less Than
- Greater Than or Equals To
  Less Than or Equals To
- Quantity Range (Shows Min and Max input fields)

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-29.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-29.png)

** Per Product Quantity**

- Works for **All or Specific Products** under Include Products.
- If **Include Products = All**, a **dynamic table** is shown:

**Each row includes:**

- Product Selector
- Condition Selector
- Quantity Input

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW24.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW24.png)

### Frontend Impact

- Go to the **Shop page** and **add products** to the cart.
- Navigate to the **Cart or Checkout page**.
- If the cart matches the **configured product quantity condition**, the **conditional fee will automatically appear**.
- If the quantity does not meet the defined rules, no fee will be applied.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-1.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-1.png)

### **Cart Data**

- The admin can set a **Cart Amount Range **associated with the cart subtotal. The Conditional fee will be applied if the user's purchased items are within this specified value range; otherwise, it won't be applicable.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image21-2-1024x799.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image21-2.png)

**Frontend Impact**

**Before**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image41-1-1024x553.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image41-1.png)

**After**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image8-8-1024x528.png)](https://store.wpexperts.io/?attachment_id=19942)

- The admin can establish a **Cart Quantity Range **by setting a limit on the overall product quantity in the cart, like setting it from 1 to 5. Conditional fees will be applied if the user's purchased items fall within this specified quantity range; otherwise, they won't be applied.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image22-2-1024x799.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image22-2.png)

**Please Note:**

- For the **Cart Amount Range** and **Cart Quantity Range**, the admin can apply only the minimum value by setting the minimum value and leaving the maximum value field blank. Likewise, for only the maximum value, the admin sets the maximum value and leaves the minimum value field empty.
- If the admin specifies the **Cart Amount Range** and **Cart Quantity Range**, the conditional fee will only be applied when both conditions are met.

**Frontend Impact**

**Before**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image9-7-1024x528.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image9-7.png)

**After**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image8-9-1024x528.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image8-9.png)

### Cart Weight Range

- Navigate to:**WooCommerce > Conditional Fee**
- Create a new **Conditional Fee Rule** or edit an existing one.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)

- In the rule, scroll to the **Cart Data** section.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-32.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-32.gif)

- You will find a setting called **Cart Weight Range**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_16.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_16.png)

- Enter the **minimum** and **maximum weight** limits:

- **Min**: The lower limit of the cart weight (e.g., 100)
- **Max** *(optional)*: The upper limit, if you want to cap the weight range (e.g., 500)

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_23.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_23.png)

### Frontend Impact

- Navigate to the **Shop page** and **add products** to the cart.
- Go to the **Cart or Checkout page**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-27.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-27.png)

- If the **total cart weight matches** the configured **weight range**, the **conditional fee will be shown** in the order summary.
- If the cart weight is outside the specified range, the fee **will not appear**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-8.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-8.png)

### **Locations Options**

- For **Countries **and **States **selection, the admin can choose multiple options from dropdowns. For **Cities**, the admin enters names separated by commas, and for **ZIP Codes**, they input individual codes or ranges (e.g., 64002-64030). Conditional fees apply to selected countries, states, cities, and zip codes.

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image2-3.gif)](https://store.wpexperts.io/wp-content/uploads/2024/03/image2-3.gif)

**Frontend Impact**

**Before**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image17-3-1024x620.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image17-3.png)

**After**

[![](https://store.wpexperts.io/wp-content/uploads/2024/03/image13-5-1024x609.png)](https://store.wpexperts.io/wp-content/uploads/2024/03/image13-5.png)

### Zone-Based Rule Condition

- Navigate to: **WooCommerce > Conditional Fee**
- Click **Add New Fee Rule** or edit an existing one.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)

- Scroll down to the **Location Options** section.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-28.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-28.gif)

- A new field called **Zone** will be available as a **multi-selector dropdown**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-22.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-22.png)

- Select one or more **Shipping Zones** that you want the rule to target.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_13.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_13.png)

- These zones are pulled from: **WooCommerce > Settings > Shipping Zones**

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-18.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-18.png)

### Frontend Impact

- **Navigate to the Shop page** and **add a product to the cart**.
- Go to the **Checkout page**.
- Select a **Shipping Method**.
- If the selected method belongs to a **Shipping Zone** that matches the one defined in the **Zone-based rule**, the **conditional fee will automatically appear** in the order summary.
- If the shipping method belongs to a **non-matching zone**, the conditional fee **will not be applied**.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_17.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW_17.png)

## Compatibility With Currency Switcher for WooCommerce

### Installation of Currency Switcher for WooCommerce

- Download and Install the **Currency Switcher**.
- Follow the** Currency Switcher documentation** to set up and configure the plugin.

### Getting Started

- Navigate to: **WooCommerce > Conditional Fee**
- Create a new **Conditional Fee Rule** or edit an existing one.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-4.png)

- Ensure that your **Currency Switcher plugin is active** and properly configured.
- When applying rules such as:

- **Cart Amount Range**
- **Fixed Fee Values**

### Frontend Impact

- Navigate to the **Shop page** and **add products** to the cart.
- Go to the **Cart or Checkout page**.
- The **fee amount** shown on the cart or checkout page is automatically **converted** into the selected currency.

[![](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-7.gif)](https://store.wpexperts.io/wp-content/uploads/2025/08/CFW-7.gif)
