Magento 2 ExtensionProduct Fees
Manage Magento 2 product fees with item-based calculation, product and website assignments, flexible storefront display, and accurate totals for invoices and credit memos.
The Magento 2 Product Fees extension adds structured surcharges directly to products, such as service, handling, packaging, or environmental fees. Fee logic stays transparent and traceable throughout the full purchase flow.
Item-based fee logic: The core module calculates surcharges per line item and carries them consistently into totals. This keeps price components traceable across multiple fee types.
Product and website assignments: Assign fees per product and per website to reflect different assortments, markets, or pricing models without checkout workarounds.
Flexible calculation and tax logic: Fees support fixed amounts and percentage values based on product price. You can also control taxability and tax class per fee for clean totals.
Display control by sales channel: Configure fee display independently for product page, cart, checkout, sales documents, and emails as excl. tax, incl. tax, both, or hidden.
Accurate totals for invoices and refunds: Fees are stored per item and distributed proportionally in totals for partial invoices and partial refunds. This reduces manual corrections and keeps overall amounts consistent.
Clear visibility for teams and customers: Fee values stay aligned across orders, invoices, credit memos, print views, and customer account pages, improving support and accounting workflows.
Item-based fee logic
The core module calculates fees per item and carries them consistently into the relevant totals.
Product and website fee assignment
Assign fees by product and website to model market-specific pricing scenarios cleanly.
Fixed and percentage-based fees
Calculate surcharges as fixed amounts or as percentages of product price.
Tax control per fee type
Configure taxability and tax class per fee type and keep tax totals accurate across documents.
Display modes per channel
Control fee display separately for product page, cart, checkout, sales documents, and emails.
Cross-stage totals consistency
Keep fee values and totals consistent from product page and cart through order, invoice, and credit memo.
Proportional totals for partial documents
For partial invoices and partial credit memos, fee and fee-tax totals are distributed proportionally and calculated automatically.
- Current Version1.1.2
- Compatible with Magento 2.4+
- Compatible with PHP 8.2+
If your environment differs from the listed requirements, we can check compatibility in advance. Please contact us via our contact form.
Version 1.1.2 - 2026-02-17
- Fixed Magento compatibility issue in quote total collector
Version 1.1.1 - 2026-02-05
- Added missing display methods for email and print item fees
- Cart and checkout totals now respect display mode and include child item fees
Version 1.1.0 - 2025-12-20
- Full refactoring of how the fees are stored and calculated
Version 1.0.9 - 2025-08-08
- Added PHP 8.4 compatibility
Version 1.0.8 - 2025-07-16
- Fixed race condition when quoteId is not available on credit memo or invoice
Version 1.0.7 - 2025-07-05
- Fixed an issue when quoteId isn't available
Version 1.0.6 - 2025-04-23
- Removed Iways PayPalPlus Support (Magento 2 Direct PayPal Integration is supported)
Version 1.0.5 - 2024-07-22
- Updated README.md
- php Docs
Version 1.0.4 - 2022-12-13
- Fixed translation issues
Version 1.0.3 - 2022-11-21
- Fixed issue that fee was not displayed in admin area and email, fixed another issue on credit memo creation
Version 1.0.2 - 2022-11-19
- Remove obsolete common helper class, phpDocs
Version 1.0.1 - 2022-08-03
- Fixed issue when unserialize contains null
Version 1.0.0 - 2021-11-08
- Initial version
Stores with product-level surcharges move fee handling into a clean standard process and reduce manual exceptions in day-to-day operations.
New fee values are maintained per product and website, so additional price components flow into calculation in a controlled and traceable way.
Website-level assignments separate fee models by region or storefront structure and avoid mixing different pricing rules.
Fees can be configured as fixed values or percentages of product price, enabling both simple and dynamic surcharge models.
Display mode is configured per area, so customers get the right level of transparency without overloading the price presentation.
Early fee visibility sets clear price expectations before checkout and reduces clarification requests later in the buying process.
Taxability and tax class are applied per fee, keeping tax amounts consistent across order, invoice, and credit memo documents.
Subtotal integration is configurable, allowing your pricing presentation to match internal rules and customer expectations.
Fees are distributed automatically by invoiced quantity in totals, so partial invoices remain correct without manual adjustments.
Fee and fee tax amounts are refunded proportionally to refunded quantity in totals, which keeps credit memo amounts accurate and auditable.
Fee values are stored per item at transaction time, preserving document accuracy for support and accounting follow-up.
Fee data is included in order, invoice, and credit memo emails and print views to keep customer communication aligned.
Zero-value fee rows can be hidden, helping service and backoffice teams focus on relevant fee information.
Fee calculation is item-based and remains consistent in totals and documents even with multi-part item structures.
The extension fits both B2B and B2C stores whenever product-based surcharges must stay transparent and operationally reliable.
The license is valid for one Magento installation, including multi-website operation. In addition, the module may be installed on any number of development or staging servers. You can find further details in our license terms.
Installation and configuration are not included in the price. On request, we can support you with a smooth integration into your system.
You can pay by credit card (Stripe) or bank transfer (prepayment). For credit card payments, the order is processed immediately and the access credentials are provided directly in a separate follow-up email.
After credit card payment, you immediately receive access credentials to obtain the module via Composer. For bank transfer, access is granted once the invoice is paid.
Custom requests are no problem. We tailor our Magento 2 modules to your project and maintain a dedicated internal version so we always know exactly what runs on your system for support.
On each module detail page, you can request your own demo instance and test the module intensively for 7 days. However, we do not provide a local demo version.
No, the source code of our modules is not encrypted. If you need a customization, feel free to send us a request. We will get back to you promptly with a non-binding quote.
You can add a support package to your order. It includes assistance as well as updates and upgrades related to the module. No continuous subscription is required.
You can reach us anytime via eMail.
Product Fees
×Ideal for these industries & use cases
Environmental Compliance
Add recycling and environmental fees to products to comply with regulations like WEEE (Waste Electrical and Electronic Equipment) or packaging laws. Create fee_recycling and fee_environmental attributes, set amounts per product, and display fees transparently to customers. Fees are automatically included in invoices and credit memos for accurate accounting and regulatory reporting.
Handling Charges
Charge handling fees for fragile, oversized, or special-care items. Create a fee_handling attribute and set amounts based on product characteristics. Use the "Individual Fee Rows" display mode to show customers exactly what they're paying for. Handling fees are automatically included in all documents and proportionally calculated for partial shipments or returns.
Service Fees
Add service charges for installation, setup, or configuration services included with products. Create fee_service or fee_installation attributes and set amounts based on service complexity. Fees can be fixed amounts or percentages of the product price. Service fees are taxable following the product tax class and appear on all sales documents for clear customer communication.
Partial Invoicing
Handle orders shipped in multiple batches with automatic proportional fee calculation. When you invoice 1 out of 2 items, fees are automatically reduced by 50%. The JSON snapshot system preserves original fee data while observers calculate proportional amounts for each invoice. Supports complex scenarios like multiple partial invoices with accurate fee allocation across all documents.
Transparent Pricing
Show detailed fee breakdown to customers using the "Individual Fee Rows" display mode. Each fee type appears as a separate line item in the cart and checkout, clearly labeled (Handling Fee, Service Fee, etc.). Customers see exactly what they're paying for, building trust and reducing support inquiries. Fees are also detailed on order confirmations and invoices for complete transparency.
B2B Fee Management
Configure different fees for different product categories or customer segments. Create multiple fee attributes (fee_handling, fee_packaging, fee_service) and apply them selectively to attribute sets. Use percentage-based fees for value-added services. Fees integrate with Magento's B2B features including customer groups, shared catalogs, and negotiable quotes, providing flexible fee management for complex B2B scenarios.
Try it without risk
Request a personal demo instance and evaluate the module directly in backend and frontend under real conditions — without local installation.
For developers
Practical Magento 2 guides, technical developer documentation, and API references (REST, SOAP, GraphQL) for installation, configuration, and troubleshooting.
Go to Knowledge Base