News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Category browse page product thumbnail linking to product details page

Started by bardius, January 02, 2012, 12:36:31 PM

Previous topic - Next topic

bardius

If you want to link to the details page instead of a modal window popup of a larger image for each product listen in your category browse page, simply replace

echo $product->images[0]->displayMediaThumb('class="browseProductImage" border="0" title="'.$product->product_name.'" ',true,'class="modal"');

with:

echo JHTML::link($product->link, $product->images[0]->displayMediaThumb('',false), 'title="'.$product->product_name.'"');

in your category browse template file.
George Bardis
Team Leader / Senior Web Developer
http://www.bardis.info

maks


bardius

Please do

echo on the code above if you did not.


echo JHTML::link($product->link, $product->images[0]->displayMediaThumb('',false), 'title="'.$product->product_name.'"');
George Bardis
Team Leader / Senior Web Developer
http://www.bardis.info

spottedsparrow

The Spotted Sparrow
eco-friendly, vintage inspired paper goods