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.

1.0.2 2023-04-23 00:00 UTC

This package is auto-updated.

Last update: 2025-05-09 07:13:24 UTC


README

Supported Magento Versions

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

License

MIT