How To Create WooCommerce Product Fees & Cart Fees
When you want to add product fees or a cart fees to your store there easiest, fastest, more economical way to get that done is to buy our WooCommerce Product Fees & Cart Fees plugin. The powerful plugin gives you a lot of control over fees at the product level, product category level, and cart level.
Here’s what it can do for you:
Summary of Features
Add fees for specific products.
Add fees for all products in specific categories.
Add fees per product line item in the cart, or per quantity of each product line item in the cart.
Add cart fees based on the cart subtotal.
Add all of your product fees as simple and easy to configure rules.
Override your global fee rules by editing a specific product and adjust the product’s fee settings (works with simple and variable products including individual variations).
Add a default fee that always applies or only applies when none of your rules match the cart contents.
Add flat fees or percentage-based fees.
Fees can be taxable or not, and choose which tax class applies, if any.
Supports the new Fees API added into WooCommerce 3.2 and newer
Here’s a quick look at the global plugin settings with two sample rules created:
Here’s a look at the fee settings for an individual product. Notice the fee settings listed below the price and tax settings. Adjusting these settings is how you can override the global rules if you need to:
So there you have it!
Questions? Feel free to use the contact page to send us a message. Or call the number listed at the top of this page.
Compatibility: WooCommerce 4.0 and newer
Current version: 2.6
We keep all of our software up to date with the latest versions of WooCommerce and WordPress.
If you don't see any recent changes below it's because none have become necessary!
Version 2.6 - April 16, 2024
Declare compatibility with high performance order system (HPOS)
Declare compatibility with cart/checkout blocks
WooCommerce 8.2 compatibility
PHP 8.1 compatibility
Version 2.5 - July 15, 2021
Added new setting to allow global fee rules to be applicable to specific user roles
Version 2.4.8 - July 30, 2020
Ensure that fees are calculated if a shopper opts to create an account during checkout.
Version 2.4.7 - June 8, 2020
Added product setting to disable/skip fee checking for the product
Version 2.4.6 - May 8, 2020
Update tax class selectors for global fee rules for WC 4.0+
Version 2.4.5 - September 23, 2019
If the "max" value of the global cart fee is empty assuming there's no upper limit for max
Reset "$fee" variable after processing each product fee rule, fixes issue where individual product fees might not all be added
Version 2.4.4 - September 18, 2019
Updated for WooCommerce 3.7 compatibility
Version 2.4.3 - May 30, 2018
Ensure the parent product ID is used when obtaining categories for a variable product
Version 2.4.2 - May 30, 2018
When rounding a percentage type fee, round to 4 decimal places instead of 2 so a fee like 2.95% becomes 0.0295
Version 2.4.1 - March 7, 2018
Ensure fees show up when selling subscriptions / pass cart object when adding fees
Added new setting to show fees on single product pages when the fee is set in the product itself. Note that this setting does not apply to global fees or fees assigned to individual variations of a variable product.
Version 2.4 - December 22, 2017
Added product and category settings to global cart fee rules
Version 2.3.8 - December 21, 2017
Added support for the new fees API in WC 3.2 and newer
Handle compounding fees in WC 3.2 since that is currently not possibly via a simple API call
Version 2.3.6 - December 12, 2017
Set the $product_fee_set variable to an empty array instead of setting it to false
Version 2.3.5 - June 19, 2017
Updated default fee, when used in Per Product mode, to calculate the fee based on the product price (for percentages) or per line item quantity (for flat fees)
Version 2.3.4 - February 6, 2017
Updated variation ID detection
Version 2.3.3 - August 29, 2016
Adjust fee calculations and fee compounding logic
Added support for individual per-variation fees when editing a variable product
Version 2.3.2 - September 28, 2015
Updated the percent calculate mode code for the cart subtotal fee processing
Version 2.3.1 - September 23, 2015
Added cart rules that can be set using a min and max range based on the cart subtotal
Version 2.3 - May 11, 2015
Initial public release
Version 2.0
WooCommerce 2.3 compatibility
Version 1.0
In-house development and private testing
From: 59.00 / year
Easily create rules that add fees at the product level, product category level, and cart level.
All of our plugins come with great support via email and phone.