mediarox / module-compatibility-amasty-checkout-magento-persistent
Compatibility module for the modules magento/module-persistent & amasty/module-single-step-checkout.
Installs: 214
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:magento2-module
Requires
- amasty/module-one-step-checkout-core: ^1.2.8
- magento/module-persistent: 100.4.*
README
Compatibility module for
- amasty/module-one-step-checkout-core (old: amasty/module-single-step-checkout)
- magento/module-persistent
Corrected behaviors
-
Initial check if the email address loaded from browser storage already exists in the system
In the standard of Amasty/Magento the following distinction is made in the checkout:
- A: New customer. He might need a new account.
- B: Old customer. He could possibly log in.
These distinctions result in different layouts. For example, in case B, no "Confirm password" field is displayed. If you now decide to turn on persistence within Magento, it is much more likely that the email address is already in the browser's memory. Since Amasty does not directly check if this email address already exists in Magento when initially building the email form, the layout (A or B) may be incorrect, which can cause the customer to be prevented from logging in. So we extend the associated component (Amasty_CheckoutCore/js/view/form/element/email) and its "initialize" method with a mixin and add the check.
Installation
composer require mediarox/module-compatibility-amasty-checkout-magento-persistent bin/magento setup:upgrade
Notice
Further suggestions, corrections or features (pull requests or issues) are welcome.