2011-12-11 01:08:33 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2012-07-10 16:32:56 +00:00
|
|
|
* Single Product Price, including microdata for SEO
|
2011-12-11 01:08:33 +00:00
|
|
|
*/
|
|
|
|
|
2011-12-11 14:40:25 +00:00
|
|
|
global $post, $product;
|
2011-12-11 01:08:33 +00:00
|
|
|
?>
|
2012-07-10 16:32:56 +00:00
|
|
|
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
|
|
|
|
|
|
|
|
<p itemprop="price" class="price"><?php echo $product->get_price_html(); ?></p>
|
|
|
|
|
|
|
|
<link itemprop="availability" href="http://schema.org/<?php echo $product->is_in_stock() ? 'InStock' : 'OutOfStock'; ?>" />
|
|
|
|
|
|
|
|
</div>
|