* woocommerce_single_product_summary hook
 *
 * @hooked woocommerce_template_single_title - 5
 * @hooked woocommerce_template_single_rating - 10
 * @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 class="single-product-sharing">
						<?php 
if (function_exists('chairman_product_sharing')) {
    chairman_product_sharing();
}
?>
					</div>

				</div><!-- .summary -->
			</div>
		</div>
	</div>
	
	<div class="container">
		<?php 
/**
 * woocommerce_after_single_product_summary hook
 *
 * @hooked woocommerce_output_product_data_tabs - 10
Example #2
0
function product_quickview()
{
    global $product, $post, $woocommerce_loop, $chairman_opt;
    if ($_POST['data']) {
        $productid = intval($_POST['data']);
        $product = get_product($productid);
        $post = get_post($productid);
    }
    ?>
	<div class="woocommerce product">
		<div class="product-images">
			<?php 
    $image_link = wp_get_attachment_url($product->get_image_id());
    ?>
			<div class="main-image images"><img src="<?php 
    echo esc_attr($image_link);
    ?>
" alt="" /></div>
			<?php 
    $attachment_ids = $product->get_gallery_attachment_ids();
    if ($attachment_ids) {
        ?>
				<div class="quick-thumbnails">
					<?php 
        $image_link = wp_get_attachment_url($product->get_image_id());
        ?>
					<div>
						<a href="<?php 
        echo esc_attr($image_link);
        ?>
">
							<?php 
        echo wp_kses($product->get_image('shop_thumbnail'), array('img' => array('src' => array(), 'alt' => array(), 'class' => array(), 'id' => array())));
        ?>
						</a>
					</div>
					<?php 
        $loop = 0;
        $columns = apply_filters('woocommerce_product_thumbnails_columns', 3);
        foreach ($attachment_ids as $attachment_id) {
            ?>
						<div>
						<?php 
            $classes = array('zoom');
            if ($loop == 0 || $loop % $columns == 0) {
                $classes[] = 'first';
            }
            if (($loop + 1) % $columns == 0) {
                $classes[] = 'last';
            }
            $image_link = wp_get_attachment_url($attachment_id);
            if (!$image_link) {
                continue;
            }
            $image = wp_get_attachment_image($attachment_id, apply_filters('single_product_small_thumbnail_size', 'shop_thumbnail'));
            $image_class = esc_attr(implode(' ', $classes));
            $image_title = esc_attr(get_the_title($attachment_id));
            echo apply_filters('woocommerce_single_product_image_thumbnail_html', sprintf('<a href="%s" class="%s" title="%s" data-rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image), $attachment_id, $product->ID, $image_class);
            $loop++;
            ?>
						</div>
						<?php 
        }
        ?>
				</div>
				<?php 
    }
    ?>
		</div>
		<div class="product-info">
			<h1><?php 
    echo esc_html($product->get_title());
    ?>
</h1>
			
			<div class="price-box" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
				<p class="price">
					<?php 
    echo wp_kses($product->get_price_html(), array('p' => array('class' => array()), 'span' => array('class' => array()), 'dell' => array(), 'ins' => array()));
    ?>
				</p>
			</div>
			
			<a class="see-all" href="<?php 
    echo esc_url($product->get_permalink());
    ?>
"><?php 
    echo esc_html($chairman_opt['quickview_link_text']);
    ?>
</a>
			<div class="quick-add-to-cart">
				<?php 
    woocommerce_template_single_add_to_cart();
    ?>
			</div>
			<div class="quick-desc"><?php 
    echo do_shortcode(get_post($productid)->post_excerpt);
    ?>
</div>
			<div class="social-sharing"><?php 
    chairman_product_sharing();
    ?>
</div>
		</div>
	</div>
	<?php 
    die;
}