New Zenner
- Join Date:
- Oct 2011
- Posts:
- 68
- Plugin Contributions:
- 0
Modifying the invoice
Thank you for a great plugin.
How can I add the id number in the invoice or showing up in the details?
Thank you again...
Views: 1,045
New Zenner
Thank you for a great plugin.
How can I add the id number in the invoice or showing up in the details?
Thank you again...
Totally Zenned
Zadris:
Thank you for a great plugin.
How can I add the id number in the invoice or showing up in the details?
Thank you again...Not sure what you are asking.. What ID number?? Are you referring to the ORDER ID??? The order ID already shows on the invoice and the order..
New Zenner
DivaVocals:
Not sure what you are asking.. What ID number?? Are you referring to the ORDER ID??? The order ID already shows on the invoice and the order..
The ID number of the item...not the Order ID...for example when you list an item it is automatically given an ID number ..1001..(just an example) that number never appears anywhere..not on details...the invoice or anything like that....unless of course I have missed it. Thanks.
New Zenner
DivaVocals:
This actually isn't really a "Super Orders" question.. What you are asking is more of a general Zen Cart "how do I do this" kind of question.. Since the the "super" code that makes Super Orders "super" is now integrated into the default orders.php, invoice.php, and packingslip.php files, the answer to your question is the same regardless of whether or not you use Super Orders.. There are posts which discuss how to add the product model number to the order/invoice/packingslip. Those same instructions should also work for product ID.. Suggest doing a search on the forum for these posts..
Thank you. I get it....it's just not in Zen-Cart at all. And oh btw I tried searching product ID and this forum does not like the word "ID" because it never shows up in a search...maybe because of the spelling of it. Thanks again for replying.
Administrator
Zadrs, you'll just want to modify admin/invoice.php to show the product id. For example, this code puts it right after the model number.
Change admin/invoice.php line 179 from
' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n";
to
' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . " (" . $order->products[$i]['id']. ") ". '</td>' . "\n";
New Zenner
Thank you swguy so much! I modified both the regular invoice and the super invoice. Have a great weekend....:)
Fields marked required must be completed.
Tell staff why this post should be reviewed.