lopezpaul / module-customer-registration
Modifies customer registration flow removing whitespaces from firstname, log basic customer data on custom log and send email to customer support.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~8.1.0||~8.2.0
- magento/framework: >=103.0.6
README
Summary
This module modifies customer registration flow. Once a new customer is being registered, the extension checks the First Name field. If the First Name field has whitespaces, they must be removed, so the customer entity is saved without whitespaces in the First Name property. Once the customer has been successfully registered, the extension invoke these actions:
- Log customer data (current date and time, customer first name, customer last name, customer email) to separate log file name lopezpaul.log in the var/log directory.
- Send an email with the customer data (customer first name, customer last name, customer email) to the Customer Support email address configured in Magento
Requirements
- PHP ~8.1.0||~8.2.0
- Magento 2.4.6 CE
Dependencies
- Magento_Customer
- Magento_Email
Installation
composer require lopezpaul/module-customer-registration
bin/magento module:enable LopezPaul_CustomerRegistration
bin/magento setup:upgrade