Disable image link

02.06.2012 15:42
#1
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Posts: 36
Quote
Disable image link

Hi guys, thanks to the forum i disabled the lightbox effect when a user clicks on a product image, now I need to disable the link in the image (if a user cliks on the image it opens an other page with the image, i have to disable this).

 
02.06.2012 16:02
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Disable image link

Change template product

components\com_jshopping\templates\default\product\product_default.php

in row

<a class="lightbox" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" <?php if ($k!=0){?>style="display:none"<?php }?>>


delete

href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>"


 
03.06.2012 15:48
#3
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Posts: 36
Quote
Aw: Disable image link

Thank you :)

 
Copyrights MAXXmarketing GmbH. All Rights Reserved