Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add product id to invoice and packing slip


MamaPickle

Recommended Posts

Hello,

 

I've been scouring the forums for a day or two now and I simply can't find an existing answer on how to add the products_id to the packing slip and invoice.

 

I don't want the model to be there, and I've figured out how to remove that, but it would be optional placement-wise to just replace the model with the products id. I use the product id to store the items in my store, and it would save a ton of time if it were available in both places.

 

I tried to change:

 

<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_MODEL; ?></td>

to

<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_ID ?></td>

 

on catalog/admin/invoice.php, but that simply changes "Model" on the invoice to "TABLE HEADING PRODUCTS ID" and does not list the products id.

 

I'm certain that PEBKAC as I'm a total novice to html, but this is driving me batty. :'( I've almost got my store up and running due to reading answers from the help provided in these forums (rudimentary, but functional) and this is holding me up. Please help if you can. If not, thanks for reading.

 

Take care,

Mama Pickle

Link to comment
Share on other sites

How to add product id to invoice and packing slip

 

by modifying relevant files :)

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

by modifying relevant files :)

 

Hey, I already admitted that PEBKAC you sassy young person.

 

Pray tell, and do not tease - wherefore art thou relevant files? Should you choose to share them with me I would be forever in your debt.

Link to comment
Share on other sites

  • 6 months later...
Hello,

 

I've been scouring the forums for a day or two now and I simply can't find an existing answer on how to add the products_id to the packing slip and invoice.

 

I don't want the model to be there, and I've figured out how to remove that, but it would be optional placement-wise to just replace the model with the products id. I use the product id to store the items in my store, and it would save a ton of time if it were available in both places.

 

I tried to change:

 

<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_MODEL; ?></td>

to

<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_ID ?></td>

 

on catalog/admin/invoice.php, but that simply changes "Model" on the invoice to "TABLE HEADING PRODUCTS ID" and does not list the products id.

 

I'm certain that PEBKAC as I'm a total novice to html, but this is driving me batty. :'( I've almost got my store up and running due to reading answers from the help provided in these forums (rudimentary, but functional) and this is holding me up. Please help if you can. If not, thanks for reading.

 

Take care,

Mama Pickle

 

If you want your "Model" section to read "Product ID" just go into admin/includes/languages/YOUR LANGUAGE/invoice.php (or order.php or packing slip.php) and change:

define('TABLE_HEADING_PRODUCTS_MODEL', 'Model');

 

to

define('TABLE_HEADING_PRODUCTS_MODEL', 'Product ID');

 

Hope that helps! It should show up on any of the documents that you have changed it in!

Stacy

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...