LokiCheckout_EditCart

Other

This is an add-on package for the LokiCheckout. It adds the ability to modify cart items via simple fields in the sidebar of the checkout.

Installation

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

composer require loki-checkout/magento2-edit-cart

Next, enable this module:

bin/magento module:enable LokiCheckout_EditCart

Support

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

https://gitlab.yireo.com/loki-checkout/LokiCheckout_EditCart

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.sidebar.items.item
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Magento_Quote Magento_Store LokiCheckout_Core Loki_Components
Composer details
Magento module name
LokiCheckout_EditCart
Composer name
loki-checkout/magento2-edit-cart
Composer version
2.0.6
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-quote: ^101.0
magento/module-backend: ^102.0
magento/module-config: ^101.2
loki/magento2-css-utils: ^1.0
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
Releases
dev-main 27 August 2025
2.0.6 26 August 2025
2.0.5 21 August 2025
2.0.4 18 August 2025
2.0.3 07 August 2025
2.0.2 01 August 2025
2.0.1 30 July 2025
2.0.0 22 July 2025
Changelog

[2.0.6] - 26 August 2025

Fixed

  • 201ce23 Add GitLab CI files

[2.0.5] - 21 August 2025

Fixed

  • Add dependency with loki/magento2-css-utils
  • Fix formatting
  • Re-ordering blocks
  • Fix duplicate namespace
  • Replace LokiComponentsUtilBlockCssClass with LokiCssUtilsUtilCssClass
  • Declare used PHP namespaces
  • Document latest version of template
  • Add missing strict_types declaration

[2.0.4] - 18 August 2025

Fixed

  • Lower requirements to PHP 8.1
  • Allow toggling remove and edit button from Admin Panel

[2.0.3] - 07 August 2025

Fixed

  • Lower PHP requirement to PHP 8.2+

[2.0.2] - 01 August 2025

Fixed

  • Fix glitches
  • Divide actions.phtml into subtemplates; Add new select.phtml option (see docs)

[2.0.1] - 30 July 2025

Fixed

  • Enhance translations when adding and removing items

[2.0.0] - 22 July 2025

Fixed

  • Rename PHP namespace from Yireo_Loki* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*
  • Bump loki/magento2-components to major 2.0
  • Bump LokiCheckout_Core to 2.0.0

[1.0.0] - 24 May 2025

Fixed

  • Generate new MODULE.json with simple test count
  • Rewrite Alpine from initActions object to methods starting with init
  • Allow PHP 8.4 in CI

[0.0.8] - 25 April 2025

Fixed

  • Allow upgrading to LokiFieldComponents and LokiCheckout 1.0
  • Remove x-model because of CSP compliance
  • Allow to upgrade to LokiComponents 1.0
  • Remove CheckoutSession from context
  • Rewrite getCartRepository()->save() to getCheckoutState()->saveQuote()

[0.0.7] - 09 April 2025

Fixed

  • Give success instead of notice when updating item

[0.0.6] - 08 April 2025

Fixed

  • Housekeeping changes

[0.0.5] - 11 March 2025

Fixed

  • Accessibiity fixes
  • Add module dependencies
  • Huge refactoring to move logic into new LokiFieldComponents

[0.0.4] - 22 February 2025

Added

  • Change deps
  • Submit qty form with ENTER

Fixed

  • Submit qty form with ENTER

[0.0.3] - 18 February 2025

Fixed

  • Properly update quote after updating quote items
  • Properly update quote after removing quote items

[0.0.2] - 17 February 2025

Fixed

  • Lift deps

[0.0.1] - 21 January 2025

  • Add proper deps
  • Initial release

Last modified: September 1, 2025