Zen Follower
- Join Date:
- Jun 2012
- Posts:
- 481
- Plugin Contributions:
- 0
Admin orders.php Suggestions
I've been working on getting Super Orders integrated into zc 1.5.6a and have run into a rather confusing situation. There is a green circle with an "e" action icon in the orders list that in earlier zc versions pointed to LAT9's edit orders add-on. Now it points to the orders detail page (now called "edit" order page) where order status can be changed, and LAT9's edit order add-on uses the icon that Super Orders used for the orders details page. Furthermore, the code displaying the green circle icon is coded such that add-ons can't access it for say rearranging among other action icons, changing the icon, or changing the hover text without modifying core code. Therefore, my suggestion is to place the text to display the icon pointing to the orders details page in the variable $extra_action_items prior to the notifier or some other variable accessible by an observer looking for the NOTIFY_ADMIN_ORDERS_SHOW_ORDER_DIFFERENCE notifier.
The use of the term "edit" when referring to order details is very confusing, since the only thing that can be changed (edited?) is the order status or adding comments. The term "order details" is much clearer.
Also, a new notifier located between display of the order total and the order status history box on the orders detail page (the "edit" order page) would be helpful in order to insert additional order information.
The notifiers in orders.php greatly improve this code and make it much easier to add new things helpful to store personnel without mucking up out-of-the-box code. Congratulations to the coding team!