Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Total number of orders


madlax

Recommended Posts

Posted

Hi there! Hopefully I'm posting this in the right section..

 

I've installed some contributions that include a nice piece of info called "total number of orders a customer has made". What I would like to have is this little piece of info on my orders.php page so that whenever I click on someone's name on that orders list, the very right infobox on that page shows a line "number of orders made: 3 (selected customer's number of orders). The code would go under this line in orders.php:

 

if (tep_not_null($oInfo->last_modified)) $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . tep_date_short($oInfo->last_modified));

 

So the output on the orders.php page (or in the very right infobox that has those "edit, delete, invoide, etc buttons) would look something like this:

 

Order made: 29.11.2007

Last edited: 05.12.2007

Total number of order: 3 (selected customer's number of orders).

 

I hope you understand what I mean as this was a bit difficult to explain. And thanx in advance, I rly hope someone can help me with this =)

Posted

I suggest you contact the contributor and ask if this could be integrated.

Archived

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

×
×
  • Create New...