Originally Posted by
swguy
Would you please clarify the installation instructions? It says,
> Unfortunately, the observers used in edit orders, do NOT give the exact fields updated. So those fields needed to be hard coded in this file. When edit orders changes this file may need to change.
Does this mean I need to add any new fields I have added in the orders_products table to the $updatedFields list?
@swguy, if you are running v4.5.5 of edit orders, there is no need to add any new fields...
as long as your notifier in YOUR_ADMIN/includes/functions/extra_functions/edit_orders_functions.php looks like:
PHP Code:
$zco_notifier->notify('EDIT_ORDERS_ADD_PRODUCT', array('order_id' => (int)$order_id, 'orders_products_id' => $order_products_id, 'product' => $product, 'sql_data_array' => $op_sql_data_array));
you are good to go with no need to maintain the $updatedFields array.
best.
Bookmarks