Create a WooCommerce Order Dynamically
Alright, so you’d like to create an order dynamically within WooCommerce? Well, let me tell you you found the right post!
Here is a super small snippet that will allow you to create a new order on the fly and dynamically when the function is triggered, simply load the function when needed and adjust it. You could easily improve it by adding a lot of custom fields, but this is not the 1st intention of this post! Enjoy