
<?php
/**
 * The template for displaying all 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 may use a
 * different template.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package theme-eye-Premium
 */
get_header(); ?>
<div class="clearfix"></div>
 
<header class="page-main-header">
	<!--<div>
		<?php //$image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));?>
		<img src="<?php //echo !empty($image)?$image : get_template_directory_uri().'/images/innerpage.jpg';?>" class="ht-page-header-img" alt="<?php //the_title();?>" />
	</div>-->
	<div class="col-md-10 col-md-offset-1 single-product-page">
		<?php the_title( '<h1 class="ht-main-title">', '</h1>' ); ?>
		<div class="clearfix"></div>

	</div>
	<div class="clearfix"></div>
</header>
<!--<div class="breadcrumbbox">
	<div class="container">
		<?php // theme_eye_lite_the_breadcrumb(); ?>
	</div>
</div>-->

<?php
//if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
//get_header('shop'); 
/*echo 
$relatedProduct = get_theme_mod('theme_eye_enable_repated_product', 'off');
if($relatedProduct == 'off'){
    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );
}*/

?>
<div class="single-productpage">
	<main id="innerpage-box">
		<div class="col-md-10 col-md-offset-1">
			<div id="page">
				<div class="col-md-12">				
					<div class="innerpage-whitebox">
						<article id="content" class="article"> 
							<div id="content_box" >
								<?php do_action('woocommerce_before_main_content'); ?>
									<?php while ( have_posts() ) : the_post(); ?>
										<?php // woocommerce_get_template_part( 'content', 'single-product' ); ?>
										<?php wc_get_template_part( 'content', 'single-product' ); ?>
									<?php endwhile; // end of the loop. ?>
								<?php //do_action('woocommerce_after_main_content'); ?>
							</div>
						</article>
						<?php /*do_action('woocommerce_sidebar');*/ ?>
						<div class="clearfix"></div>
					</div>
				</div>
			</div>
		</div>
								<div class="clearfix"></div>

	</main><!-- #primary -->	
</div>
<div class="clearfix"></div>
<?php get_footer(); ?>
