Miva9/IronandWool Ready Theme: Google Webmaster Tools - Data Highlighter - Does not see the product image? I can highlight all of the items on the page, but the image doesn't appear to allow me to highlight that ?
Announcement
Collapse
No announcement yet.
Google Webmaster Tools Data Highlighter
Collapse
X
-
Although that ReadyTheme does contain structured data, or microdata, it may be the older format. There is an itemprop for the image, however it is contained as a meta element at the bottom of the page code.Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
-
Below is what is included on the product Display page (prod) ... what should it be?
<!-- Google Rich Snippets -->
<div itemscope itemtype="http://data-vocabulary.org/Product">
<meta itemprop="name" content="&mvte:product:name;" />
<meta itemprop="image" content="&mvt:global:socialImage;" />
<meta itemprop="category" content="&mvte:category:name;" />
<meta itemprop="price" content="&mvte:product:formatted_price;" />
<meta itemprop="description" content="&mvte:product:descrip;" />
<!-- <meta itemprop="brand" content="" /> For Use With CPF -->
<div itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Offer">
<meta itemprop="identifier" content="upc:&mvte:product:code;" />
<meta itemprop="price" content="&mvt:product:formatted_price;" />
<meta itemprop="currency" content="USD" />
<meta itemprop="seller" content="&mvte:global:store:name;" />
<meta itemprop="condition" content="new" />
<mvt:if expr="l.settings:product:inv_active">
<meta itemprop="availability" content="&mvte:product:inv_short;" />
<meta itemprop="quantity" content="&mvte:product:inv_available;" />
</mvt:if>
</div>
</div>
Comment
-
Try replacing that block with this one:
Code:<!-- Start: Google Rich Snippets --> <div itemscope itemtype="http://schema.org/Product"> <meta itemprop="name" content="&mvte:product:name;" /> <meta itemprop="image" content="&mvt:global:socialImage;" /> <meta itemprop="category" content="&mvte:category:name;" /> <meta itemprop="description" content="&mvte:product:descrip;" /> <mvt:if expr="NOT ISNULL l.settings:product:customfield_values:customfields:brand"> <meta itemprop="brand" content="&mvte:product:customfield_values:customfields:brand;" /> </mvt:if> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <mvt:if expr="NOT ISNULL l.settings:product:sku"> <meta itemprop="sku" content="&mvte:product:sku;" /> <mvt:else> <meta itemprop="sku" content="&mvte:product:code;" /> </mvt:if> <meta itemprop="name" content="&mvte:product:name;" /> <meta itemprop="price" content="&mvt:product:price;"/> <meta itemprop="description" content="&mvte:product:descrip;"/> <meta itemprop="priceCurrency" content="USD" /> <meta itemprop="seller" content="&mvte:global:store:name;" /> <meta itemprop="itemCondition" content="new" /> <mvt:if expr="l.settings:product:inv_active"> <meta itemprop="availability" content="&mvte:product:inv_short;" /> <meta itemprop="inventoryLevel" content="&mvte:product:inv_available;" /> </mvt:if> </div> </div> <!-- End: Google Rich Snippets -->
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
Comment