Skip to content

Link guest order to user account by email match #29138

Description

@galbaras

On shops that allow guest checkout (good for conversion), customers sometimes create an account after they've ordered, particularly if they're ordering again. However, their guest orders remain disconnected from their new user account.

My request is that orders be linked to new user accounts automatically.

This can be done as soon as the account is created by searching for guest orders with a matching email address. Doing it this way allows the system to display those orders and get confirmation from the new user before linking them.

Alternatively, it can be done by a background job, which links users with a "customer" role created since the last job ran with matching orders.

Metadata

Metadata

Assignees

Labels

Data Structure/CRUD/Backend ProcessingIssues related to data structures (tables), CRUD behaviour, and backend processesEnhancementThe issue is a request for an enhancement.Fluxplugin: woocommerceIssues related to the WooCommerce Core plugin.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions