Loki_QuoteExtendedExample

Other
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Integration Tests 4
PHPStan 1
Magento PHPCS 10

Magento version PHP version License Latest Version

Installation

Install this package via composer:

composer require loki-checkout/magento2-quote-extended-example

Next, enable this module:

bin/magento module:enable Loki_QuoteExtendedExample

Usage

Example module for Loki_QuoteExtended. It adds a column example_field to the table loki_quote_extended and shows it:

  • as an optional field in the Loki Checkout, below the customer gender;
  • in the checkout sidebar (when filled in);
  • in the order email and the invoice email (this module overrides the 4 core templates sales_email_order_template, sales_email_order_guest_template, sales_email_invoice_template and sales_email_invoice_guest_template; these are copies of the Magento 2.4.9 templates, so they need to be kept in sync on upgrades and they replace any theme overrides of these templates);
  • on the admin order page and the admin invoice page.

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation

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://gitlab.yireo.com/loki-checkout/Loki_QuoteExtendedExample.git

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.customer.example_field
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 Loki_QuoteExtended 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_Email Magento_Indexer Magento_MediaStorage 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_QuoteExtendedExample
Composer name
loki-checkout/magento2-quote-extended-example
Composer version
No release yet
Default branch
main
Requirements
loki-checkout/magento2-core: ^2.3
loki-checkout/magento2-quote-extended: ~0.0
loki/magento2-field-components: ^2.2
magento/framework: ^103.0
magento/module-email: ^101.1
magento/module-sales: ^103.0
php: >=8.2 <8.6
Releases
Changelog

Last modified: October 1, 2026