Jump to content

Manufacturer


Recommended Posts

Hello

Today I need help for 2 things:

1. How can I make to show the Manufacturer in every product when the user click on it?
 

2. How can I make to show me the Manufacturer in the Back Office, (in the Administrator section) under the Catalogue/Products?? So I need a Row there with the Manufacturers, because when I download the CSV file there were not Manufacturers Row! 

Link to comment
Share on other sites

1- modify product.tpl. Wherever you want to add the manufacturer, add

 

<a href="{$link->getManufacturerLink($product->id_manufacturer)}" title="{$product->manufacturer_name}">{$product->manufacturer_name}</a>

 

THis should do it

 

 

As for the other, it's a bit more complex. You have to modify the adminProductsController, specifically the constructor method, join the manufacture lang table on the manufacturer if, then add the field to the $this->fields_list array. That said, I am not sure it would export it anyway

Link to comment
Share on other sites

×
×
  • Create New...