I have Quick.Cart (extended free version H2), there is possible to generate invoice (preliminary) to the PDF file on admin site. Based on this I would like to have an extension - send email with this preliminary invoice and change order status from pending to processing. Question is regarding change order status. How can be changed status automatically?
// change status from order pending to order processing ??? (something, what change parameter selected in drop-down menu for status order from pending to processing) $oOrder->saveOrder( $_POST );
// closing actual order and back to the order list header('Location: '.$_SERVER['PHP_SELF'].'?p=orders-list'); exit; } ...
Instead of ??? is necessary some code, which I can not discover... Thanx.