alsharif Posted June 14, 2018 Share Posted June 14, 2018 Hi, I need to display Brand Name on product list right below the product name in Prestashop 1.7.x classic theme. So I have added {Manufacturer::getnamebyid($product.id_manufacturer) within {block name='product_name'} to the the /themes/classic/templates/catalog/_partials/miniatures/product.tpl as shown below {block name='product_name'} <h1 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h1> <h1 class="h3 product-title" itemprop="name">{Manufacturer::getnamebyid($product.id_manufacturer)}</h1> {/block} I also modify height value for both Products .thumbnail-container and products .product-description in theme.css but could not get it to function properly upon mouse over Thanks for your help in resolving the error Link to comment Share on other sites More sharing options...
alsharif Posted June 26, 2018 Author Share Posted June 26, 2018 On 6/16/2018 at 5:22 PM, ndiaga said: Hi, Why editing a template us this module instead : https://www.prestashop.com/forums/topic/538667-manufacturer-logo-adding-manufacturer-logo-in-product-list-page/ Unfortunately, the module does not give me what I want. I simply would like to display the Brand name (in text) right under product name. How can I make that possible? 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