<?php global $post, $product; ?>
<div class="item-wrap">
	<?php if ( has_post_thumbnail() ){ ?>
	<div class="item-img products-thumb">
		<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
		<?php 
			echo get_the_post_thumbnail( $post->ID, 'woocommerce_thumbnail',array( 'alt' => $post->post_title ) ) ? get_the_post_thumbnail( $post->ID, 'woocommerce_thumbnail', array( 'alt' => $post->post_title ) ): '<img src="'.get_template_directory_uri().'/assets/img/placeholder/'.'large'.'.png" alt="No thumb">';		
		?>
		</a>
		<div class="item-bottom center">
			<?php emarket_quickview(true) ;?>
		</div>
	</div>	
	<?php } ?>
	<div class="item-content">
		<?php emarket_template_categories_name(); ?>
		<?php emarket_template_loop_product_title(); ?>	
		<?php woocommerce_template_loop_rating(); ?>
		<?php woocommerce_template_loop_price(); ?>			
		<div class="item-bottom-content">
			<?php 
				woocommerce_template_loop_add_to_cart();
				emarket_product_addcart_mid();
			?>
		</div>
	</div>
</div>