OpenStore icon indicating copy to clipboard operation
OpenStore copied to clipboard

changes in schema

Open Tychodewaard opened this issue 5 years ago • 2 comments

Hi Dave

Earlier this month Google made an update which makes it necessary to update the productdisplay.cshtml. You can verify in Google Search console that it will say something like pages need 'offers, reviews or aggregatedprice'. By default the template incorporates the schema/product but it also needs the /offer.

I fixed it by changing the <div class="price"> <div itemprop="offers" itemtype="http://schema.org/Offer" itemscope class="price">

Make sure the price in the razor is still: <span itemprop="price">@(NBrightBuyUtils.FormatToStoreCurrency(product.BestPrice()))</span>

Tychodewaard avatar Mar 28 '19 10:03 Tychodewaard