Merge pull request #6160 from splashingpixels/rich-snippet

reverted rich snippet currency to priceCurrency due to a typo in Googles...
This commit is contained in:
Mike Jolley 2014-09-04 08:46:51 +01:00
commit e0951bdf17
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ global $product;
<p class="price"><?php echo $product->get_price_html(); ?></p>
<meta itemprop="price" content="<?php echo $product->get_price(); ?>" />
<meta itemprop="currency" content="<?php echo get_woocommerce_currency(); ?>" />
<meta itemprop="priceCurrency" content="<?php echo get_woocommerce_currency(); ?>" />
<link itemprop="availability" href="http://schema.org/<?php echo $product->is_in_stock() ? 'InStock' : 'OutOfStock'; ?>" />
</div>