View Single Post
  #7  
Old 11-14-2014, 12:22 PM
Rick G's Avatar
Rick G Rick G is offline
Ecwid Team
 
Join Date: Jun 2014
Posts: 1,271
Default

Quote:
Originally Posted by de8263981263 View Post
Google Webmaster Tools is still reporting errors for:
Missing: name
Missing: price

Could ecwid possibly just remove all schema from the product widget code? It would be nice to not have ecwid introduce errors into my optimized pages...

Although it may not be a best practice, I've been able to successfully implement schema microdata using metadata in empty divs. Google is recognizing the following without any issues:

<!-- Begin Product Schema Microdata -->
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://example.com/" itemprop="url"><meta itemprop="title" content="Example" /></a>
</div>
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://example.com/" itemprop="url"><meta itemprop="title" content="Example" /></a>
</div>
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://example.com/" itemprop="url"><meta itemprop="title" content="Example" /></a>
</div>

<div itemscope itemtype="http://schema.org/Organization">
<meta itemprop="brand" content="Example" />
<meta itemprop="logo" content="http://example.com/images/example.jpg" />
<meta itemprop="founder" content="Example" />
<meta itemprop="foundingDate" content="2014" />
<meta itemprop="location" content="Example, Ex" />
</div>

<div itemscope itemtype="http://schema.org/Product">
<meta itemprop="url" content="http://example.com/" />
<meta itemprop="name" content="Example" />
<meta itemprop="image" content="http://example.com/images/example.jpg" />
<meta itemprop="description" content="Exaple example example." />
<meta itemprop="model" content="Example" />
</div>

<div itemscope itemtype="http://schema.org/Offer">
<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />
<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#DinersClub" />
<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#Discover" />
<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#JCB" />
<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />
<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#MasterCard" />
<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#VISA" />
<meta itemprop="acceptedPaymentMethod" content="Bitcoin" />
<meta itemprop="availability" content="In stock" />
<meta itemprop="price" content="$0.00" />
</div>
<!-- End Product Schema Microdata -->
Hi de8263981263.

I inspected your page with a Google Structured Data tool and I don't see any
Missing: name
Missing: price

errors there.

However I see that you added your own schema parameters manually and they are recognised by Google tool.

Also there are some errors that I do see:

Error: Page contains property "options" which is not part of the schema.
Error: Page contains property "qty" which is not part of the schema.
Error: Page contains property "addtobag" which is not part of the schema.
Error: Missing required field "name (fn)".

Unfortunately you are not able to remove these errors, because Ecwid embeddable products use them to load the appropriate widgets, such as add to bag button, quantity block display and product options, so basically they are essential for your embeddable product for it to work properly.

Thank you.
__________________
Ecwid API and App Market Team
Ecwid Developer Website

Last edited by Vitaliy G; 11-17-2014 at 02:08 PM. Reason: de8263981263 request