[Skip to main content](#vessel-content)

#   Show Brand Logo in Product View

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 7 months ago [\#96204](#96204) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#96204 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

I would like to replace brand label and name in the product view for the assigned logo image for that brand.

I don't find a setting for this and don't know how to "hack" the product view to do this.

I use style_pictureblue.css.

[ ![brand&#95;logo.jpg](/forum/attachment/9314) ](/forum/attachment/9314 "brand&#95;logo.jpg")

- [ ![brand&#95;logo.jpg](/forum/attachment/9314) ](/forum/attachment/9314 "brand&#95;logo.jpg") [ ](/forum/attachment/9314?download=1 "brand&#95;logo.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 7 months ago [\#96299](#96299) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#96299 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

Hi,

You have to edit the view "product / show_block_dimensions" and at the end of the file, replace: Code:

$manufacturer = $class-&gt;get($this-&gt;element-&gt;product_manufacturer_id);

By: Code:

$manufacturer = $class-&gt;get($this-&gt;element-&gt;product_manufacturer_id, true);

Then replace: Code:

echo JText::_('MANUFACTURER').': '.'&lt;a href="'.hikashop_completeLink('category&amp;task=listing&amp;cid='.$manufacturer-&gt;category_id.'&amp;name='.$manufacturer-&gt;alias.'&amp;Itemid='.$Itemid).'"&gt;'.$manufacturer-&gt;category_name.'&lt;/a&gt;';

By a code to display the image too. The image is in the var: "$manufacturer-&gt;file_path;"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dyvymtvar](/forum/user/7407-dyvymtvar "View dyvymtvar's Profile")**
- [![dyvymtvar's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7407-dyvymtvar "View dyvymtvar's Profile")
- [ Offline](/forum/user/7407-dyvymtvar)

Less More

- Posts: 104
- Thank you received: 0
-
-

13 years 7 months ago [\#97187](#97187) by [dyvymtvar](/forum/user/7407-dyvymtvar "View dyvymtvar's Profile")  Replied by *[dyvymtvar](/forum/user/7407-dyvymtvar "View dyvymtvar's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#97187 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

Peter, did you do it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 6 months ago [\#97738](#97738) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#97738 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

Sorry for the lack of response!

Finally trying to do it now. Will come back with the result!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ax](/forum/user/18344-ax "View ax's Profile")**
- [![ax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/18344-ax "View ax's Profile")
- [ Offline](/forum/user/18344-ax)

Less More

- Posts: 14
- Thank you received: 1
-
-

13 years 5 months ago -  13 years 5 months ago [\#103005](#103005) by [ax](/forum/user/18344-ax "View ax's Profile")  Replied by *[ax](/forum/user/18344-ax "View ax's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#103005 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

> Xavier wrote: Hi,
>
> You have to edit the view "product / show\_block\_dimensions" and at the end of the file, replace:
>
> Code:
>
> $manufacturer = $class-&gt;get($this-&gt;element-&gt;product_manufacturer_id);
>
>
>
> By: Code:
>
> $manufacturer = $class-&gt;get($this-&gt;element-&gt;product_manufacturer_id, true);
>
>
>
>
> Then replace: Code:
>
> echo JText::_('MANUFACTURER').': '.'&lt;a href="'.hikashop_completeLink('category&amp;task=listing&amp;cid='.$manufacturer-&gt;category_id.'&amp;name='.$manufacturer-&gt;alias.'&amp;Itemid='.$Itemid).'"&gt;'.$manufacturer-&gt;category_name.'&lt;/a&gt;';
>
>
>
> By a code to display the image too. The image is in the var: "$manufacturer-&gt;file\_path;"

Hello Xavier, could you show the code to display the image. thanks

Last edit: 13 years 5 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: setting quotes

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

13 years 5 months ago [\#103052](#103052) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#103052 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

As Xavier said, you can use $manufacturer-&gt;file_path to display the image with the standard image display function of HikaShop: Code:

echo $this-&gt;image-&gt;display($manufacturer-&gt;file_path,false,$manufacturer-&gt;file_name,'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', 120, 80);

where 120 is the width and 80 the height of the thumbnail.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ax](/forum/user/18344-ax "View ax's Profile")**
- [![ax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/18344-ax "View ax's Profile")
- [ Offline](/forum/user/18344-ax)

Less More

- Posts: 14
- Thank you received: 1
-
-

13 years 5 months ago [\#103105](#103105) by [ax](/forum/user/18344-ax "View ax's Profile")  Replied by *[ax](/forum/user/18344-ax "View ax's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#103105 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

I did it that way but it only loads the default not avaible image.

the manofacturers are linked to the images and the product to the manofacturer so it should be working.

what can be wrong?

thanks nicolas.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 5 months ago -  13 years 5 months ago [\#103133](#103133) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#103133 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

Hi,

The code display the image of the manufacturer.
I test it in a local website and it works good, just replacing the code as Xavier and Nicolas said.
Are you sure you replaced all elements like they said ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 13 years 5 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago [\#103170](#103170) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#103170 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

Hi,

As the original generator of this thread I can say the code worked fine for me since the first iteration of the code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ax](/forum/user/18344-ax "View ax's Profile")**
- [![ax's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/18344-ax "View ax's Profile")
- [ Offline](/forum/user/18344-ax)

Less More

- Posts: 14
- Thank you received: 1
-
-

13 years 5 months ago [\#103176](#103176) by [ax](/forum/user/18344-ax "View ax's Profile")  Replied by *[ax](/forum/user/18344-ax "View ax's Profile")* on topic *[Show Brand Logo in Product View](/forum/4-how-to/79658-show-brand-logo-in-product-view#103176 "I would like to replace brand label and name in the product view for the assigned logo image for that brand.  I don't find a setting for this and don't know how to &quot;hack&quot; the product view to do this.  I use style&#95;pictureblue.css.")*

I tried again and now its working, thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NjU4LXNob3ctYnJhbmQtbG9nby1pbi1wcm9kdWN0LXZpZXc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.122 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
