This module automatically creates or updates CRM Core individuals when a user places an order. It uses the order completion event to map order data to individual profiles.
This module creates and updates crm_core individuals after the users has placed an order. commerce_order.place.post_transition Event is used.
Installation
After enabling the module go to Config > CRM Core > Commerce Settings (/admin/config/crm-core/commerce/settings) and select your prefered crm_core_individual bundle.
Customization
Implement hook_crm_core_individual_data_alter(array &$data, OrderInterface $order) to alter the data which will be saved on the individual.
Or you can extend the mapper service crm_core_commerce.individual_mapper.
Depends on
Dependencies of the latest stable release
- Commerce Core commerce_order
- crm_core
- crm_core_contact
- crm_core_user_sync
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.