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:
commit
e0951bdf17
|
@ -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>
|
Loading…
Reference in New Issue