Show manufacturer image (brand, logo) on product page

  • Posts: 103
  • Thank you received: 2
7 years 1 day ago #269767

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.0
-- PHP version -- : 7.0.18
-- Browser(s) name and version -- : google chrome

I found some topics from 2014, but nothing recently, i want to display the logo/image of the manufacturer/brand in the product page, instead of only the name of the manufacturer, also i would prefer to avoid the link.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 4557
  • Thank you received: 613
  • MODERATOR
7 years 10 hours ago #269795

Hello,

You can create an override view on your product page (among show_default, show_reversed & show_tabular depends your display option), see this tutorial/documentation on the method.
You have to know that this operation will required some php & html knowledges !

your step is to remove your "

<a href=""></a>
", and to add your brand picture/logo with an
<img src="yourWebSite/images/brandPic">
.

Hope this will help you.

Regards

Last edit: 7 years 20 hours ago by Philip.
The following user(s) said Thank You: melisari

Please Log in or Create an account to join the conversation.

  • Posts: 103
  • Thank you received: 2
6 years 11 months ago #270095

Thank you so much for your response!

Unfortunatly, i havent been able to make it work, i know i need to change something here:

echo JText :: sprintf('MANUFACTURER_URL', '<a href="' . $this->element->product_url . '" target="_blank">' . $this->element->product_url . '</a>');

right now i just need to make the brand image appear, the link can stay, is ok.

I am not totally ignorant of php & html knowledges, but i have been trying and nothing i did seems to work, sometimes the whole page break :( And my client is getting a little impatient :(

Thank you so much in advance!

Please Log in or Create an account to join the conversation.

  • Posts: 81677
  • Thank you received: 13102
  • MODERATOR
6 years 11 months ago #270119

Hi,

This thread provides the exact code to get the brand image without the link:
www.hikashop.com/forum/product-category-...-display.html#160508

Now regarding customization like that, please understand that we can't work on that for you.
If you need someone to do it for you, please contact our partners:
www.hikashop.com/home/our-partners.html

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum