Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Name on the Orders Admin Page


Recommended Posts

I've hunted through the add-ons and searched this forum to no avail...

 

On the Orders.php page in the catalog admin, I've got these table headings: Customers, Order Total, Date Purchased, Status, and Action. Looks like this:

 

Jane Doe | $100.00 | 05/31/2011 07:00 | Pending

John Smith | $20.00 | 05/30/2011 06:00 | Pending

Joe Blow | $90.00 | 05/28/2011 05:00 | Processing

 

I would like to add a Product column that would display the product name for each order. For example:

 

Jane Doe | Superman Hot Toys | $100.00 | 05/31/2011 07:00 | Pending

John Smith | Plush Darth Vader | $20.00 | 05/30/2011 06:00 | Pending

Joe Blow | Spiderman Hot Toys, Superman Hot Toys | $90.00 | 05/28/2011 05:00 | Processing

 

Wouldn't need to be comma separated, could be just a break.

 

EVEN BETTER, if I could get the product price next to the product name:

 

Jane Doe | Superman Hot Toys $90.00 | $100.00 | 05/31/2011 07:00 | Pending

John Smith | Plush Darth Vader $16.50 | $20.00 | 05/30/2011 06:00 | Pending

Joe Blow | Spiderman Hot Toys $80.00, Superman Hot Toys $90.00 | $190.00 | 05/28/2011 05:00 | Processing

 

Does anyone know of an add-on that will do this? My catalog version is 2.2.

 

I tried "Orders-at-a-Glance" module, but that only puts the info in a CSS pop-up, doesn't actually list the products right on the table. I also tried this "Add Order ID" which works great, but only for the Order ID number.

 

Any help anyone can give would be much appreciated!

Link to comment
Share on other sites

Chris,

 

 

The orders.php page is not designed to list all of the products on the default page. Imagine 1000 orders all listing the details of each order ? I think the session would time out before the listing was compiled.

 

 

Chris

Link to comment
Share on other sites

Understood. My catalog isn't getting flooded with many orders per day, so I don't think it would be an issue in my particular instance, but I see where you are coming from.

 

What about an add-on Report that could give me the type list I'm looking for?

Link to comment
Share on other sites

Burt, your blog post shows EXACTLY what I'm lookin' to do. Thanks! Now, how can I persuade you to give me the two lines of code I need to accomplish my mission? ;)

 

I can add and do a bit of light editing, but I'm not quite savvy enough to write this out from scratch.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...