LokiCheckout_JosephLeedyCustomFees

Other
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes

This is an add-on package to the LokiCheckout. It is allowing the JosephLeedy CustomFees module to integrate into the LokiCheckout.

Installation

Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):

composer require loki-checkout/magento2-joseph-leedy-custom-fees

Next, enable this module:

bin/magento module:enable LokiCheckout_JosephLeedyCustomFees JosephLeedy_CustomFees

How it works

The JosephLeedy CustomFees module adds a separate total segment per custom fee to the quote totals. In the Hyva Checkout, these segments are grouped into a single custom_fees segment. This module duplicates that behaviour for the Loki Checkout: a plugin upon Magento\Quote\Api\Data\TotalsInterface::getTotalSegments() groups the individual fee segments into a custom_fees segment, which is then rendered in the sidebar totals via the child block loki-checkout.sidebar.totals.custom_fees.

The display type (excluding tax, including tax or both) follows the tax/cart_display/custom_fees configuration setting of the JosephLeedy CustomFees module.

WARNING: This module has no releases yet. If you want to use it, make sure to add the version @dev to the composer command.

Support

For getting support, create an Issue under the following project URL:

https://github.com/LokiCheckout/LokiCheckout_JosephLeedyCustomFees

Composer details
Magento module name
LokiCheckout_JosephLeedyCustomFees
Composer name
loki-checkout/magento2-joseph-leedy-custom-fees
Composer version
No release yet
Default branch
master
Requirements
joseph-leedy/module-custom-fees: ^1.5
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
magento/framework: ^103.0
Releases
Changelog No changelog available

Last modified: August 7, 2026