diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/mods/mod_productindex/layouts/grid.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml index c23b4f7..1d5442a 100644 --- a/views/mods/mod_productindex/layouts/grid.phtml +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -98,9 +98,10 @@ <div class="wpsg_mod_productindex_product <?php echo (($i == sizeof($this->view['arProducts']))?'wpsg_mod_productindex_product_last':''); ?> <?php echo (($i == 1)?'wpsg_mod_productindex_product_first':''); ?>" style="width:<?php echo round((100 / $col), 2) ?>%;">
<div class="wpsg_mod_productindex_product_inner">
- <?php $attachment_id = $this->imagehandler->getAttachmentID($p['product_key']); ?>
- <?php echo wp_get_attachment_image($attachment_id, array(800, 600)); ?>
-
+ <a title="<?php echo __('Zur Detailseite des Produkts', 'wpsg'); ?>" href="<?php echo wpsg_url($p['url']); ?>">
+ <?php $attachment_id = $this->imagehandler->getAttachmentID($p['product_key']); ?>
+ <?php echo wp_get_attachment_image($attachment_id, array(800, 600)); ?>
+ </a>
<div class="wpsg_mod_productindex_content">
|
