Configuration
Admin Configuration
Go to:
- Admin Panel ->Stores -> Configuration -> MageB2B -> Product fees
Screenshot placeholder: resources/kb/productfee/_screenshots/configuration.png
General
Enable product fees
- Config path:
productfee/general/enabled
Tax
Apply tax to product fees
- Config path:
productfee/tax/apply_tax - If enabled, fees marked as taxable will be added to Magento tax calculation via "associated taxables".
- A taxable fee needs a tax class (see "Fee Types" / "Assignments").
Include product fees in subtotal
- Config path:
productfee/tax/include_in_subtotal - If enabled, fees are added into the Subtotal totals segment (after Magento tax collector runs).
- If enabled, there is no separate "Product Fees" total row in cart/checkout totals (the fees are part of subtotal).
Display
All display settings below use the same options:
- Do not display
- Display excluding tax
- Display including tax
- Display both excluding and including tax
Display in cart and checkout
- Config path:
productfee/display/cart_checkout - Controls the per-item fee breakdown (cart line item, mini summary item, etc.).
- Note: the cart/checkout totals row comes from the quote total segment
productfeeand is only shown when fees exist and "include in subtotal" is disabled.
Display on product view page
- Config path:
productfee/display/product_view - Controls the fee rows shown on the product detail page.
Display in sales documents
- Config path:
productfee/display/sales - Controls order/invoice/credit memo totals (frontend account pages, guest pages, and PDFs).
Display in emails
- Config path:
productfee/display/email - Controls fee rows in order / invoice / credit memo emails.
Hide zero fee rows from the totals section in admin
- Config path:
productfee/display/admin_totals_hide_zero_fee_rows - If enabled, admin order totals will not show the "Product fees" row when the calculated amount is
0.00.
Totals Sort Order
Magento total sort order:
- Config path:
sales/totals_sort/productfee(default:35)
ACL / Permissions
To grant access to Product Fees configuration in the Magento admin, allow:
MageB2B_Productfee::productfee_config
