Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Is this correct schema for product pages?

         

philgames

3:39 pm on Jun 18, 2014 (gmt 0)

10+ Year Member



Hello, I am a nervous wreck when it comes to anything seo nowadays. Currently I am working a on a another eCommerce site... (hopefully the hacker/spammer wont rip this sites content and destroy my livelihood again) anyway I am using opencart and a seo plugin however I am not 100% if the schema is google acceptable... rather I read to many articles saying you can get manually destroyed by google for rich snippet spam.

Here the code

the schema is just in the header and not in the body.. my concerns arise after reading google help files saying schema should be for visible stuff.... o it shouldnt be in the header? what about the div the seo plugin created?
Everything matches up with the information on the page... but google being google I dont want to risk anything.

I respect peoples input on these forums so would appreciate any help with this.

Thanks


<base href="http://exmaple.com/" />

<meta property="og:type" content="og:product" />
<meta property="product:price:amount" content="6.9900" />
<meta property="product:price:currency" content="GBP" />

<meta property="og:title" content="my product" />
<meta property="og:url" content="http://exmaple.com/index.php?product1" />
<meta property="og:image" content="http://exmaple.com/image/cache/data/product-picture-500x500.png" />
<meta property="og:site_name" content="exmaple" />



<div itemscope="itemscope" itemtype="http://schema.org/Product" />
<div itemscope="itemscope" style="display:none;" xmlns:v="http://rdf.data-vocabulary.org/#" />
<ul itemprop="breadcrumb">
<li class="bcrumb-0" typeof="v:Breadcrumb" >
<a href="http://exmaple.com/index.php?route=common/home" title="Home" rel="v:url" property="v:title">Home</a>
</li>
<li class="bcrumb-1" typeof="v:Breadcrumb" >
<a href="http://exmaple.com/index.php?product1" title="my product" rel="v:url" property="v:title">my product</a>
</li>
</ul>
</div>
<meta itemprop="name" content="my product" />
<meta itemprop="url" content="http://exmaple.com/index.php?product1" />
<meta itemprop="image" content="http://exmaple.com/image/cache/data/product-picture-500x500.png" />
<meta itemprop="model" content="8" />
<div itemscope="itemscope" itemtype="http://schema.org/Offer" >
<meta itemprop="name" content="my product" />
<meta itemprop="price" content="6.9900" />
<meta itemprop="priceCurrency" content="GBP" />
<link itemprop="availability" href="http://schema.org/InStock" />
<meta itemprop="category" content="Supports &amp; Braces" />
</div>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" />
<meta itemprop="ratingValue" content="5" />
<meta itemprop="reviewCount" content="1" />
</div>
<div itemprop="review" itemscope="itemscope" itemtype="http://schema.org/Review" />
<meta itemprop="name" content = "my product" />
<meta itemprop="author"content = "John" />
<meta itemprop="datePublished" content="2014-06-04" />
<div itemprop="reviewRating" itemscope="itemscope" itemtype="http://schema.org/Rating">
<meta itemprop="worstRating" content = "1" />
<meta itemprop="ratingValue" content = "5" />
<meta itemprop="bestRating" content = "5" />
</div>
<meta itemprop="description" content = "a review get put here...... as long as it is....." />
</div>


<link href="http://exmaple.com/image/data/cart.png" rel="icon" />
<link href="http://exmaple.com/index.php?product1" rel="canonical" />


aakk9999

11:22 am on Jun 19, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Schema.org [schema.org...] also says the marked up data should be visible.

Have you tried to test your page using Google Structured Data Testing Tool?

Structured Data Testing Tool
http://www.google.com/webmasters/tools/richsnippets [google.com]

philgames

11:31 am on Jun 19, 2014 (gmt 0)

10+ Year Member



thanks for your reply. :D

Yes I have put in the code and my url.. google shows up all the data but I guess google would show the data even when it is against gogole guidelines and invisible data as well wouldnt it?

I wish the tool said if there was any potential problems or breakages of the rules.


the itemprops are in <meta data which would always be invisible right? or can you not have schema in meta data?
so it is whether google likes the <div itemscope="itemscope" itemtype="http://schema.org/Product" />
or not... wouldn't that div not bee shown anyway in a html page?


Oh so confusing :s

aakk9999

11:42 am on Jun 19, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are you showing this kind of data at all elesewhere on the page? e.g. if you have marked up product description, are you showing this description somewhere on the page later on, unmarked?

philgames

11:45 am on Jun 19, 2014 (gmt 0)

10+ Year Member



Yeah its showing unmarked data as well somewhere else.

apart from <meta itemprop="model" content="8" /> because opencart doesn't display that.

I could pm you the demo site of the plugin I use for opencart if you want which is just about exactly the same as my own sites product pages except different products and reviews only if you want.

:)