Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add Products_Model to the Order pages/Account History


MCLARK1

Recommended Posts

Posted

Hi, I have been looking through the Forum for a while and cannot seem to find this anywhere. All I wanted to do was add the Products_model to the order pages and account history just next to the product name. Does anyone know the code to do this and where I would put the entry?

 

Any help would be greatly appriciated?

 

Thanks

Marc

Posted
Hi, I have been looking through the Forum for a while and cannot seem to find this anywhere. All I wanted to do was add the Products_model to the order pages and account history just next to the product name. Does anyone know the code to do this and where I would put the entry?

 

Any help would be greatly appriciated?

 

Thanks

Marc

 

Account_history_info.php

 

look around line 140 for

 

 '			<td class="main" valign="top">' . $order->products[$i]['name'];

 

chamge it to

 '			<td class="main" valign="top">' . $order->products[$i]['name'] . ' - ' . $order->products[$i]['model'];

 

checkout_confirmation.php

 

around line 180, look for

 

'			<td class="main" valign="top">' . $order->products[$i]['name'];

 

change to

 

 '			<td class="main" valign="top">' . $order->products[$i]['name'] . ' - ' . $order->products[$i]['model'];

 

shopping_cart.php

 

look around line 123 for

 

'	<td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>';

 

change to

 

'	<td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] .' - ' . $products[$i]['model'] . '</b></a>';

 

Hope this helps

Archived

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

×
×
  • Create New...