Demo file Link in Front:

11.01.2013 12:52
#1
victorgn89
Joomshopping forum user no avatar
Name: víctor
18.12.2012
Сообщения: 7
Quote
Demo file Link in Front:

I would like the thumbnail was a link to the demo file, rather it is a link to the product page.

I know that the code I have to change has to be this:

<td class="image">
<?php if ($product->image){?>
<div class="image_block">
<?php if ($product->label_id){?>
<div class="product_label">
<?php if ($product->_label_image){?>
<img src="<?php print $product->_label_image?>" alt="<?php print htmlspecialchars($product->_label_name)?>" />
<?php }else{?>
<span class="label_name"><?php print $product->_label_name;?></span>
<?php }?>
</div>
<?php }?>
<a href="<?php print $product->product_link?>">
<img class="jshop_img" src="<?php print $product->image?>" alt="<?php print htmlspecialchars($product->name);?>" />

I do not know what code should I write instead.

Thank you for your help!


Последнее изменение: 11.01.2013 12:57
 
17.01.2013 12:23
#2
victorgn89
Joomshopping forum user no avatar
Name: víctor
18.12.2012
Сообщения: 7
Quote
Aw: Demo file Link in Front

Can anyone help? I think it should not be too complicated, but my knowledge of PHP are not enough to give a solution. Thank you very much.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.