woocommerce/templates/single-product.php

33 lines
894 B
PHP
Raw Normal View History

2011-08-09 15:16:18 +00:00
<?php get_header('shop'); ?>
2011-12-08 14:53:14 +00:00
<?php do_action('woocommerce_before_main_content'); ?>
2011-08-09 15:16:18 +00:00
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
2011-08-09 15:16:18 +00:00
<?php do_action('woocommerce_before_single_product'); ?>
2011-08-09 15:16:18 +00:00
<div itemscope itemtype="http://schema.org/Product" id="product-<?php the_ID(); ?>" <?php post_class(); ?>>
2011-08-09 15:16:18 +00:00
<?php do_action('woocommerce_before_single_product_summary'); ?>
2011-08-09 15:16:18 +00:00
<div class="summary">
<h1 itemprop="name" class="product_title page-title"><?php the_title(); ?></h1>
2011-08-09 15:16:18 +00:00
<?php do_action( 'woocommerce_single_product_summary'); ?>
2011-08-09 15:16:18 +00:00
</div>
<?php do_action('woocommerce_after_single_product_summary'); ?>
2011-08-09 15:16:18 +00:00
</div>
<?php do_action('woocommerce_after_single_product'); ?>
2011-08-09 15:16:18 +00:00
<?php endwhile; ?>
<?php do_action('woocommerce_after_main_content'); ?>
2011-08-09 15:16:18 +00:00
<?php do_action('woocommerce_sidebar'); ?>
2011-08-09 15:16:18 +00:00
<?php get_footer('shop'); ?>