Loki_QuoteExtended
Other
Professional
Standard
Trial
PHP
8.2 - 8.5
Magento
2.4.6 - 2.4.9
CSP
Yes
Unit Tests
53
Integration Tests
40
PHPStan
1
Magento PHPCS
6
License
OSL-3.0
Latest Release
0.0.2
Installation
Install this package via composer:
composer require loki-checkout/magento2-quote-extended
Next, enable this module:
bin/magento module:enable Loki_QuoteExtended
Usage
This module adds a table loki_quote_extended with one row per quote. When the order is placed, the row is linked to the order (order_id).
To store a custom value:
- Add a column to
loki_quote_extendedvia your ownetc/db_schema.xml(plusdb_schema_whitelist.json). - Add a field block to the Loki Checkout whose name ends with the column name (e.g.
loki-checkout.customer.example_field), using the templateLoki_FieldComponents::form/field.phtml. - Register the block in your
etc/loki_components.xmlwith the groupquoteExtendedFields.
To display the value:
- Frontend (current quote):
Loki\QuoteExtended\ViewModel\CheckoutQuoteExtendedView::getValue('example_field') - Admin order and invoice pages:
Loki\QuoteExtended\ViewModel\Adminhtml\OrderQuoteExtendedView::getValue('example_field') - Order and invoice emails:
{{var loki_quote_extended.example_field}}
See Loki_QuoteExtendedExample for a complete example.
Current status
Magento 2 Integration Tests
failure
Magento 2 Unit Tests
success
Magento 2 DI compilation
success
Playwright test
failure
Magento 2 Static Tests
success
Support
For getting support, create an Issue under the following project URL:
https://github.com/LokiExtensions/Loki_QuoteExtended
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
Magento_AdminNotification
Magento_Backend
Magento_Catalog
Magento_CatalogInventory
Magento_Checkout
Magento_CheckoutAgreements
Magento_Cms
Magento_Config
Magento_Cron
Magento_Csp
Magento_Customer
Magento_Directory
Magento_Eav
Magento_Indexer
Magento_Newsletter
Magento_Payment
Magento_Quote
Magento_Rule
Magento_Sales
Magento_SalesRule
Magento_SalesSequence
Magento_Shipping
Magento_Store
Magento_Tax
Magento_Theme
Magento_Ui
Magento_User
Magento_Variable
Magento_Vault
Magento_Widget
Yireo_CspUtilities
Composer details
Magento module name
Loki_QuoteExtendedComposer name
loki-checkout/magento2-quote-extendedComposer version
No release yet
Default branch
main
Requirements
loki-checkout/magento2-core: ^2.3
loki/magento2-components: ^2.2
loki/magento2-field-components: ^2.2
magento/framework: ^103.0
magento/module-cron: ^100.4
magento/module-quote: ^101.2
magento/module-sales: ^103.0
magento/module-store: ^101.1
php: >=8.2 <8.6
psr/log: ^1.0 | ^2.0 | ^3.0
Releases
| 0.0.2 | 06 November 2026 |
Changelog
[0.0.2] - 29 October 2026
Fixed
- Declare
Magento_Storeand phpunit dependencies
[0.0.1] - 22 September 2026
- Initial release
Last modified: October 1, 2026