thanks one more thing, another screen shot. on the input page, the buttons are out of alignment and i KNOW i didn't muck with the coding on that.
thanks one more thing, another screen shot. on the input page, the buttons are out of alignment and i KNOW i didn't muck with the coding on that.
my products have serial numbers that both I and the factory in China use to track the item history can an extra field be added in the form for this
What ever your doing remember to KISS ( Keep It Simple Stupid )
Clyde, I would like to take the return request data, and send the data to the order comments and then update the status.
I've managed to modify the order_questions mod so that when a customer sends a question through their order, it updates their status to a customer comment status.
What I need is to be able to have the return request update their status to customer comment and insert that they have submitted a return request.
Can you help at all, I would be willing to send some money your way if need be as this would make a huge difference to the turn around time of the after sales care.
I could use
to get the order number, then modify my code below to get it to updatePHP Code:$order_number = zen_db_prepare_input($_POST['order_number']);
Now if the code works, I just need that update to be done when they hit submit.PHP Code:$order_status = '6';
$return_update = array('orders_id' => zen_db_prepare_input($_POST['order_number']),
'orders_status' => $order_status,
'comments' => zen_db_prepare_input($_POST['action']),
'comment_by' => 'c'
);
zen_db_perform(TABLE_ORDERS, $return_update, 'update', "orders_id = '" . $order_id . "'");
Last edited by DigitalShadow; 15 Jul 2011 at 10:31 AM.
Anyone?
DigitalShadow:
Did this work for you? Were you able to complete it so it updates when the Submit button is clicked?
Any more code to share? Your idea is great and would make this mod much more complete. If you have it working please upload a new fileset including your mods to the downloads section as a new version either through Clyde or directly. Let us know here if you do upload a new version.
Many thanks in advance,
Ron
www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a