cocof Posted August 27, 2017 Share Posted August 27, 2017 Hi, I want to add the brand/manufacturer name to the product page (see attachment). I am using the classic theme and the prestashop 1.7.1.2 version. Thanks, Coco Link to comment Share on other sites More sharing options...
klemonnier Posted September 7, 2017 Share Posted September 7, 2017 (edited) {Manufacturer::getnamebyid($product.id_manufacturer)} Try this. This code worked for me Edited September 7, 2017 by klemonnier (see edit history) 4 1 Link to comment Share on other sites More sharing options...
klemonnier Posted September 7, 2017 Share Posted September 7, 2017 It's not necessary to install a module for only put a brand name in product.tpl 2 Link to comment Share on other sites More sharing options...
eightman Posted December 8, 2017 Share Posted December 8, 2017 (edited) Le 07/09/2017 à 3:50 PM, klemonnier a dit : {Manufacturer::getnamebyid($product.id_manufacturer)} Try this. This code worked for me so cool to find the right tip easyly ! thank you it work with suppliers too! Edited December 8, 2017 by eightman added infos (see edit history) Link to comment Share on other sites More sharing options...
Spado Posted May 14, 2018 Share Posted May 14, 2018 On 7/9/2017 at 3:50 PM, klemonnier said: {Manufacturer::getnamebyid($product.id_manufacturer)} Try this. This code worked for me Where should i place that code part on the product.tpl file? Link to comment Share on other sites More sharing options...
Spado Posted May 14, 2018 Share Posted May 14, 2018 3 hours ago, ndiaga said: Did you read the tutorial? http://prestatuts.com/tutorials/prestashop-adding-manufacturer-logo-to-product-list-page/ Now yes Link to comment Share on other sites More sharing options...
pif2000 Posted October 22, 2019 Share Posted October 22, 2019 On 9/7/2017 at 4:50 PM, klemonnier said: {Manufacturer::getnamebyid($product.id_manufacturer)} Try this. This code worked for me Hi... Where i need to add this code in products.tpl ? Link to comment Share on other sites More sharing options...
lmarcos Posted February 2, 2020 Share Posted February 2, 2020 I just added it like this where I wanted it to show @pif2000 {block name='BLOCK NAME YOU WANT TO GIVE IT'} {Manufacturer::getnamebyid($product.id_manufacturer)} {/block} Not sure where I can add styling to it and create the block on the BO so an update doesn't delete it, though. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now