So here's an updated clarification on this modification:
If you are using Edit Orders version 1.5.3, this edit is made on lines 659 & 1136 (I do believe you need to make the change in BOTH places)
If you are using version 2.03, the edits will be made on lines 1048 and 1608.
That said IF you are still using the default orders.php along with Super Orders, and you HAVE NOT edited Super Orders to work with Edit Orders, then you need not worry about this modification..
Thanks again to virtualomega for sharing the necessary change needed..
DivaVocals:
The other issue is that the "Back" button on the edit_orders.php page only takes you back to the the Super Orders order list page (super_orders.php). It should take you back to the detail page of the order you were editing.. It's minor and I can live with it..
virtualomega:
To fix this Back button issue:
In edit_orders.php on line 659, find:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
> ```
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, 'page=1&oID=' . $oID . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>';
dw08gm:
In \admin\edit_orders.php, I have the above code in two places - Lines 1048 and 1608.
Do I have the right file? As the original reference says Line 659, my \admin\edit_orders.php must be substantially different.
Nevertheless, do I apply the changes in both places.
Best Regards
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.