Search by

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

loki-extensions

Example of adding a column to the loki_quote_address_extended table and showing it in checkout, emails and backend

Package info

github.com/LokiExtensions/Loki_QuoteAddressExtendedExample

Language:HTML

Type:magento2-module

pkg:composer/loki-checkout/magento2-quote-address-extended-example

Fund package maintenance!

yireo

www.paypal.me/yireo

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2026-11-06 10:12 UTC

This package is not auto-updated.

Last update: 2026-11-06 16:32:27 UTC


README

Magento version PHP version License Latest Version

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

Static Tests Unit Tests Integration Tests Playwright DI Compilation