Zen Cart Logo
Forums / Managing Customers and Orders / Trouble adding Product description in the admin orders page

Trouble adding Product description in the admin orders page

Locked

Views: 1,317

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Mar 2010, 2:56 PM
#1
neit avatar

neit

Zen Follower

Join Date:
Feb 2010
Posts:
140
Plugin Contributions:
0

Trouble adding Product description in the admin orders page

I have read most of the threads on how to add the description to the order in the admin area and none seem to work.

I am using zen cart 1.3.8

I need to add the description directly below the
title so I thought if changed line 475 in admin/orders.php to

<td class="dataTableContent" valign="top">' . $order->products[$i]['name'].'<br />'. $order->products[$i]['description'];

It would work but this does not appear to work.

18 Mar 2010, 3:20 PM
#2
neit avatar

neit

Zen Follower

Join Date:
Feb 2010
Posts:
140
Plugin Contributions:
0

Re: Trouble adding Product description in the admin orders page

Its ok I needed to change the query in admin/include/class/order.php

and change the corresponding arry

19 Mar 2010, 11:50 AM
#3
neit avatar

neit

Zen Follower

Join Date:
Feb 2010
Posts:
140
Plugin Contributions:
0

Re: Trouble adding Product description in the admin orders page

The lines I change
are 115.
I added products_description to the query

then I edited the array at line 145
and added

'description' => $orders_products->fields['products_description'],

below

'model' => $orders_products->fields['products_model'],