-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.0
HI there,
I am trying to work out how to get the read more to be a link to the product with this code below. Can someone please help to insert some code to get this to work?
<?php if(!empty($this->row->product_description)) : ?>
<div id="hikashop_product_description_main_mini" class="hikashop_product_description_main_mini">
<?php
$resume = substr((preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->row->product_description)),0,350);
if (!empty($this->row->product_description) && strlen($this->row->product_description)>350)
$resume .= " … <a href='#description'>".JText::_('READ_MORE')."</a>";
echo JHTML::_('content.prepare',$resume);
?>
</div>
<?php endif; ?>
I know its this line here: $resume .= " … <a href='#description'>".JText::_('READ_MORE')."</a>";
But don't know what to put so that it works. Thanks a lot