Hi all,
I need exec automaticaly some php code after change order status in admin. Is it possible? And where is file for this change?
Many thanks.
Hi all,
I need exec automaticaly some php code after change order status in admin. Is it possible? And where is file for this change?
Many thanks.
admin/orders.php
look for line:
below this, look for:Code:case 'update_order':
if ($order_updated == true) {
if ($status == DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE) {
...code to executed
}
}
In this case, if the order gets updated and the status is changed to DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE, code is executed.
Many thanks. Itīs goal.