I discovered a small issue with how the product offer/price microdata is generated.
When you run Googles structured data testing tool, it shows a warning on the price and indicates that we should not be including the currency indicator (dollar, pounds or euros symbols, etc..)
Since we supply the PriceCurrency value in the microdata, they already know which symbol is appropriate. They just want the numeric value. http://schema.org/price
From the /Views/Product/_ProductPrice.cshtml:
@*render price*@
<span @if (String.IsNullOrWhiteSpace(Model.PriceWithDiscount)) { <text> itemprop="price" class="price-value-@(Model.ProductId)" </text> }>
@if (dynamicPriceUpdateSupported && !Model.HidePrices && String.IsNullOrWhiteSpace(Model.PriceWithDiscount))
{
@Html.Raw(Regex.Replace(Model.Price, dynamicPricePattern, dynamicPriceReplacement))
}
else
{
@Html.Raw(Model.Price)
}
</span>
</div>
How can this be changed to at least supply a hidden span with the price, but without the currency symbol?