<?php get_header();?>

<?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); ?>
<?php query_posts(array( 'post_type'=>'product', 'type'=>$term->slug)); ?>
			<div id="main" role="main">				
				<div class="pagecontent">
                
					<div class="cols noright">				
						 <div class="sidebar">
						<nav class="testimonials">
                            
					<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('product_left')) : else : ?>  
       
    <?php endif; ?>
                   </nav> 			</div>			
						<div><h1>Bundles</h1>
                        <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
        <ul class="productlist ">

                        
            <li>
                    
                <a href="<?php the_permalink(); ?>" class="image"><img src="<?php the_field('product_image_one'); ?>" alt="<?php the_title(); ?>" /></a>                <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>                <div class="buttongroup">
                <a href="<?php the_permalink(); ?>" class="button alt">Details</a>                                                         
                     
                </div>
              

            </li>
            
                        
          
                        
        </ul>
         <?php endwhile; else: ?>
  <p><?php _e('There are no posts to display.'); ?></p>

        
        <?php endif; ?> 
     
</div>						
						
						
					</div>				
				</div>				
			</div>
		<?php get_footer();?>