sprint10s Posted June 7, 2009 Posted June 7, 2009 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
Nullachtfuffzehn Posted June 7, 2009 Posted June 7, 2009 how about using the standard part number of the shop instead of putting it into the description?
sprint10s Posted June 7, 2009 Author Posted June 7, 2009 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.
Nullachtfuffzehn Posted June 7, 2009 Posted June 7, 2009 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.
sprint10s Posted June 8, 2009 Author Posted June 8, 2009 ok luckly we only have english installed so can u please step me through the steps of doing this. Thank you very much for all the help.
sprint10s Posted June 9, 2009 Author Posted June 9, 2009 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
sprint10s Posted June 9, 2009 Author Posted June 9, 2009 where can i make sure that the language id is set to 1
sprint10s Posted June 9, 2009 Author Posted June 9, 2009 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
Nullachtfuffzehn Posted June 9, 2009 Posted June 9, 2009 Check your admin/includes/languages/english/invoice.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.