Loops through the category images so that you can display each category image.

This is similar to “The Loop” structure in WordPress for displaying a custom layout for WordPress posts.


  • None


<?php while(shopp('collection','images')) { … } ?>
<?php if(shopp('collection','has-images')): ?>
    <?php while(shopp('collection','images')): ?>
        <?php shopp('collection','image'); ?>
    <?php endwhile; ?>
<?php endif; ?>

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.