Zen Cart Logo
Forums / Managing Customers and Orders / Model # does not show up in Order Page

Model # does not show up in Order Page

Views: 896

Results 1 to 2 of 2
1 Sep 2011, 7:09 PM
#1
ttmb33 avatar

ttmb33

Zen Follower

Join Date:
May 2009
Posts:
201
Plugin Contributions:
0

Model # does not show up in Order Page

Hello,

I have been trying to figure out how to have the Model# or Item# displayed on Order Page, but I got stuck.

I am using Zencart 1.3.9h

Please help me out.

Thanks for your help!

1 Sep 2011, 10:16 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Model # does not show up in Order Page

When you are editing the Order or on the Invoice or the Packing slip?

There is a function for getting a Product's Model number that you can use by adding the products_id with the function:
zen_get_products_model($products_id)

where the $products_id is replaced with the current products_id ... if it is not available where you are trying to display it ...

Model already shows on the file:
/admin/orders.php

around line 506 with:

           '            <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" .

The products_id can be accessed on the
/admin/orders.php

file with:
$order->products[$i]['id']

where are you trying to get this to display?