LokiCheckout_IndianGst
Other
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
PHPStan
1
Magento PHPCS
10
Adds an optional GST Number field to billing and shipping addresses in the Loki Checkout.
Features
- Optional
gst_numberfield on both billing and shipping address forms - Shown only when the shipping country is India (
IN) - Server-side and client-side validation of GSTIN format (
22AAAAA0000A1Z5) - Copied to
sales_order_addresson order placement - Saved to customer address EAV when "save in address book" is checked
- Prefilled from saved customer address on return visits
- Displayed as
GST: <number>in order emails, invoice emails, and admin order view - Editable in the admin order address edit form
Installation
composer require loki-checkout/magento2-indian-gst bin/magento module:enable LokiCheckout_IndianGst bin/magento setup:upgrade bin/magento cache:flush
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/LokiCheckout_IndianGst.git
Composer details
Magento module name
LokiCheckout_IndianGstComposer name
loki-checkout/magento2-indian-gstComposer version
No release yet
Default branch
main
Requirements
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
loki/magento2-field-components: ^2.0
magento/framework: ^103.0
magento/module-customer: ^103.0
magento/module-eav: ^102.1
magento/module-quote: ^101.0
magento/module-sales: ^103.0
magento/module-store: ^101.1
php: >=8.2 <8.6
Releases
Changelog
Added
- Optional
gst_numberaddress field for billing and shipping addresses - GSTIN format validation (server-side
IndianGstNumberValidator+ client-sideLokiComponentValidator.validators.indianGstNumber) - Country-specific display via
loki_checkout_country_in.xml(India only) - Database column on
quote_addressandsales_order_address - Customer address EAV attribute with data patch
- Fieldset entries for quote-to-order, customer-to-quote, and save-in-address-book copy
- Address format observer (
customer_address_format) for email/order/admin display - Sidebar preview blocks showing GST number in checkout summary
- Admin order address edit form support via EAV
used_in_forms
Last modified: September 8, 2026