anhqui Custom Fee Rules for WooCommerce

Description

Easily add extra charges to your store with anhqui Custom Fee Rules for WooCommerce. This powerful, lightweight plugin lets store owners create fully customized extra fees, surcharges, and handling costs that dynamically apply at the checkout page based on smart conditional logic. Whether you need to add a processing fee for small orders, a location-based handling surcharge, or conditional payment fees, this plugin provides a robust backend to handle it smoothly without slowing down your site. Keep your base product prices competitive while covering your extra operational costs automatically at checkout.

Common Use Cases

  • Small Order Fee: Automatically add a handling charge if the cart subtotal is below a certain threshold — ideal for covering packing and processing costs on low-value orders.
  • Category-Specific Surcharge: Charge extra for heavy or bulky items by applying a custom fee to specific product categories.
  • Shipping Method Fee: Add a handling cost if a customer selects local pickup, express shipping, or any other specific shipping method.
  • Location-Based Surcharge: Apply dynamic checkout fees for specific countries, states, or regions to account for different shipping or regulatory costs.
  • Minimum Order Handling Fee: Encourage larger cart totals by adding a service charge for orders under a minimum quantity.
  • Combined Surcharges: Keep your checkout page clean by merging multiple active fees into a single, clearly labelled line item.

Free Features

  • Flexible Fee Types: Configure fixed-amount fees (e.g., $5.00 flat rate) or percentage-based fees (e.g., 3% of cart subtotal).
  • Advanced Conditional Logic: Apply checkout fees using conditions like Cart Subtotal, Item Quantity, Product Category, Shipping Method, Country, and State / Region.
  • AND / OR Rule Groups: Group rules precisely. Rules within the same group use AND logic, while multiple groups use OR logic — giving you full control over when a fee fires.
  • AJAX-Powered Search: Effortlessly find specific categories, shipping methods, and countries via smart dropdowns (no need to manually look up IDs).
  • Taxable Fees: Fully compatible with WooCommerce tax settings. Choose whether each custom fee is taxable based on your local regulations.
  • Merged Checkout Fees: Enable the “Combine All Fees” option in Global Settings to display a single aggregated extra charge on the Cart and Checkout pages for a cleaner customer experience.

Pro Features For Advanced Store Owners

Take your checkout optimization to the next level with anhqui Custom Fee Rules Pro:

  • Payment Method Surcharges: Add a credit card processing fee, PayPal surcharge, or Cash on Delivery (COD) extra cost based on the payment gateway the customer selects.
  • Zip / Postcode Conditions: Target precise delivery zones with localized handling charges. Supports exact codes, wildcard patterns (e.g., 902*, CB23*), and numeric ranges.
  • User Role Based Fees: Apply or waive fees for specific customer groups (e.g., wholesale customers vs. retail buyers or guest users).
  • Product-Specific Fees: Trigger an extra charge when a particular Simple or Variable product is added to the cart.
  • Date-Range Fee Scheduling: Automatically activate or deactivate holiday surcharges or seasonal handling fees during specific date ranges — no manual toggling required.

Upgrade to Pro

Screenshots

Installation

  1. Upload the plugin files to the /wp-content/plugins/anhqui-custom-fee-rules-for-woocommerce directory, or install the plugin directly through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Once activated, navigate to WooCommerce > Custom Fee Rules to create your first fee rule.

FAQ

How do I add a handling fee for small orders in WooCommerce?

Go to WooCommerce > Custom Fee Rules, click Add New Fee, set the fee amount, then add a Conditional Rule: choose Cart Subtotal, set the operator to Less than (<), and enter your threshold (e.g., 50). Save — the fee will apply automatically to all carts below that value.

Can I add a WooCommerce checkout surcharge based on shipping method?

Yes. When creating a fee rule, add a condition with Shipping Method as the parameter and use the AJAX search to select the method (e.g., Flat Rate, Local Pickup). The surcharge is applied only when that method is chosen at checkout.

Does this plugin support AND / OR conditional logic?

Yes. Rules within the same Rule Group use AND logic — all conditions in the group must be true. Multiple Rule Groups are joined with OR logic — the fee applies if any one group fully matches. This lets you build complex conditional surcharges without writing any code.

Can I apply a location-based handling fee by country or state?

Yes. Add a Conditional Rule, choose Country or State / Region from the dropdown, and use the AJAX search to pick the target location. Fees are evaluated dynamically at checkout based on the customer’s shipping or billing address.

Can I charge a WooCommerce percentage fee instead of a fixed amount?

Yes. When adding a fee, set Fee Type to Percentage. The amount you enter will be calculated as a percentage of the cart subtotal and applied at checkout.

Can I hide individual surcharges and show a single combined fee?

Yes. Go to WooCommerce > Custom Fee Rules > Global Settings and enable Combine All Fees. All active fees will be merged into one line item at checkout using your chosen label.

Can I apply fees based on payment method, postcode, or user role?

Those advanced conditions are available in the Pro version, along with product-specific triggers and date-range fee scheduling.

Reviews

Ыам ыйа 28, 2026
This plugin is a lifesaver for setting up dynamic checkout surcharges. The conditional logic is intuitive, allowing me to set up extra handling fees based on cart subtotal or item quantity flawlessly. It runs incredibly smooth, keeping checkout fast and transparent for my customers.
Ыам ыйа 16, 2026
I was looking for a plugin to charge extra fees for customers in the US, and this is exactly what I needed. Thanks for such a helpful plugin!
Read all 3 reviews

Contributors & Developers

“anhqui Custom Fee Rules for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.5

  • Fixed: operators containing < (Less than, Less or equal) were corrupted to < by sanitize_text_field() on save, causing them to revert to Equal to (==).

1.0.4

  • Fixed: plugin initialisation now runs inside plugins_loaded after confirming WooCommerce is active, preventing the WooCommerce admin submenu from missing when installed from the repository.
  • Fixed: class instantiation moved to SCFS_Core to prevent menu registration being skipped when a require_once fails silently.
  • Added: admin notice when WooCommerce is not active.

1.0.3

  • Removed unused CSS classes (remnants of a previous version’s premium-locked UI) that falsely implied feature-gating in the free plugin.

1.0.2

  • Simplified free version to focus on core conditions: Cart Subtotal, Item Quantity, Category, Shipping Method, Country, and State.
  • Added Pro version upgrade information for advanced conditions (Postcode, User Role, Product, Payment Method, Date-Specific).

1.0.1

  • Plugin renamed to anhqui Custom Fee Rules for WooCommerce for WordPress.org compliance.
  • Inline script replaced with wp_add_inline_script() for proper WordPress standards compliance.
  • Improved WordPress coding standards and security hardening throughout.

1.0.0

  • Initial release.