About This File
This module allows you to assign a registered user from the customer list to an existing order. This is useful when you need to link an order to a specific user, for example, if the order was placed without registration or if the user needs to be updated in the order after registering.
Advantages:
- Ease of assigning a customer: The module allows you to quickly and easily assign a registered user to an order without the need to manually edit the order.
- Simplified order processing: Updating the customer’s data in the order helps synchronize the information.
- Flexibility: The module allows you to select any registered user from the list and link them to the order.
- Minimal effort: No need to manually update user data in the order.
- Convenience for administrators: It simplifies the work of administrators, as they can easily link a user to an order without needing to modify the order directly in the database.
Installation method:
- Install the module through the OpenCart admin panel.
- Update the modifications.
- Go to the Sales → Orders section in the admin panel, where a customer search field will appear in the customer table.
Attention:
The module not only links the order to a registered user but also updates several important fields in the order. It updates the email, telephone, first name, and last name fields in the order with the user’s information. Additionally, if the user does not have an address, it will be added to their profile based on the order’s details.
Make sure that the data in the order is correct before applying the module, as updating the data may affect the order history.