| Current File : //home/tekstore/new.tekstore.ng/wp-content/themes/shoppystore/mlayouts/single-product.php |
<?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
get_header();
?>
<div class="container">
<div class="content-product-detail" role="main">
<?php
/**
* woocommerce_before_main_content hook
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20
*/
do_action('woocommerce_before_main_content');
?>
<div class="single-product clearfix">
<?php while ( have_posts() ) : the_post(); ?>
<?php
/**
* woocommerce_before_single_product hook
*
* @hooked woocommerce_show_messages - 10
*/
do_action( 'woocommerce_before_single_product' );
global $product;
?>
<div itemscope itemtype="http://schema.org/Product" id="product-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="single-product-top">
<div class="slider_img_productd ">
<!-- woocommerce_show_product_images -->
<?php
/**
* woocommerce_show_product_images hook
*
* @hooked woocommerce_show_product_sale_flash - 10
* @hooked woocommerce_show_product_images - 20
*/
get_template_part('mlayouts/product','image');
?>
</div>
<div class="product-summary">
<!-- woocommerce_template_single_title - 5 -->
<!-- woocommerce_template_single_rating - 10 -->
<!-- woocommerce_template_single_price - 20 -->
<!-- woocommerce_template_single_excerpt - 30 -->
<!-- woocommerce_template_single_add_to_cart 40 -->
<?php
/**
* woocommerce_single_product_summary hook
*
* @hooked woocommerce_template_single_title - 5
* @hooked woocommerce_template_single_price - 10
* @hooked woocommerce_template_single_excerpt - 20
* @hooked woocommerce_template_single_add_to_cart - 30
* @hooked woocommerce_template_single_meta - 40
* @hooked woocommerce_template_single_sharing - 50
*/
do_action( 'woocommerce_single_product_summary' );
?>
</div>
</div>
</div>
<div class="tabs clearfix">
<?php
/**
* woocommerce_after_single_product_summary hook
*
* @hooked woocommerce_output_product_data_tabs - 10
* @hooked woocommerce_output_related_products - 20
*/
do_action( 'woocommerce_after_single_product_summary' );
?>
</div>
<?php if (is_active_sidebar('bottom-detail-product-mobile')) { ?>
<div class="bottom-single-product theme-clearfix">
<?php dynamic_sidebar('bottom-detail-product-mobile'); ?>
</div>
<?php } ?>
<?php do_action( 'woocommerce_after_single_product' ); ?>
<?php endwhile; // end of the loop. ?>
</div>
<?php
/**
* woocommerce_after_main_content hook
*
* @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
*/
do_action('woocommerce_after_main_content');
?>
</div>
</div>
<?php get_footer(); ?>