Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(shopp('collection.hasproducts','load=prices,images') || shopp('collection.hascategories')): ?>
- <?php shopp('storefront.breadcrumb','separator= | '); ?>
- <h2><?php shopp( 'collection.name' ); ?></h2>
- <!-- Go to www.addthis.com/dashboard to customize your tools -->
- <div class="addthis_native_toolbox"></div></br>
- <div class="category">
- <section class="navigation controls">
- <div class="alignright">
- <?php shopp( 'storefront.orderby-list', 'dropdown=on' ); ?>
- </div>
- </section>
- <section class="view controls">
- <?php shopp( 'storefront.views', 'label=' . __( 'Views: ', 'Shopp' ) ); ?>
- <?php shopp( 'collection.pagination', 'show=10&before=<div class="alignright">' ); ?>
- </section>
- </div>
- <br class="clear" />
- <?php if(shopp('collection.hascategories')): ?>
- <?php shopp('collection.coverimage','width=500&height=700&zoom=1'); ?>
- <?php shopp('collection.description') ?>
- <ul class="products">
- <li class="row">
- <ul>
- <?php while(shopp('collection.subcategories')): ?>
- <!-- display thumbnail and link -->
- <li class='product'>
- <a href='<?php shopp('subcategory.url') ?>'>
- <?php if(shopp('subcategory.has-images','type=thumbnail')) {shopp('subcategory.coverimage');}?>
- <br class="clear" />
- <h3><?php shopp('subcategory.name'); ?></h3>
- </a>
- <?php endwhile; ?>
- </ul>
- <?php else: ?>
- <div class="alignright"><?php shopp('collection.pagination'); ?></div>
- <br class="clear" />
- <?php shopp('collection.description') ?>
- <ul class="products">
- <li class="row">
- <ul>
- <?php while(shopp('collection.products')): ?>
- <?php if(shopp('collection.row')): ?></ul>
- <li class="row">
- <ul><?php endif; ?>
- <li class="product">
- <div class="frame">
- <a href="<?php shopp('product.url'); ?>"><?php shopp('product.thumbnail'); ?></a>
- <div class="details">
- <h4 class="name"><a href="<?php shopp('product.url'); ?>"><?php shopp('product.name'); ?></a></h4>
- <p class="price"><?php shopp('product.saleprice','starting=from'); ?> </p>
- <?php if (shopp('product.has-savings')): ?>
- <p class="savings">Save <?php shopp('product.savings','show=percent'); ?></p>
- <?php endif; ?>
- <div class="listview">
- <p><?php shopp('product.summary'); ?></p>
- <form action="<?php shopp('cart','url'); ?>" method="post" class="shopp product">
- <?php shopp('product.addtocart'); ?>
- </form>
- </div>
- </div>
- <br class="clear" />
- </div>
- <?php endwhile; ?>
- </ul>
- <br class="clear" />
- <div class="alignright"><?php shopp('collection.pagination'); ?></div>
- <br class="clear" />
- <?php endif; ?>
- <?php else : ?>
- <?php if ( ! shopp('storefront.is-landing') ) shopp( 'storefront.breadcrumb' ); ?>
- <p class="notice"><?php _e( 'No products were found.', 'Shopp' ); ?></p>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement