viraxpress / extrafee
ViraXpress Extra Fee Module for Magento 2
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0
README
Description
The ViraXpress Extra Fee module is a powerful Magento 2 extension that allows store owners to create and apply custom additional fees on cart and checkout pages. Fees can be fixed amounts or percentage-based, mandatory or optional, and can be configured using product/cart conditions, store views, and customer groups.
Features
- Admin Fee Management: Create and manage unlimited extra fee rules.
- Multiple Fee Types: Support for fixed amount and percentage-based fees.
- Mandatory or Optional Fees: Force required fees or allow customers to choose optional fees.
- Dropdown / Checkbox Display Types: Show fee options as dropdown or checkbox selections.
- Cart / Checkout Integration: Display and calculate fees directly in cart totals.
- Conditional Rules: Apply fees only when selected product/cart conditions are met.
- Store View Restrictions: Assign fees to specific stores or websites.
- Customer Group Restrictions: Show fees only for selected customer groups.
- Sort Order Management: Control display order of fees.
- Auto Apply Option: Automatically apply single fee option when only one choice exists.
- Tax / Shipping / Discount Controls:
- Calculate fees after discount
- Calculate fees after tax
- Calculate fees after shipping
- Frontend Summary Display: Fee values shown clearly in order summary.
- Order Integration: Fees saved in order, invoice, and credit memo totals.
- Responsive UI: Clean frontend selection experience.
Compatibility
- Magento 2.4.x
Installation
-
Install the extension via Composer:
composer require viraxpress/extrafee
-
Run the following commands from your Magento root directory:
php bin/magento module:enable ViraXpress_ExtraFee php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
Usage
Admin Panel
Configuration — Stores > Configuration > Extra Fee > Configuration
- Enable/disable the module
- Calculate fees after discount
- Calculate fees after tax
- Calculate fees after shipping
- Auto apply on single option
Manage Extra Fees — Stores > Extra Fees > Manage Extra Fee
- Create new fee rules
- Edit or delete existing fees
- Configure multiple fee options
- Set required / optional fees
- Choose display type (Dropdown / Checkbox)
- Add descriptions and sort order
- Each fee rule supports multiple pricing options:
- Title
- Price
- Type (Fixed Amount / Percentage)
- Default selection
- Sort rows
- Assign fees based on customer group and store views
- Use Magento rule conditions to apply fee
Frontend
- Customers can view additional fee options in cart summary.
- Optional fees can be selected by customer.
- Mandatory fees are automatically required.
- Fees are dynamically added to totals.
- Works smoothly with checkout flow.
Support
For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.
License
This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.