Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Model# To categories.php page in Admin


ReginaStelling

Recommended Posts

Posted

Hi!

In the Admin Section, when I click on the Products Listing, it would be helpful if I could see the Model Number too. Also, I'd like to be able to search on Model Number... Is there anyway to do that?

 

Thanks!

  • 3 weeks later...
Posted

Yes. I am also looking for the ways to show up the product model.

 

 

LJ

Posted

It looks like that "Brand" in the admin page is the product "Model". Is this right?

 

LJ

Posted

after

<tr class="dataTableHeadingRow">
               <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CATEGORIES_PRODUCTS; ?></td>

insert

 

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_MODEL; ?></td>

 

then after

echo $products['products_name'] . '</td>';
	 } ?>

add

<td class="dataTableContent" align="right">
<?php 
echo $products['products_model'];
?>
</td>

 

tried the thing with the search but it wont work, the above code will display the model nr. in product listing

 

also you will need to add the language define

define('TABLE_HEADING_MODEL', 'Model');

to

admin/includes/languages/english/categories.php

 

greets john

Posted

Hi john,

 

What file is that? is the admin/categories.php? I can't find the second code in the file.

 

LJ

Posted

Thank you Stuart. That worked. :)

 

In fact the "Product Model" IS the "Brand" in new product input page. Only knew after it shows up. hahaa.

 

Let me know if anyone thinks that is not the case.

 

LJ

Archived

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

×
×
  • Create New...