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...
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...
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
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.
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
toCode:' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n";
Code:' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . " (" . $order->products[$i]['id']. ") ". '</td>' . "\n";
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thank you swguy so much! I modified both the regular invoice and the super invoice. Have a great weekend....:)
Bookmarks