Extra Fees for WooCommerce allows you to charge an extra fee for your orders based on Product Price, Payment Gateway, Shipping Method Used & Amount spent in the order on your WooCommerce Shop.
Installation
↑ Back to top- Download the extra-fees-for-woocommerce.zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
- Install Now and Activate the extension.
Fee Types
↑ Back to topProduct Type
↑ Back to top- A fee can be added to the product’s price.
- The product fee can be configured in 2 ways 1. A common fee for all the products 2. A separate fee for each product
- The fee can either be set as a Fixed Value/Percentage of the Product Price.
Payment Gateway Fee
↑ Back to top- A fee can be charged for choosing to make the payment with a specific payment gateway.
- The fee can be configured separately for each payment gateway.
- The fee can be configured in 3 ways, 1. Fixed Fee 2. Percentage of Cart Subtotal 3. Fixed + Percentage of Cart Subtotal
Order Total Fee
↑ Back to top- A fee can be charged if the cart subtotal is within the specified range.
- The fee can either be set as a Fixed Value/Percentage of the Cart Subtotal.
Shipping Fee
↑ Back to top-
A fee can be charged if a specific shipping method is chosen by the user to complete the purchase.
-
The fee can either be set as a Fixed Value/Percentage of the Cart Subtotal.
Setup and Configuration
↑ Back to topProduct Fee – Setup
↑ Back to top- If you wish to charge an extra fee on top of the product price, then Enable Product Fee checkbox. By default, this checkbox will be disabled.
- By default, Product Fee will not be displayed on Shop & Category Pages. You can optionally display the Product Fee by customizing the Product Fee on Shop Page & Category Page option. You can customize the Add to Cart Label in Shop Page.
- Enter the Fee Text which will be display on the product page as per your needs.
- Enter the Fee Description which will be displayed to the user. By default, the field will be left empty.
-
By default, Product Fee is applicable for all users. You can optionally restrict Product Fee to specific users/user role(s) by customizing the “Fee should apply for” option.
-
By default, tax cost will not be charged for the Product Fees. If you wish to charge tax for the Product Fee, you can do so by enabling the Tax Setup option and you can select the Tax Class in the Tax Class Option.
-
By default, the Product fee will be added for each quantity purchased. If you wish to restrict Product Fee only to the first quantity, you can do so by enabling the Quantity Restriction option. You can customize thr Fee Text which will be display on the cart page as per your needs.
-
The fee can be configured using the Fee Calculation Mode option. The fee can be setup in two ways they are, – Quick Setup -Advanced Setup
-
If Quick Setup is selected, then you can configure a common fee for all the products in your site.
-
Using Product Fee is applicable for option, you can choose the products for which the fee should be applied.
-
You can set the Fee Type as Fixed Fee/Percentage of Product Price & set the value in the respective field.
-
If Advanced Setup is selected, then you can have the ability to set the fee on each product. – For Simple Product, fee settings will be displayed in the general section. – For Variable Product, fee settings will be displayed on each variation.
Note: Fee Text & Fee Value should not be left empty.
Product Fee Bulk Update Settings- If you wish to configure product fees for multiple products at once, you can do so by configuring the Product Fee Bulk Update Settings.
- Enable the Enable Product Fee checkbox.
- By default, fee text is fetched from the Global settings. If you wish to configure fee text separately for the product, then in the Fee Text is Obtained from option, set the value as Product Level Settings.
- You can set the Fee Type as Fixed Fee/Percentage of Product Price & set the value in the respective field.
- Click on the Save and Update button.
Payment Gateway Fee – Setup
↑ Back to top-
If you wish to charge a fee from your users for choosing to pay using a specific payment gateway, then Enable Payment Gateway Fee checkbox. By default, this checkbox will be disabled.
-
A list of the enabled payment gateways from the WooCommerce Payments settings will be displayed here. Enable the Enable Fee for this Payment Gateway checkbox.
- Using Fee should apply for option, you can choose the users for which the fee should be applied.
- Using Fee for Product(s)/Categories option, you can choose the products/categories for which the fee should be applied.
- Using the Date Ranges option, you can choose the duration within which the rule should be applied.
- Enter the Fee Text which will display on checkout. By default, the field will be left empty.
- You can choose the tax class for the gateway fee using the Tax Class option.
- Select a Fee Type and set a value. The following fee types are supported, i Fixed Fee – A fixed fee will be charged ii Percentage of Cart Subtotal – A percentage of the cart subtotal will be charged iii Fixed + Percentage of Cart Subtotal – A fixed fee + A percentage of the cart subtotal will be charged.
- Select the Fee Type as Fixed Fee/Percentage of Cart Subtotal & set the value in the respective field.
- Also, you can set when to add the gateway fee using Minimum & Maximum Cart Subtotal to add fee option.
Order Fee – Setup
↑ Back to top-
If you wish to add the extra fee based on the amount spent in the order, then Enable Enable Order Fee checkbox. By default, this checkbox will be disabled.
- Enter the Fee Text which will display on the frontend as per your needs. By default, the field will be left empty.
- You can choose the tax class for the gateway fee using the Tax Class option.
- You can optionally exclude certain shipping methods from being charged a Order fee in the Exclude Shipping Method(s) option.
- Select the Fee Type as Fixed Fee/Percentage of Cart Subtotal & set the value in the respective field.
-
By Default, Order Fee is applicable for all users. If you wish to restrict the Order Fee to specific users/user roles, you can do so by customzing the Fee should apply for option.
-
By Default, Order Fee is applicable for all products. If you wish to restrict the Order Fee to specific products/categories, you can do so by customzing the Product/Category Filter option.
-
By Default, payment gateway fee is decided based on a single Minimum and Maximum Cart value. If you wish to setup a rule based Minimum and Maximum Cart Values, you can do so by customizing the Fee Configuration Based on option.
-
Select a Fee Type and set a value. The following fee types are supported, i Fixed Fee – A fixed fee will be charged ii Percentage of Cart Subtotal – A percentage of the cart subtotal will be charged iii Percentage of Order Total – A percentage of the order total will be charged
-
You need to set when to add the gateway fee using Minimum & Maximum Cart Subtotal to add fee option. Users who purchase within this specified range only will be charged an Order Fee.
Shipping Fee – Setup
↑ Back to top- If you wish to charge a fee from your users for choosing a specific shipping method, then Enable Shipping Fee checkbox. By default, this checkbox will be disabled.
- A list of the enabled payment gateways from the WooCommerce Shipping Methods settings will be displayed here.
- A list of the enabled shipping methods from the WooCommerce Shipping Methods settings will be displayed here. Enable the Enable Fee for this Shipping Method checkbox.
- Enter the Fee Text which will display on checkout. By default, the field will be left empty.
- Using Fee should apply for option, you can choose the users for which the fee should be applied.
- Using the Fee for Product(s)/Categories option, you can choose the products/categories for which the fee should be applied.
- Using the Date Ranges option, you can choose the duration within which the rule should be applied.
- You can choose the tax class for the gateway fee using the Tax Class option.
- Select a Fee Type and set a value. The following fee types are supported, i Fixed Fee – A fixed fee will be charged ii Percentage of Cart Subtotal – A percentage of the cart subtotal will be charged iii Fixed + Percentage of Cart Subtotal – A fixed fee + A percentage of the cart subtotal will be charged.
- Select the Fee Type as Fixed Fee/Percentage of Cart Subtotal & set the value in the respective field.
- Also, you can set when to add the gateway fee using Minimum & Maximum Cart Subtotal to add fee option.
Note: Fee Text & Fee Value should not be left empty.
How Extra Fees for WooCommerce Plugin Works?
↑ Back to topProduct Fee – Usage
↑ Back to top- The users cannot see the product fee information on the shop page.
- On the shop page, they can see the View Final Price button instead of Add to Cart button using which they can navigate to the product page and see the product price, extra fee & total payable price.
Payment Gateway Fee – Usage
↑ Back to topOrder Fee – Usage
↑ Back to topShipping Fee – Usage
↑ Back to topThe user has to select the shipping method in order for the shipping fee to be visible in the checkout page.
Translation
↑ Back to top- Download and install Poedit
- Open the file extra-fees-for-woocommerce -> languages folder -> extra-fees-for-woocommerce.pot using Poedit.
- Create a new translation file by clicking Create new translation button
- Choose the Source text and set its corresponding French text in Translation Text Area.
- Save the changes.
- Save the file name as extra-fees-for-woocommerce-fr_FR.po.
- If you are using WordPress Version 3.9.13 or below, then in wp-config.php define the WPLANG as French. Syntax is define(‘WPLANG’, ‘fr_FR’);
- If you are using WordPress Version 4.0 or above, then go to WordPress dashboard -> Settings -> General and select the Site Language as French.