<?php
/**
 * The template for displaying woocommerce pages
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages and that
 * other "pages" on your WordPress site will use a different template.
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */

get_header(); ?>

<div id="primary" class="content-area container mywooo">
	<main id="main" class="site-main row" role="main">
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding shop-banner">
            <?php if(is_shop()){
                ?>
               <img class="img-resposive full-width" src="<?php echo ot_get_option('shop_banner'); ?>"> 
            <?php
                } ?>
            <?php if(is_product_category()){
                ?>
               <img class="img-resposive full-width" src="<?php echo get_field('category_banner'); ?>"> 
            <?php
                } ?>
            </div>
		<?php
		// Start the loop.
		woocommerce_content();
		?>
		</div>
	</main><!-- .site-main -->

	<?php //get_sidebar( 'content-bottom' ); ?>

</div><!-- .content-area -->

<?php //get_sidebar(); ?>
<?php get_footer(); ?>
