Loki_QuoteAddressExtendedExample

Other
Professional
Standard
Trial
Development
PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
PHPStan 1
Magento PHPCS 10
License OSL-3.0
Latest Release none

Installation

Install this package via composer:

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

Next, enable this module:

bin/magento module:enable Loki_QuoteAddressExtendedExample

Usage

Example module for Loki_QuoteAddressExtended. It adds a column example_address_field to the table loki_quote_address_extended and shows it:

  • as an optional field in the Loki Checkout, below the customer gender; the value is stored with the shipping address (or the billing address for virtual quotes), using the block argument address_type set to auto;
  • 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.

Note that Loki_QuoteExtendedExample overrides the same 4 email templates. When both example modules are enabled, only one of the overrides is used.

Current status

Magento 2 Unit Tests success
Magento 2 Static Tests success
Magento 2 Integration Tests success
Playwright test success
Magento 2 DI compilation success
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/LokiExtensions/Loki_QuoteAddressExtendedExample

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.customer.example_address_field
Composer details
Magento module name
Loki_QuoteAddressExtendedExample
Composer name
loki-checkout/magento2-quote-address-extended-example
Composer version
No release yet
Default branch
main
Requirements
loki-checkout/magento2-core: ^2.3
loki-checkout/magento2-quote-address-extended: *
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