How do I display all fees in one label?
The "Merge All Fees" feature lets you combine multiple extra fees under a single label during checkout.
This helps simplify the checkout view while still applying all configured fees in the background.
It's useful for stores that want a clean layout and flexible fee grouping based on business needs.
In the article
Step-by-step instructions:
1. Log in to your WordPress admin panel
Go to yourdomain.com/wp-admin
and log in with your admin credentials.
2. Go to the plugin’s settings page
Look for the settings page that you need to open.
3. Select the setting to configure
Select the option with the checkbox to check and click the save settings button.
2. Benefits
- Combine multiple fees into one for a cleaner checkout experience
- Customize the merged label to match your business context (e.g., Service Fee, Handling Charges)
- Avoid clutter from multiple fee rows on small orders
- Boost sales by applying fees smartly without overwhelming the customer
3. Example with multiple fees
4. Example with merge fee title
In screenshot 4 above, all fees are merged into a single total with the label "Fees" and displayed as one combined charge.
5. Customize all fee titles with a hook
You can customize the default "Fees" label to match your business needs by using the filter provided below.
/** Use the below filter to customize all fees label to your own title */ function wcpfc_all_fee_title_new( $fee_title ) { return "Insurance fees"; } add_filter( 'wcpfc_all_fee_title', 'wcpfc_all_fee_title_new', 10, 1 );
Add the above filter to your theme’s functions.php
file and replace "Insurance Fees" with your desired title. Once the filter is added, the merged fee label will appear with your custom title, as shown in the screenshot below.