mageprince/magento2-extrafee

Magento 2 Add Extra Fee To Order

3.0.0 2025-05-24 14:01 UTC

This package is auto-updated.

Last update: 2025-05-24 14:03:18 UTC


README

The Extra Fee extension enables store admins to add additional charge to customer order. It allows the creation of unlimited rules based on flexible conditions, ensuring that extra fee are applied only when specific criteria are met.

⚠️ Note: This extension supports only a single extra fee. If you need to apply multiple extra fees based on flexible rules and conditions, check out the Mageprince Extra Fee Pro extension.

✅ Compatibility

Magento Open Source: 2.3.x - 2.4.x
Adobe Commerce (on-prem): 2.3.x - 2.4.x
Adobe Commerce (cloud): 2.3.x - 2.4.x

✨ Key Features

  • Enable or disable the extension from admin configuration
  • Apply extra fees based on specific store views and customer groups
  • Option to enable or disable refunds for extra fees
  • Apply extra fees during admin order creation
  • Fully supports multi-currency and multi-store environments
  • Supports tax calculation on extra fees with configurable tax class selection
  • Choose how to display extra fees: Inclusive, Exclusive, or Both tax formats
  • Define sort order for displaying multiple extra fees
  • Create flexible conditions using cart and product attributes
  • Assign extra fees to specific shipping methods
  • Define rules based on postcode, region, state, or country
  • Apply fees to specific products, categories, or product attributes
  • Display extra fees in order summaries, invoices, credit memos, sales emails, and PDFs

🚀 Installation Instructions

1. Install via composer (Recommended)

Run the following Magento CLI commands:

composer require mageprince/magento2-extrafee
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

2. Manual Installation

Copy the content of the repo to the Magento 2 app/code/Mageprince/Extrafee

Run the following Magento CLI commands:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

🤝 Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub.

🛠 Support

If you encounter any problems or bugs, please open an issue on GitHub.

📸 Screenshots

1_checkout 2_configuration_general 3_configuration_fee 4_configuration_tax 5_menu 6_conditions 7_condition_cart_attribute 8_condition_product_attributes 9_condition_product 10_condition_category