LokiCheckout_EditCart
Checkout
Other
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
PHPStan
6
Magento PHPCS
6
Latest Release
2.0.16
This Magento 2 module 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:
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.git
Configuration Options
The following options of this module can be configured via the Store Configuration:
Edit Cart > Show Update Button
loki_checkout/edit_cart/show_update_button
Edit Cart > Show Removal Button
loki_checkout/edit_cart/show_remove_button
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:
LokiCheckout_Core
Loki_Base
Loki_Components
Loki_CssUtils
Loki_FieldComponents
Loki_MapComponents
Magento_Backend
Magento_Catalog
Magento_Checkout
Magento_CheckoutAgreements
Magento_Config
Magento_Customer
Magento_Directory
Magento_Eav
Magento_Newsletter
Magento_Payment
Magento_Quote
Magento_Sales
Magento_SalesRule
Magento_Shipping
Magento_Store
Magento_Tax
Magento_Theme
Magento_Vault
Yireo_CspUtilities
Composer details
Magento module name
LokiCheckout_EditCartComposer name
loki-checkout/magento2-edit-cartComposer version
2.0.16
Default branch
main
Requirements
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
magento/framework: ^103.0
magento/module-backend: ^102.0
magento/module-config: ^101.2
magento/module-quote: ^101.0
Releases
| 2.0.16 | 12 June 2026 |
| 2.0.15 | 12 June 2026 |
| 2.0.14 | 12 June 2026 |
| 2.0.13 | 12 June 2026 |
| 2.0.12 | 12 June 2026 |
| 2.0.11 | 12 June 2026 |
| 2.0.10 | 12 June 2026 |
| 2.0.9 | 12 June 2026 |
| 2.0.8 | 12 June 2026 |
| 2.0.7 | 12 June 2026 |
| 2.0.6 | 12 June 2026 |
| 2.0.5 | 12 June 2026 |
| 2.0.4 | 12 June 2026 |
| 2.0.3 | 12 June 2026 |
| 2.0.2 | 12 June 2026 |
| 2.0.1 | 12 June 2026 |
| 2.0.0 | 12 June 2026 |
| 1.0.0 | 12 June 2026 |
| 0.0.8 | 12 June 2026 |
| 0.0.7 | 12 June 2026 |
Changelog
[2.0.16] - 01 June 2026
Fixed
- Add inputmode to input fields
[2.0.15] - 22 April 2026
Fixed
- Add message to RedirectException
[2.0.14] - 12 March 2026
Fixed
- Allow for more translations
[2.0.13] - 02 March 2026
Fixed
- Redirect back to cart if qty not allowed
- Add PHPDoc
- Copy generic CI/CD files
- Copy generic CI/CD files
[2.0.12] - 12 December 2025
Fixed
- Make button title translatable
[2.0.11] - 14 November 2025
Fixed
- Fix old quote being stuck, after updating quote items
- Cleanup cart item updates by using CartItemRepository
- Give exception when task is unknown
- Explictly use CartRepository::save() because CheckoutState::saveQuote() might change
- Update composer keywords
- Update composer keywords
- Update composer keywords
[2.0.10] - 22 October 2025
Fixed
- Do not escape
$css()withescapeHtmlAttr()butescapeHtml() - Update README
[2.0.9] - 24 September 2025
Fixed
- Fix unique input ID
- Show loader when changing cart items
- Enhance button behaviour when updating
- Simplify HTML and CSS
- Fix block rendering of static blocks
- Add
.preventmodifier to@clickevent handler - Rename loki-components container to loki.components
[2.0.8] - 16 September 2025
Fixed
- Add PHPCS and PHPStan levels to MODULE.json
- Add PHPStan level reached
[2.0.7] - 02 September 2025
Fixed
- Add CI files
- Replace yireo/opensearch with yireo/opensearch-dummy in Gitlab CI
[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*toLoki* - Rename composer package from
yireo/magento2-loki*toloki/magento2* - Bump loki/magento2-components to major 2.0
- Bump
LokiCheckout_Coreto 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()togetCheckoutState()->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: June 1, 2026