Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

delivered orders


Guest

Recommended Posts

is there a way for the "delivered" orders to not show up in the Customers -> Orders area in the admin control panel?

if possible, i would like to setup a different area, called "delivered" and keep them there.

 

with a considerable amount of orders, this area gets a bit messy

Link to comment
Share on other sites

any one have a suggestion?

 

As a substantially easier solution, why not add a new area which displays only the pending orders (or processing depending on your setup)

 

in admin/includes/boxes/customers.php

 

replace

  if ($selected_box == 'customers') {
   $contents[] = array('text'  => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .
                                  '<a href="' . tep_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>');
 }

 

with

 

 if ($selected_box == 'customers') {
   $contents[] = array('text'  => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .
               '<a href="' . tep_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a><br>'.
               '<a href="' . tep_href_link(FILENAME_ORDERS, 'status=1', 'NONSSL') . '" class="menuBoxContentLink">'. BOX_CUSTOMERS_ORDERS_PENDING .'</a>');
 }

 

Backup of course!

 

Where BOX_CUSTOMERS_ORDERS_PENDING is a name you define in english.php and 'status=1' is the status code for pending/processing orders (select the appropriate option from the dropdown on customers.php and look at the addressbar to see what value to give status!

Light, in the absence of eyes, illuminates nothing.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...