<?php global $product; ?>
<li class="wc-product col-md-4 col-sm-4 col-xs-6">
	<div class="wc-product-inner">
		<a href="<?php echo esc_url( get_permalink( $product->id ) ); ?>" title="<?php echo esc_attr( $product->get_title() ); ?>">
			<?php if ( has_post_thumbnail() ) : ?>
				<?php the_post_thumbnail(); ?>
			<?php endif; ?>
			<h3><?php echo $product->get_title(); ?></h3>
		</a>
		<?php if ( ! empty( $show_rating ) ) echo $product->get_rating_html(); ?>
		<?php echo $product->get_price_html(); ?>
		<a href="<?php the_permalink(); ?>" class="all-news"><?php echo __('Buy now', 'moesia'); ?></a>
	</div>
</li>