Hi
I used microdata in my product page . But I did not correct response.
It shows search product result by using meta tags not microdata.
And my product is special not common.
My cod :
<div class="product-info" itemscope itemtype="http://schema.org/Product"> <div class="row"> <div class="col-lg-5 col-md-6 col-sm-12 col-xs-12 image-container"> <div class="image"> @{string pic = Model.Id + ".jpg";} <a href="~/Content/image/650_498/@pic" class="colorbox cboxElement"> <img itemprop="image" src="~/Content/image/600_451/@pic" title="@Model.Name" alt="@Model.Name" id="image" class="product-image-zoom img-responsive"> </a> </div> </div> </div> <div class="col-lg-7 col-md-6 col-sm-12 col-xs-12 product-view"> <h1 itemprop="name" style="font-size:30px;font-weight:bold">@Model.Name</h1> <div itemprop="description" class="description"> @Html.Raw(Model.Summary) </div> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="price"> <div itemprop="price" class="price-gruop"> <span class="text-price">price:</span> @Model.Price </div> </div> </div> </div> </div>
Neda99
used microdata in my product page . But I did not correct response.
Please show what response it looks like and what response you think it is correct.
thanks
i wanna to show result with image like when search amazon in Google
but now my result search contain name of website and bold word of tag meta
Neda99
i wanna to show result with image like when search amazon in Google
but now my result search contain name of website and bold word of tag meta
I want HTML result of what it is now and what it should be
please search amazon in Google
or Microsoft
Hi Neda99,
This issue is not related to MVC, I suggest that you could post it to the
HTML forum.
If you are want to add HTML5 Microdata to your applications using Metadata providers, please refer to:
# ASP.NET MVC: Add HTML5 Microdata to your applications using Metadata Providers
On the other hand, there is article about microdata that may benefit you:
http://diveintohtml5.info/extensibility.html
Best Regards
Starain
Thank you