Add a function which can generate orders for customers.