Add extra fees based on user-specific and user-role-specific
The WooCommerce Extra Fees Plugin allows you to add conditional extra charges based on specific users or user roles. This feature is helpful when you want to apply different fees for guests, registered users, wholesalers, or even selected individuals.
It enhances personalization and allows store owners to set targeted rules to improve revenue and control costs.
In the Article
How it works
- You can define additional fees that only apply to particular user roles (e.g., customer, guest, shop manager, wholesale) or specific users (based on email or username).
- When a user with matching criteria adds products to their cart and proceeds to checkout, the defined extra fee will automatically be applied.
- These rules can be combined with other conditions like country, cart total, or product type.
Steps to create user-based or role-based extra fees
Step 1: Add a New Fee
Step 2: Configure the settings
- Click on the "Add Fee" button.
- Set a Title (e.g., "Registration fee").
- Enter the Fee Amount (fixed or percentage).
Step 3: Configure the rules
Here, you can configure the rules based on the business needs. Either you can configure based on the users or user roles.
Step 4: Save the settings
Once all the settings are configured properly, click the Save Fee button in the bottom left corner to save all the settings.
Example 1: Apply a handling fee for guest users
Fee name: Guest handling fee
Fee: $5
Condition: if the user role is guest
Example 2: Extra fee for wholesale users
Fee name: Wholesale transport fee
Fee: $21
Condition: if the user role is wholesale