<?php
/**
 * The template for displaying all single posts.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package Flossy
 */

$colss = ( !is_active_sidebar( 'flossy-woocommerce-sidebar' )) ? 'col-lg' : 'col-lg-8';
get_header();
?>
<div id="product" class="shop-section pt-default pb-default product">
	<div class="container">
		<div class="row">
			<div id="st-primary-content" class="<?php echo esc_attr($colss); ?> mb-lg-0 mb-4">
				<?php woocommerce_content(); ?>
			</div>
			<?php ( is_active_sidebar( 'flossy-woocommerce-sidebar' )) ? get_sidebar('woocommerce') : ''; ?>
		</div>	
	</div>	
</div>
<?php get_footer(); ?>

