Zen Cart Logo
Forums / General Questions / Displaying the company name in the admin orders

Displaying the company name in the admin orders

Views: 653

Results 1 to 6 of 6
23 Apr 2013, 12:45 AM
#1
wekalegs avatar

wekalegs

New Zenner

Join Date:
Aug 2012
Posts:
16
Plugin Contributions:
0

Displaying the company name in the admin orders

Hi I wish to be able to display the company name in the admin orders not just the customer name as it can get confusing when updating payments that have company names and finding which customer name belong to which company when users dont put in there invoice number.

Hope some one can help.

23 Apr 2013, 2:48 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Displaying the company name in the admin orders

Where don't you see the Company Name on the order?

It is in the Order listing, and all 3 addresses of the Order ... :lookaroun

23 Apr 2013, 8:53 PM
#3
wekalegs avatar

wekalegs

New Zenner

Join Date:
Aug 2012
Posts:
16
Plugin Contributions:
0

Re: Displaying the company name in the admin orders

Hi not on the order itself but when you are in the admin area and you click on the orders tab under customer and the list of orders comes up as orders listings is where I wish the company name to show.

23 Apr 2013, 8:55 PM
#4
wekalegs avatar

wekalegs

New Zenner

Join Date:
Aug 2012
Posts:
16
Plugin Contributions:
0

Re: Displaying the company name in the admin orders

The orderrs listings only show the first and last name not the company name.

23 Apr 2013, 9:04 PM
#5
wekalegs avatar

wekalegs

New Zenner

Join Date:
Aug 2012
Posts:
16
Plugin Contributions:
0

Re: Displaying the company name in the admin orders

Attachment 12387
See attached pic where the Customers label is is only first and last name not companie name. I wish to add company name to show up here.
:smile:

23 Apr 2013, 9:39 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Displaying the company name in the admin orders

On your file, on the server, for /your_admin/orders.php around line 887, what do you see in the code for:

                <td class="dataTableContent"><?php echo '<a href="' . zen_href_link(FILENAME_CUSTOMERS, 'cID=' . $orders->fields['customers_id'], 'NONSSL') . '">' . zen_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW . ' ' . TABLE_HEADING_CUSTOMERS) . '</a> ' . $orders->fields['customers_name'] . ($orders->fields['customers_company'] != '' ? '<br />' . $orders->fields['customers_company'] : ''); ?></td>