I am creating a Wordpress and WooCommerce plugin which does the following:
- An anonymous user customizes a product on the page
- In a php script in the process, it creates an order in the database
- The user goes to the checkout page where the customer data, delivery etc. is requested.
By clicking on "Buy Now" WooCommerce creates a new order in the system and what I want is to update the order created earlier during the personalization process, adding customer details, payment, delivery etc. to the order.
is it possible?
Thanks!