Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

descriptions in invoice


sprint10s

Recommended Posts

Is there a way to show the descriptions of the products in the invoice. When i log in to my admin panel and look at customer invoices it doesn't show the description of the product which has my part number in it, is there a way to do this.

 

thanks in advance

Link to comment
Share on other sites

the problem is someone allready took over 500 of our products and put them in the description, so half show up through a drop down menu and the ones that dont are in the description, so if possible i would like to just show the description on the invoice instead of having to go through all the products and add the part number on all of them.

Link to comment
Share on other sites

In general, the invoice is created by admin/invoice.php which is using the admin/includes/classes/order.php. The class order selects any information about the order from the orders* tables from the database. Unfortunately those tables aren't containing any descriptions of the products. The major problem now is, that you don't know which language the customer has used. If you only have one language installed you're lucky. Then you can either retrieve the description in invoice.php per product or alter the class order that way it adds the description to the class.

Link to comment
Share on other sites

i didn't get an error when i replaced those files but it didn't work, any suggestions or any file i could send or code that might be able to help solve this.

 

Thanks and appreciate any help, really in a bind here.

 

Sincerely,

 

Sprint10s

Link to comment
Share on other sites

i figured it out, i actually did have more than one language installed but all i did has replace those files in the admin/languages/english folder and it works fine it shows up under model but i can change the word model to display description.

 

thanks again for all your help.

 

Jeremy

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...