News:

Looking for documentation? Take a look on our wiki

Main Menu

Feedback to the customer upon receipt of order

Started by VopoloS, August 05, 2016, 18:25:16 PM

Previous topic - Next topic

VopoloS

I would like to make a feedback to the customer upon receipt of order.
I think that would be to introduce a form of "Order received" (chechkboks and button), оr (select + js) .
This form can be incorporated into /orders/list.php file
Customer has received the order, he clicks on the button (or select), and the administrator receive a letter that everything is in order, the order is received by the customer.
But my knowledge is not enough, that would make this form. Help please:

echo '<form id="statusform" name="statusform'.$row->virtuemart_order_item_id.'" method="post" action="index.php">
         <input type="hidden" name="orders" value="'.$row->virtuemart_order_item_id.'" />
                         <input type="hidden" name="ordernumber" value="'.$row->order_number.'" />
<input name="orders'.$row->order_status_code.'" value="F" checked="checked" type="checkbox">
<input type="hidden" name="notify_customer" value="notify_customer" />
<input type="submit" name="button" id="button" value="OK" />
</form>';