<?php
/**
 * Product Loop Start
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 */
global $woocommerce_loop;
// Store column count for displaying the grid
if(empty($woocommerce_loop['columns'])) {
	$woocommerce_loop['columns'] = apply_filters('loop_shop_columns', 1);
}

if(is_shop() || is_product_category() || is_product_tag()) {
	$woocommerce_loop['columns'] = 4;
}
?>
<ul class="products clearfix products-<?php echo $woocommerce_loop['columns']; ?>">