google结构化数据可用性未在google中显示

问题描述 投票:1回答:1

我已经为产品配置了google结构化数据。虽然每个itemprop都正确显示在google工具中。示例:Google结构化数据工具。但是在谷歌我看不到价格和可用性。 google中的相同链接google中的相同链接。我已经遵循了Google文档。例如,对于价格,我这样编码(为简单起见,我只输入静态值):

                    <div itemscope itemtype="http://schema.org/Product">
                                    <h2 itemprop="name">Product Name</h2>
                        <p itemprop="description">descriptiondescriptiondescription</p>
                        <link itemprop="image" content="banner.jpg" alt="altdescription">
                        <meta itemprop="sku" content="skudescription">
                        <meta itemprop="mpn" content="mpndescription">
                        <span itemprop="Brand" itemscope itemtype="http://schema.org/Brand">
                        <meta itemprop="name" content="xxx.com"/>
                        </span>
                        <span itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer"/>
                        <meta itemprop="price" content="39"/>
                        <meta itemprop="priceCurrency" content="EUR"/>
                        <meta itemprop="lowPrice" content="49"/>
                        <meta itemprop="highPrice" content="249"/>
                        <meta itemprop="offerCount" content="20"/>
                        </span>
                        <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
                        <meta itemprop="ratingValue" content="4.9"/>
                        <meta itemprop="ratingCount" content="37" />
                        <meta itemprop="bestRating" content="5">
                        <meta itemprop="worstRating" content="1">
                        </span>
                        <span itemprop="review" itemscope itemtype="http://schema.org/Review"/>
                        <meta itemprop="author" content="xxx xxxx"/>
                        <meta itemprop="name" content="xxx xxx"/>
                        <meta itemprop="description" content="reviewdescription"/>
                        </span>
                        <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"/>
                        <meta itemprop="ratingValue" content="4.9"/>
                        <meta itemprop="bestRating" content="5">
                        <meta itemprop="worstRating" content="1">
                        </span>
                    </div>
                        <div class="table-responsive" itemscope itemtype="http://schema.org/Offer">                             <table>
                            <tr>
                                    <td itemprop="name">product-name</td>
                                    <meta itemprop="priceCurrency" content="EUR" />
                                    <td itemprop="price"><span class="start-amount">&euro; 49.00</span></td>
                                    <td itemprop="availability" href="http://schema.org/InStock"><a href="#" class="get-free-quote">Order Now</a>
                                    </td>

我也尝试了如下的Json格式

<script type="application/ld+json">{


   "@context":"http://schema.org",
   "@type":"Product",
   "description":"description",
   "name":"namey",
   "image":"/logo.png",
   "sku":"sku-name",
   "mpn":"mpn-name",
   "aggregateRating":{
      "@type":"AggregateRating",
      "ratingValue":"4.7",
      "reviewCount":"36"
   },


   "brand":{
      "@type":"Brand",
      "name":"xxx.com"
   },
   "offers":{
      "@type":"AggregateOffer",
      "availability":"http://schema.org/InStock",
      "price":"39",
      "priceCurrency":"EUR",
      "lowPrice":"39",
      "highPrice":"279",
      "offerCount":"11",
      "priceValidUntil":"31-07-2020",
      "url":"url-site/dummy/"
   },



   "review":[
      {
         "@type":"Review",
         "author":"xxx xxx",
         "datePublished":"2019-04-20",
         "description":"review-description",
         "name":"xxx xxxx",
         "reviewRating":{
            "@type":"Rating",
            "bestRating":"5",
            "ratingValue":"5",
            "worstRating":"0"
         }
      }
   ]
}</script>


<script type="application/ld+json">{
   "@context":"http://schema.org",
   "@type":"Organization",
   "image":"/logo.png",
   "name": "org-name",
   "address":{
      "@type":"PostalAddress",
       "streetAddress": "address",
       "addressLocality": "city,
       "addressRegion": "state",
       "postalCode": "000000",
       "addressCountry": "usa"
   },
   "url": "url-site",
   "telephone": "+001-00 00 00 0000"
}</script>

<script type="application/ld+json">{
   "@context":"http://schema.org",
   "@type":"Organization",
   "name": "org-name",
   "url": "url-site",
   "sameAs":[
      "https://www.facebook.com/xxxt",
      "https://twitter.com/xxx"
   ]
}</script>

<script type="application/ld+json">{
   "@context": "http://schema.org",
   "@type": "Organization",
      "url": "url-site",
      "logo": "/logo.png",
      "contactPoint": [{
   "@type": "ContactPoint",
      "telephone": "+001-00 00 00 0000",
      "contactType": "customer service"
      }
   ]
}</script>
schema.org structured-data
1个回答
0
投票

对于您的html示例,您需要将商品放置在商品范围内。目前它是独立出来的。

对于json-ld示例,问题可能是您将可用性放在AggregateOffer中。 Google可能仅在“要约”中支持它,而这是缺少的。

© www.soinside.com 2019 - 2024. All rights reserved.