- Posts: 91
- Thank you received: 5
Product Picture in Search Results
9 years 3 months ago #274895
by bolando
Replied by bolando on topic Product Picture in Search Results
Maybe it's sth obvious now, but I managed to show images in search results easily, editing
/templates/{my_template}/html/com_search/search/default_results.php
and added
Nothing else was required
/templates/{my_template}/html/com_search/search/default_results.php
and added
Code:
<?php if ($result->image) : ?>
<dd class="result-image">
<span class="search_img">
<img
<?php
$link=$result->image;
?> title="<?php echo $result->filedesc; ?>" src="<?php echo $link ?>" alt="<?php echo $result->filename; ?>" width="150" />
</span>
</dd>
<?php endif; ?>
Nothing else was required
Please Log in or Create an account to join the conversation.
9 years 3 months ago #274910
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Product Picture in Search Results
Hello,
Yes, exactly.
It requires a modification (override) in Joomla side and that's not something that HikaShop can do ; because it just related to Joomla.
Regards,
Yes, exactly.
It requires a modification (override) in Joomla side and that's not something that HikaShop can do ; because it just related to Joomla.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.048 seconds