I have a slider setup that is querying shopp categories that have products here: http://halliescomet.com/
Here's my code:
<div class="flexslider-holder">
<div class="flexslider-container">
<div class="flexslider">
<ul class="slides">
<?php if( shopp('catalog','has-categories')) : ?>
<?php while(shopp('catalog','categories')): ?>
<?php
// Skip sub-categories
if (shopp('category','parent','return=1') > 0) continue; ?>
<li>
<a href='<?php shopp('category','url'); ?>'>
<?php shopp('category','coverimage','width=545&height=260&fit=crop'); ?><br style="clear: both;" />
</a>
<div class='flex-caption'>
<h2><?php shopp('category','name'); ?></h2>
<?php shopp('category','description'); ?>
<a class="learnmore" href="<?php shopp('category','url'); ?>">View All</a>
</div>
</li>
<?php endwhile; ?>
<?php endif; ?>
</ul>
<?php wp_reset_query();?>
</div>
</div>
I'd What I would like to do is combine that with a custom post type labeled "slides" so I am able to add non shopp content to the slider. Anyone know if this is do-able? Since the shopp while is different I am not sure how to go about this.
Any help is again appreciated.