Prestashop show brand on products list

MrGreen
50 Posts
MrGreen posted this 15 October 2015

Hello,

how to show brand on the products list ?

Regards

Hello, how to show brand on the products list ? Regards
Vote to pay developers attention to this features or issue.
12 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 16 October 2015

Hi,

As I understand, that is not a standard function and you can search for the solution over the internet. Maybe something like this will be helpful:
https://www.prestashop.com/forums/topic/326257-show-manufacture-brand-on-the-product-listing-page-v-16/

Sincerely,
Hella

Hi, As I understand, that is not a standard function and you can search for the solution over the internet. Maybe something like this will be helpful: https://www.prestashop.com/forums/topic/326257-show-manufacture-brand-on-the-product-listing-page-v-16/ Sincerely, Hella
MrGreen
50 Posts
MrGreen posted this 21 October 2015

Hello,

i don't know if you understand my request.

i want to show brand name (manufacturer) on the products template. (red on the picture)

but it's not on the CONTROL (yellow on the picture)

On ecommerce, it's very important for us.

Can you add this feature ?

Regards

t1.jpg

Hello, i don't know if you understand my request. i want to show brand name (manufacturer) on the products template. (red on the picture) but it's not on the CONTROL (yellow on the picture) On ecommerce, it's very important for us. Can you add this feature ? Regards !t1.jpg!
MrGreen
50 Posts
MrGreen posted this 21 October 2015

The https://www.prestashop.com/forums/topic/326257-show-manufacture-brand-on-the-product-listing-page-v-16/
tell to update the product.tpl (on the themler theme)

but themler will erase my update ? (or not) ?

The https://www.prestashop.com/forums/topic/326257-show-manufacture-brand-on-the-product-listing-page-v-16/ tell to update the product.tpl (on the themler theme) but themler will erase my update ? (or not) ?
Support Team
Support Team posted this 22 October 2015

Hi,

Indeed, the file will be overridden each time you update the theme.
As seen on the forum this is indeed not the standard option for most of the themes, so you can ask other users to vote for such option in Themler.

Sincerely,
Hella

Hi, Indeed, the file will be overridden each time you update the theme. As seen on the forum this is indeed not the standard option for most of the themes, so you can ask other users to vote for such option in Themler. Sincerely, Hella
MrGreen
50 Posts
MrGreen posted this 22 October 2015

Hi,

i'm sorry, but i don't know how to ask other to vote, and i really need that the brand is show on the product and product list template...

In France, all the ecommerce website show the brand ...

It's really important for sell product to show the brand name ...

Hi, i'm sorry, but i don't know how to ask other to vote, and i really need that the brand is show on the product and product list template... In France, all the ecommerce website show the brand ... It's really important for sell product to show the brand name ...
MrGreen
50 Posts
MrGreen posted this 26 October 2015

Hi,

Just to say that all website i know show brand value : like a little website : amazon ;)

Regards

Hi, Just to say that all website i know show brand value : like a little website : amazon ;) Regards
Support Team posted this 27 October 2015

Hi,

To output product manufacturer on the Products and Product Details please try the following solution:

  1. Add CMS Code control to the appropriate template in the place where you want the manufacturer to appear.
  2. insert the following code:
{if isset($product.manufacturer_name)}

<a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product->id_manufacturer}" title="{$product.manufacturer_name|escape:'htmlall':'UTF-8'}" target="_blank">
{$product.manufacturer_name|escape:'htmlall':'UTF-8'}
</a>

{/if}

This should help.

Thank you,
Olivia

Hi, To output product manufacturer on the Products and Product Details please try the following solution: 1. Add **CMS Code** control to the appropriate template in the place where you want the manufacturer to appear. 2. insert the following code: <pre> {if isset($product.manufacturer_name)} &lt;a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product->id_manufacturer}" title="{$product.manufacturer_name|escape:'htmlall':'UTF-8'}" target="_blank"&gt; {$product.manufacturer_name|escape:'htmlall':'UTF-8'} &lt;/a&gt; {/if} </pre> This should help. Thank you, Olivia
MrGreen
50 Posts
MrGreen posted this 09 November 2015

Hi,

very thank you Olivia !!!

Hi, very thank you Olivia !!!
Support Team
Support Team posted this 10 November 2015

You are welcome.

Sincerely,
Hella

You are welcome. Sincerely, Hella
jinjinjinjin8989
1 Posts
jinjinjinjin8989 posted this 16 March 2017

Hi,

To output product manufacturer on the Products and Product Details please try the following solution:

  1. Add CMS Code control to the appropriate template in the place where you want the manufacturer to appear.
  2. insert the following code:
    <pre>
    > {if isset($product.manufacturer_name)}
    >
    > &lt;a href="{$link->getPageLink('manufacturer.php')}?id_manufacturer={$product->id_manufacturer}" title="{$product.manufacturer_name|escape:'htmlall':'UTF-8'}" target="_blank"&gt;
    > {$product.manufacturer_name|escape:'htmlall':'UTF-8'}
    > &lt;/a&gt;
    >
    > {/if}
    > </pre>

This should help.

Thank you,
Olivia

Hi, I tried editing above code to CMS.tpl file but its not working. any help please?

> Hi, > > To output product manufacturer on the Products and Product Details please try the following solution: > > 1. Add **CMS Code** control to the appropriate template in the place where you want the manufacturer to appear. > 2. insert the following code: > &lt;pre&gt; &gt; {if isset($product.manufacturer_name)} &gt; &gt; &amp;lt;a href=&quot;{$link-&gt;getPageLink(&#39;manufacturer.php&#39;)}?id_manufacturer={$product-&gt;id_manufacturer}&quot; title=&quot;{$product.manufacturer_name|escape:&#39;htmlall&#39;:&#39;UTF-8&#39;}&quot; target=&quot;_blank&quot;&amp;gt; &gt; {$product.manufacturer_name|escape:&#39;htmlall&#39;:&#39;UTF-8&#39;} &gt; &amp;lt;/a&amp;gt; &gt; &gt; {/if} &gt; &lt;/pre&gt; > > This should help. > > Thank you, > Olivia Hi, I tried editing above code to CMS.tpl file but its not working. any help please?
Support Team
Support Team posted this 20 March 2017

jinjinjinjin8989,

You need to add CMS Code control (Themler Insert tab >> More) to the Product or Product Details template in Themler. You вщтже need to create additional tpl files manually.

Please keep us posted about the progress.

Thank you,
Olivia

jinjinjinjin8989, You need to add CMS Code control (Themler Insert tab >> More) to the Product or Product Details template in Themler. You вщтже need to create additional tpl files manually. Please keep us posted about the progress. Thank you, Olivia
marcelopfigueira
1 Posts
marcelopfigueira posted this 20 March 2018

After yours trying to figure out how to add manufacture logo on product.tpl I finally got it.

Prestashop 1.6

If you want only the name:

above:

{if !$product->is_virtual && $product->condition}

add:

<p class="editable"><label>Brand: </label>
<span>
            {$product_manufacturer->name}
          </span>
</p>

If you want to add the image logo:

<!-------------------- mostrar logo------------->
                    <p class="editable"><label>Marca: </label>
                    {if isset($product_manufacturer->id_manufacturer)}



            <img src="{$img_manu_dir}{$product_manufacturer->id}-medium_default.jpg" alt="" class="img img-thumbnail manufacturer-logo" />


        {else}
          <span>
            {$product_manufacturer->name}
          </span>
        {/if}
</p>
              <!-------------------- FIM mostrar logo------------->

Hope it help. Free of charge.

After yours trying to figure out how to add manufacture logo on product.tpl I finally got it. Prestashop 1.6 If you want only the name: above: {if !$product->is_virtual && $product->condition} add: <p class="editable"><label>Brand: </label> <span> {$product_manufacturer->name} </span> </p> If you want to add the image logo: <!-------------------- mostrar logo-------------> <p class="editable"><label>Marca: </label> {if isset($product_manufacturer->id_manufacturer)} <img src="{$img_manu_dir}{$product_manufacturer->id}-medium_default.jpg" alt="" class="img img-thumbnail manufacturer-logo" /> {else} <span> {$product_manufacturer->name} </span> {/if} </p> <!-------------------- FIM mostrar logo-------------> Hope it help. Free of charge.
You must log in or register to leave comments