- Posts: 103
- Thank you received: 2
Show manufacturer image (brand, logo) on product page
9 years 5 months ago #269767
by melisari
Show manufacturer image (brand, logo) on product page was created by melisari
-- 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.
-- 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.
Please Log in or Create an account to join the conversation.
9 years 5 months ago - 9 years 5 months ago #269795
by Philip
Replied by Philip on topic Show manufacturer image (brand, logo) on product page
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 "
", and to add your brand picture/logo with an
.
Hope this will help you.
Regards
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 "
Code:
<a href=""></a>
Code:
<img src="yourWebSite/images/brandPic">
Hope this will help you.
Regards
Last edit: 9 years 5 months ago by Philip.
The following user(s) said Thank You: melisari
Please Log in or Create an account to join the conversation.
9 years 5 months ago #270095
by melisari
Replied by melisari on topic Show manufacturer image (brand, logo) on product page
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!
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
Thank you so much in advance!
Please Log in or Create an account to join the conversation.
9 years 4 months ago #270119
by nicolas
Replied by nicolas on topic Show manufacturer image (brand, logo) on product page
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
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.221 seconds