diff --git a/fulcrm_shoppingcart.module b/fulcrm_shoppingcart.module index d9acfd0..f24a3d1 100644 --- a/fulcrm_shoppingcart.module +++ b/fulcrm_shoppingcart.module @@ -165,6 +165,8 @@ function fulcrm_shoppingcart_person_add_form_submit( $form, &$form_state ) { $person_data[ 'uuid' ] = fulcrm_uuid_uuid4(); + $person_data = module_invoke_all( 'fulcrm_shoppingcart_alter_person_add', $person_data ); + $api_data = fulcrm_apiv2_POST( 'person/', $person_data, $query = array( 'expand' => 'd' ) ); if ( $api_data[ 'success' ] ) { module_invoke_all( 'fulcrm_shoppingcart_person_add', $api_data[ 'data' ] );