bwaje Posted March 28, 2014 Share Posted March 28, 2014 I know this was a hack for PS 1.5, but anybody knows how to display the manufacturer information in the product listing with 1.6 ? Link to comment Share on other sites More sharing options...
Bulikus Posted July 13, 2014 Share Posted July 13, 2014 (edited) Found the solution for this issue: On your FTP server, open ROOT/Themes/YourTheme directory. Open the product.tpl file and scroll down to rougly line 163. Find code that is similar to this: <p id="product_reference"{if empty($product->reference) || !$product->reference} style="display: none;"{/if}> <label>{l s='Model'} </label> <span class="editable" itemprop="sku">{if !isset($groups)}{$product->reference|escape:'html':'UTF-8'}{/if}</span> </p> Right below it simply enter the following: <p id="manufacturer" {if !$product_manufacturer->name}style="display: none;"{/if}> <label>{l s='Manufacturer:'} </label> <a href="{$link->getManufacturerLink($product_manufacturer->id_manufacturer, $product_manufacturer->link_rewrite)|escape:'html':'UTF-8'}"><span>{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</span></a> </p> Save any changes that you make and Delete Cache in BackOffice. Edited August 12, 2014 by vekia (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2014 Share Posted July 13, 2014 it's a product page (product.tpl) author of this topic asked about produt listing it mean: product-list.tpl file Link to comment Share on other sites More sharing options...
isotrope Posted August 12, 2014 Share Posted August 12, 2014 If anyone does have the solution for this, it would be greatly appreciated. I am listing book titles and the author is pretty important. I need the author (manufacturer) displayed in the list too (which is now a list and not a grid). Link to comment Share on other sites More sharing options...
vekia Posted August 12, 2014 Share Posted August 12, 2014 you're asking about product-list.tpl category page or about product.tpl (product page) Link to comment Share on other sites More sharing options...
Alesana Posted August 17, 2014 Share Posted August 17, 2014 It works fine for product page but anyone can help me with product-list.tpl please? Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2014 Share Posted August 18, 2014 Put the following in product-list.tpl to display the manufacturer name: {$product.manufacturer_name} 1 Link to comment Share on other sites More sharing options...
Alesana Posted August 19, 2014 Share Posted August 19, 2014 Thanks for your help! One more thing. How can I transform this into a link to browse product by manufacturer? =) Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2014 Share Posted August 19, 2014 Thanks for your help! One more thing. How can I transform this into a link to browse product by manufacturer? =) here it is: <a href="{$link->getManufacturerLink($product.id_manufacturer)}"> {$product.manufacturer_name} </a> 2 Link to comment Share on other sites More sharing options...
Comuniq Posted December 8, 2014 Share Posted December 8, 2014 Well guys I could put the manufacturer on the product detail page of however I would like to put on the homepage and the same code did not work. How do I add the manufacturer for each product on the homepage. Thank you Code used to product page: {$ product-> manufacturer_name} Prestashop 1.6 Elias [] 's Link to comment Share on other sites More sharing options...
radus Posted December 8, 2014 Share Posted December 8, 2014 {$link->getManufacturerLink($product.id_manufacturer, $product.id_manufacturer->link_rewrite)|escape:'html':'UTF-8'} is working for me, but I understood that there are more Homefeatured modules. I use Prestashop version 1.4 1 Link to comment Share on other sites More sharing options...
Comuniq Posted December 8, 2014 Share Posted December 8, 2014 (edited) thank worked Edited December 8, 2014 by Comuniq (see edit history) Link to comment Share on other sites More sharing options...
Chicco Posted January 4, 2015 Share Posted January 4, 2015 (edited) Hi All, i've a different but important problem. I've a bookstore and use Suppliers as Authors. The site works and with your help i get in product page the name of Authors under the title of book. The problem is with search because if i search for an author i cannot get result. There is a way to make this work? I see that prestashop searches also in description, so i could theorically add the author/s in every description (duplicating the suppliers entry) at the end. But how can i do that? We have over 8.000 products. Thank you Edited January 4, 2015 by Chicco (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2015 Share Posted January 4, 2015 preferences > search increase weight of the manufacturer then rebuild index (on the same page there is an option to rebuil search index) 1 Link to comment Share on other sites More sharing options...
Chicco Posted January 4, 2015 Share Posted January 4, 2015 The problem is that i need this about the supplier and not manufacturer... is the same? Link to comment Share on other sites More sharing options...
Recommended Posts