Hy, i need some help in K2. I have an modul recent deals, and i want to put an link from pictures on recent deals, to details product, and i don't now how to do that. her is the script if somene can help>
<a href="<?php echo $item->link; ?>"><?php foreach ($items as $key=>$item): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; if(count($items)==$key+1) echo ' lastItem'; ?>"<?php if($params->get('itemImage') && ($item->link) ): ?> "style="background: url(<?php echo $item->image; ?>) no-repeat #fff;padding-top:150px;<?php echo $item->link; ?><?php endif; ?>"
<a href="<?php echo $item->link; ?>"><?php $custom = $item->extra_fields;?>
<a href="<?php echo $item->link; ?>"><?php foreach ($items as $key=>$item): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; if(count($items)==$key+1) echo ' lastItem'; ?>"<?php if($params->get('itemImage') && ($item->link) ): ?> "style="background: url(<?php echo $item->image; ?>) no-repeat #fff;padding-top:150px;<?php echo $item->link; ?><?php endif; ?>"
<a href="<?php echo $item->link; ?>"><?php $custom = $item->extra_fields;?>