应用于Magento的架构不会出现在richsnippet工具中

应用于Magento的架构不会出现在richsnippet工具中,magento,schema,rich-snippets,structured-data,google-rich-snippets,Magento,Schema,Rich Snippets,Structured Data,Google Rich Snippets,我已经根据我的网站上的在线导师添加了richsnippet代码。但我无法看到模式代码出现在这里,这是一个如何显示的示例 我能知道有什么问题吗 如果有任何问题,您能告诉我哪些文件需要编辑,哪些代码需要添加。url地址区分大小写 type: http://schema.org/product type: http://schema.org/offer type: http://schema.org/aggregaterating 该url错误,您为标记键入了错误的url正确的url为: type:

我已经根据我的网站上的在线导师添加了richsnippet代码。但我无法看到模式代码出现在这里,这是一个如何显示的示例

我能知道有什么问题吗


如果有任何问题,您能告诉我哪些文件需要编辑,哪些代码需要添加。

url地址区分大小写

type: http://schema.org/product
type: http://schema.org/offer
type: http://schema.org/aggregaterating
该url错误,您为标记键入了错误的url正确的url为:

type: http://schema.org/Product
type: http://schema.org/Offer
type: http://schema.org/AggregateRating
你看到区别了吗

打开模板/catalog/product/view.phtml

div class=”product-essential”: Insert the itemtype
<div class="product-essential" itemscope itemtype="http://schema.org/Product">

div class=”product-name”: Insert the product name
<div class="product-name" itemprop="name">

div class=”std”: Insert the product description
<div class="std" itemprop="description">
打开模板/catalog/product/view/media.phtml

img id=”image: Insert the product image type
<img id="image" itemprop="image"
打开模板/catalog/product/view/type/default.phtml

如果您没有一个div来包装整个代码块,请粘贴下面的内容,如果您更改了它的话

<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">

class=”price-block”: Insert the product price
<div class="price-block" itemprop="price">

Comment out “echo $this->__(‘Availability:’)” and insert this before it
<link itemprop="availability" href="http://schema.org/InStock">
打开模板/review/helper/summary.phtml

 <span itemprop="aggregateRating" itemscope
 itemtype="http://schema.org/AggregateRating"> <?php if
 ($this->getReviewsCount()): ?>  <meta itemprop="ratingValue"
 content="<?php echo $this->getRatingSummary(); ?>"/> <meta
 itemprop="reviewCount" content="<?php echo $this->getReviewsCount();
 ?>" /> <meta itemprop="bestRating" content="100"/> <meta
 itemprop="worstRating" content="0"/> …. </span>
另外,我建议你注册google Plus,因为你的网站没有作者和出版商标记

若你们需要简单的方法,可以使用谷歌网站管理员工具,在那个里编辑产品标记