Okay, what I am wanting to do is use an existing PHP page that selects a large group of variables and inject an order directly
I will need to
- search if there is an active order with items already
if theres no order
- create it
if there is
- then add info to existing order as new line
is there an example of where i can find this, or a pointer to what fields i will need to directly edit (once the order is entered, i am sure the view cart feature will allow deletion of whatever i add, so that shouldnt be an issue)
I will be adding a custom defined product id (which will be generated by the selections on the page) a description and price (quantity will always be 1, with no editing of quantity)



