<?php
/**
 * The template for displaying all WooCommerce pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#woocommerce-integration
 *
 * @package Zentorone
 */

get_header();
?>

	<div class="container">
        <div class="row">
            <main id="primary" class="site-main <?php echo esc_attr( zentorone_column_classes( 'main' ) ); ?>">
                <?php woocommerce_content(); ?>
            </main><!-- #main -->

            <?php if ( zentorone_get_option( 'zentorone_global_layout', 'right-sidebar' ) !== 'full-width' && zentorone_get_option( 'zentorone_global_layout', 'right-sidebar' ) !== 'no-sidebar' ) : ?>
                <div class="<?php echo esc_attr( zentorone_column_classes( 'sidebar' ) ); ?> <?php echo esc_attr( ( zentorone_get_option( 'zentorone_global_layout', 'right-sidebar' ) === 'left-sidebar' ) ? 'order-first' : '' ); ?>">
                    <?php get_sidebar( 'shop' ); ?>
                </div>
            <?php endif; ?>
        </div>
    </div>

<?php
get_footer();
