<?php
/**
 * The Template for displaying all single products.
 *
 * Override this template by copying it to yourtheme/woocommerce/single-product.php
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     1.6.4
 */

	if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<?php get_header(); ?>

<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
	<div class="emarket_breadcrumbs">
		<div class="container">
			<?php
				if (!is_front_page() ) {
					if (function_exists('emarket_breadcrumb')){
						emarket_breadcrumb('<div class="breadcrumbs theme-clearfix">', '</div>');
					} 
				} 
			?>
		</div>
	</div>
<?php endif; ?>
<?php 
	$emarket_single_style = emarket_options()->getCpanelValue( 'product_single_style' );
	if( empty( $emarket_single_style ) || $emarket_single_style == 'default' ){ 
		get_template_part( 'woocommerce/content-single-product' );
	}elseif( in_array( $emarket_single_style, ['style10', 'style11'] ) ){
		get_template_part( 'woocommerce/content-single-product-style10' );
	}else{
		get_template_part( 'woocommerce/content-single-product-' . $emarket_single_style );
	}
?>
<?php get_footer(); ?>
