<div class="resp-slider-container">
	<div class="slider responsive">
		<?php 
		$count_items 	= 0;
		$numb 			= ( $list->found_posts > 0 ) ? $list->found_posts : count( $list->posts );
		$count_items 	= ( $numberposts >= $numb ) ? $numb : $numberposts;
		$i 				= 0;
		$j				= 0;
		while($list->have_posts()): $list->the_post();
		global $product, $post;
		$class = ( $product->get_price_html() ) ? '' : 'item-nonprice';
		if( $i % $item_row2 == 0 ){
			?>
			<div class="item product <?php echo 'item-'.esc_attr( $item_row2 ).'columns' ?> <?php echo esc_attr( $class )?>">
				<?php } ?>
				<?php echo ( $i % $item_row2 == 1 )? '<div class="wrap-small-item">' : ''; ?>
				<div class="item-wrap item-wrap2 <?php echo ( $i % $item_row2 == 0 ) ? 'first-item' : ''; ?>">
					<?php if( $i % $item_row2 == 0 ){ ?>
					<div class="item-img products-thumb">															
						<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute();?>"><?php the_post_thumbnail( 'shop_single', array( 'alt' => get_the_title()  ) ); ?></a>
						<?php emarket_product_item_bottom(); ?>
					</div>
					<?php }else{ ?>
						<?php do_action( 'woocommerce_before_shop_loop_item_title' ); ?>
					<?php } ?>
						
					<?php do_action( 'woocommerce_shop_loop_item_title' );
					/**
					 * Hook: woocommerce_after_shop_loop_item_title.
					 *
					 * @hooked woocommerce_template_loop_rating - 5
					 * @hooked woocommerce_template_loop_price - 10
					 */
					do_action( 'woocommerce_after_shop_loop_item_title' );

					/**
					 * Hook: woocommerce_after_shop_loop_item.
					 *
					 * @hooked woocommerce_template_loop_product_link_close - 5
					 * @hooked woocommerce_template_loop_add_to_cart - 10
					 */
					do_action( 'woocommerce_after_shop_loop_item' ); 
					
					?>
				<?php echo ( ( $i % $item_row2 == $item_row2 - 1 ) || ( $i+1 ) == $count_items )? '</div>' : ''; ?>
			<?php if( ( $i+1 ) % $item_row2 == 0 || ( $i+1 ) == $count_items ){?> </div><?php } ?>
			<?php $i++; $j++; endwhile; wp_reset_postdata();?>
		</div>
	</div>