Yireo_LokiCheckoutAccountType

This is an add-on package for adding a new field Account Type to the Loki Checkout, allowing a customer to register as either on Individual account or a Company account. When the account type is set to Individual, the company field and the VAT ID field are not rendered.

Current status: Stable

Installation

Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):

composer require yireo/magento2-loki-checkout-account-type

Next, enable this module:

bin/magento module:enable Yireo_LokiCheckoutAccountType

Architecture

This module adds a new Loki Component account_type to both the billing and the shipping address. This includes both a ComponentViewModel and a ComponentRepository. To allow for the company field and the VAT ID field not to be rendered, DI plugins are made for the corresponding ComponentViewModels.

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/Yireo_LokiCheckoutAccountType

Todo

Module
Module Setup
Intended functionality

Versions

dev-main 27 February 2025
0.0.3 22 February 2025
0.0.2 21 February 2025
0.0.1 21 January 2025

Composer details

Magento module name Yireo_LokiCheckoutAccountType
Composer name yireo/magento2-loki-checkout-account-type
Composer version 0.0.3
Default branch main
Requirements magento/framework: ^103.0
magento/module-checkout: ^100.4
magento/module-customer: ^103.0
magento/module-quote: ^101.0
yireo/magento2-loki-field-components: ~0.0
yireo/magento2-loki-components: ~0.0
yireo/magento2-loki-checkout: ~0.0

Changelog

[0.0.3] - 22 February 2025

Fixed

  • Update loki_checkout.xml grid CSS for mobile

[0.0.2] - 21 February 2025

  • Version bump

[0.0.1] - 21 January 2025

  • Add proper deps
  • Initial release

Last modified: January 26, 2025