Customer registration, authentication, account management, address handling, customer groups, and EAV attributes. The foundation for personalized shopping experiences, order tracking, and customer segmentation.
Architecture, data models, and execution flows that define the Customer module.
Account management, registration flows, authentication (password-based, token API, 2FA hooks), profile management, account dashboard, and customer groups.
EAV entity model, customer/address repositories, session management, customer data model vs DTO pattern, attribute metadata system, and form generation from attributes.
Registration flow, login/authentication sequence, password reset pipeline, address save with validation, customer group assignment, and account section rendering.
Plugins, observers, events, and integration patterns for extending the Customer module.
Plugins on AccountManagement::createAccount(), authenticate(). Events: customer_register_success, customer_login, customer_save_after, customer_address_save_after. Custom attribute injection points.
Dependencies on Store, Eav, Directory, Newsletter modules. Quote/Sales customer data sharing. REST/GraphQL customer APIs. CRM integration patterns and customer data synchronization.
Anti-patterns, known issues, version compatibility, and performance optimization for the Customer module.
Direct database queries on customer_entity, bypassing CustomerRepositoryInterface, session manipulation outside controllers, and custom attributes without proper form metadata.
Customer session fixation edge cases, address validation inconsistencies between frontend/API, customer group change not updating active quotes, and EAV attribute upgrade pitfalls.
Customer data API changes across 2.4.x, deprecated session methods, password hashing algorithm updates, and customer attribute migration patterns.
Customer collection optimization, EAV attribute query reduction, session storage strategies (Redis vs file), customer group cache warming, and address validation caching.
Modules that interact closely with Magento_Customer.
Tier pricing by customer group, product reviews, wishlists, and personalized catalog rules.
View moduleAddress prefill, customer authentication during checkout, and guest-to-customer conversion.
View moduleOrder history, customer-order association, reorder functionality, and account order grid.
View moduleCustomer cart persistence, address sharing between quote and customer, and group-based pricing in cart.
View module