thechordmaster wrote:
Hi. In my site gokkamakka.com/shop , i want the product details page to be shown when the user clicks on the thumbnail. Right now it only opens the image in a tab.
I have located the following code inside the category folder of ot_parel.. What should i replace this with?
<?php $image = $product->images[0]->displayMediaThumb('class="browseProductImage" border="0" title="'.$product->product_name.'" ',true,'');echo '<a href="'.$product->link.'" title="'.$product->product_name.'" >'.$image.'</a>';?></div>
Thanks
Hi, thechordmaster,
Please go to the following URL
../templates/ot_parelstore/html/com_virtuemart/category/ and edit
default.php file same below.
About line 233-234 find the DIV with CLASS "product-image" and replace
<?php /** @todo make image popup */
echo $product->images[0]->displayMediaThumb ('class="browseProductImage" border="0" title="' . $product->product_name . '" ', TRUE, 'class="modal"');
?>
By
<a href="<?php echo $product->link; ?>" title="<?php echo $product->product_name; ?>">
<?php /** @todo make image popup */
echo $product->images[0]->displayMediaThumb ('class="browseProductImage" border="0" title="' . $product->product_name . '" ', FALSE, 'class="modal"');
?>
</a>
Regrad