Contributions
Order Stats In Admin
Order Stats In Admin
*****************************
The goal of this contribution is to have a shop's order's stats/statuses displayed throughout the admin section of a shop.
The installation is very simple, affecting only one file.
*****************************
Expand All / Collapse All
FULL PACKAGE
Reduce queries to one query only.
Previous version makes one query per order stat plus one.
ZEUS__ Fix added.
------------------------------------
PAQUETE COMPLETO
Reduce las consultas a una sola.
La versión anterior hacía una consulta por cada estado más una consulta inicial.
Añadido parche aportado por ZEUS__
thanks for this useful contribution,
if you want to load "admin/orders.php" and title "Orders" just make this small change;
find this(line 37);
$heading[] = array('params' => 'class="menuBoxHeading" style="font-weight:bold;"',
'text' => '<a href="/admin/orders.php" style="text-decoration:none;"><b>Orders</b></a>');
replace with;
$heading[] = array('params' => 'class="menuBoxHeading" style="font-weight:bold;"',
'text' => '<a href="' . tep_href_link(FILENAME_ORDERS) . '" style="text-decoration:none;"><b>' . BOX_CUSTOMERS_ORDERS . '</b></a>');
there is no file attached.
this contribution is even more important for me now because the newer RC release no longer have the order stats. so i had to do an update to it.
i made the header a link in this version and did a few minor changes.
Order Stats In Admin
*****************************
The goal of this contribution is to have a shop's order's stats/statuses displayed throughout the admin section of a shop.
The installation is very simple, affecting only one file.
*****************************
Note: Contributions are used at own risk.