Jump to content

Display Brand Name in Product List


Recommended Posts

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 error5b224f4cb07ce_Displayerror.thumb.jpg.9e97dc573eef8ad7f3745a40b24952de.jpg
 

Display error - 2.jpg

Link to comment
Share on other sites

  • 2 weeks later...
On 6/16/2018 at 5:22 PM, ndiaga said:

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...