LokiCheckout_AdvancedEmailField

Jump to User Docs

Professional
Standard
PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
Unit Tests 17
Integration Tests 10
PHPStan 5
Magento PHPCS 7
License OSL-3.0
Latest Release 1.0.2

The README.md file content is generated automatically, see Magento module README.md for more information.

LokiCheckout_AdvancedEmailField module

A Magento 2 module for the Loki Checkout that changes the behaviour of the default email field: When a guest enters an existing customer email, he/she is prompted to login.

Installation details

For information about a module installation in Magento 2, see Enable or disable modules.

Usage

Before the functionality of this module takes effect, make sure to enable the following settings:

  • Sales > Checkout > Checkout Options > Allow Guest Checkout (checkout/options/guest_checkout = 1)
  • Sales > Checkout > Checkout Options > Enable Guest Checkout Login (checkout/options/enable_guest_checkout_login = 1)

When Google reCAPTCHA is enabled for the customer login form (recaptcha_frontend/type_for/customer_login), the login via the email field requires the reCAPTCHA as well. The invisible reCAPTCHA types (v2 invisible and v3) work out of the box. The v2 checkbox is only shown in the login modal of the checkout, so with this type the customer needs to solve it there first.

Current status

pipeline success

Support

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

https://gitlab.yireo.com/loki-checkout/LokiCheckout_AdvancedEmailField.git

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.customer.customer_email
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 Magento_AdminNotification Magento_Backend Magento_Catalog Magento_CatalogInventory Magento_Checkout Magento_CheckoutAgreements Magento_Cms Magento_Config Magento_Csp Magento_Customer Magento_Directory Magento_Eav Magento_Indexer Magento_MediaGalleryUiApi 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
LokiCheckout_AdvancedEmailField
Composer name
loki-checkout/magento2-advanced-email-field
Composer version
1.0.2
Default branch
main
Requirements
loki-checkout/magento2-core: ^2.7
loki/magento2-components: ^2.10
loki/magento2-css-utils: ^1.0
magento/framework: ^103.0
magento/module-customer: ^103.0
magento/module-store: ^101.1
php: >=8.2 <8.6
Releases
1.0.2 11 November 2026
1.0.1 11 November 2026
1.0.0 11 November 2026
Changelog

[1.0.2] - 03 November 2026

Fixed

  • Require Loki_Components 2.10 for unfiltered_properties support
  • Require LokiCheckout_Core 2.7 and add dev requirements
  • Validate the email address again
  • Read checkout options from the store scope
  • Add dedicated Alpine component for the login form
  • Keep original template and survive failing email lookups
  • Enforce reCAPTCHA and login checks for the email field login
  • Add trim() its second argument for PHP 8.6 compatibility

[1.0.1] - 19 June 2026

Fixed

  • Double-check for checkout/options/enable_guest_checkout_login

[1.0.0] - 08 April 2026

  • Initial release

Fixed

  • Finish off working login behaviour
  • Switch template between login form and new email field
Jump to User Docs

Last modified: June 1, 2026