Post by aleXka » Sat Sep 08, 2012 10:05 pm

I want to add product attributes below the image in Featured module.
I found location where should I add it
template/module/featured.tpl
but what should I add?

This one (taken from product.tpl) doesn't work because undefined $attribute_groups

Code: Select all

<?php if ($attribute_groups) { ?>
          <?php foreach ($attribute_groups as $attribute_group) { ?>
            <?php echo $attribute_group['name']; ?>:
            <?php foreach ($attribute_group['attribute'] as $attribute) { ?>
                  <?php echo $attribute['name']; ?>
                  <?php echo $attribute['text']; ?>
                  <br />
            <?php } ?>
 
          <?php } ?>
  <?php } ?>

Newbie

Posts

Joined
Sat Sep 08, 2012 9:58 pm

Post by SimonHavelock » Sun Sep 09, 2012 4:08 am

I would also need very much more info on that matter. Any ideas, folks? :)

Newbie

Posts

Joined
Wed Aug 15, 2012 3:19 am
Who is online

Users browsing this forum: No registered users and 50 guests