Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Modelnr instead of productname in admin catalog


floppy

Recommended Posts

Posted

I want to display the product number (products_model) instead of the product name in the list at admin -> catalog (there where you can see the products, with Categories / Products Status Sort Order Action)

 

I searched in admin/categories.php and found this:

				<td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products['products_id'] . '&action=new_product_preview&read=only') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a> ' . $products['products_name']; ?></td>
			<td class="dataTableContent" align="center">

 

when i change there $products['products_name'] to $products['products_model'] nothing is displayed, the same result when i change it to $product_info['products_model']

 

Any hints how to do it?

Posted

you need to search for in same file you made update for select then look for where it selects product_name, and add product_model, after it

Archived

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

×
×
  • Create New...