diff options
Diffstat (limited to 'views/mods/mod_productgroups/show.phtml')
| -rw-r--r-- | views/mods/mod_productgroups/show.phtml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/mods/mod_productgroups/show.phtml b/views/mods/mod_productgroups/show.phtml index 7cf6529..2f6a0d0 100644 --- a/views/mods/mod_productgroups/show.phtml +++ b/views/mods/mod_productgroups/show.phtml @@ -6,8 +6,6 @@ *
*/
- if (!$this->hasMod("wpsg_mod_produktbilder")) die(__("Dieses Template erfordert das Modul mod_produktbilder.", "wpsg"));
-
?>
<div class="wpsg_pgruppen_single">
<div class="wpsg_pgruppen_single_produkte_wrap">
@@ -17,7 +15,7 @@ <?php $image = array_rand($p['bilder']); ?>
<div class="wpsg_pgruppen_single_list_image">
<a href="<?php echo $p['url'] ?>">
- <?php echo wp_get_attachment_image($g['bilder'][$image]['post_id'], 'sto_productimage_555', false, array()); ?>
+ <?php echo wp_get_attachment_image($p['bilder'][0], 'medium', false, array()); ?>
</a>
</div>
<?php } ?>
|
