商家資訊 (ProductOffer) 結構化資料

搜尋結果中的購物知識面板外觀

在網頁中加入 Product 標記後,該網頁就能顯示在 Google 搜尋的商家資訊體驗中,包括購物知識面板、Google 圖片、熱門產品搜尋結果和產品摘要。產品資訊可以突顯產品的特定資料,例如價格、供應情形,以及運送和退貨資訊。

本指南的重點為商家資訊的 Product 結構化資料規定。如果不確定該使用何種標記,請參閱「Product 標記簡介」。

如何新增結構化資料

結構化資料是一種標準化格式,能夠提供網頁相關資訊並分類網頁內容。如果您是第一次使用結構化資料,請參閱這篇文章,進一步瞭解結構化資料的運作方式。

以下簡要說明如何建立、測試及發布結構化資料。

  1. 新增必要屬性。根據您使用的格式,瞭解要在網頁中的什麼位置插入結構化資料
  2. 遵循指南規範
  3. 使用複合式搜尋結果測試驗證程式碼,並修正所有重大錯誤。此外,我們也建議您修正工具中可能標記的任何非重大問題,因為這有助於改善結構化資料的品質 (但並非符合複合式搜尋結果的顯示條件)。
  4. 部署幾個包含結構化資料的網頁,並使用網址檢查工具測試 Google 轉譯網頁的情形。請確認 Google 可以存取您的網頁,且網頁並未遭到 robots.txt 檔案或 noindex 標記封鎖,也未設有登入規定。如果網頁看起來沒問題,您可以要求 Google 重新檢索您的網址
  5. 為了讓 Google 掌握日後的異動內容,建議您提交 Sitemap。您可以使用 Search Console Sitemap API 自動執行這項操作。

範例

以下舉例說明如何在各種情況下,在網頁中加入結構化資料。

含有優惠的產品網頁

以下是有銷售產品的產品網頁範例,其中包含產品評論。

JSON-LD


 <html>
  <head>
    <title>Executive Anvil</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Product",
      "name": "Executive Anvil",
      "image": [
        "https://example.com/photos/1x1/photo.jpg",
        "https://example.com/photos/4x3/photo.jpg",
        "https://example.com/photos/16x9/photo.jpg"
       ],
      "description": "Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height.",
      "sku": "0446310786",
      "mpn": "925872",
      "brand": {
        "@type": "Brand",
        "name": "ACME"
      },
      "review": {
        "@type": "Review",
        "reviewRating": {
          "@type": "Rating",
          "ratingValue": 4,
          "bestRating": 5
        },
        "author": {
          "@type": "Person",
          "name": "Fred Benson"
        }
      },
      "aggregateRating": {
        "@type": "AggregateRating",
        "ratingValue": 4.4,
        "reviewCount": 89
      },
      "offers": {
        "@type": "Offer",
        "url": "https://example.com/anvil",
        "priceCurrency": "USD",
        "price": 119.99,
        "priceValidUntil": "2024-11-20",
        "itemCondition": "https://schema.org/UsedCondition",
        "availability": "https://schema.org/InStock"
      }
    }
    </script>
  </head>
  <body>
  </body>
</html>

RDFa


 <html>
  <head>
    <title>Executive Anvil</title>
  </head>
  <body>
    <div typeof="schema:Product">
        <div rel="schema:review">
          <div typeof="schema:Review">
            <div rel="schema:reviewRating">
              <div typeof="schema:Rating">
                <div property="schema:ratingValue" content="4"></div>
                <div property="schema:bestRating" content="5"></div>
              </div>
            </div>
            <div rel="schema:author">
              <div typeof="schema:Person">
                <div property="schema:name" content="Fred Benson"></div>
              </div>
            </div>
          </div>
        </div>
        <div rel="schema:image" resource="https://example.com/photos/4x3/photo.jpg"></div>
        <div property="schema:mpn" content="925872"></div>
        <div property="schema:name" content="Executive Anvil"></div>
        <div property="schema:description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height."></div>
        <div rel="schema:image" resource="https://example.com/photos/1x1/photo.jpg"></div>
        <div rel="schema:brand">
          <div typeof="schema:Brand">
            <div property="schema:name" content="ACME"></div>
          </div>
        </div>
        <div rel="schema:aggregateRating">
          <div typeof="schema:AggregateRating">
            <div property="schema:reviewCount" content="89"></div>
            <div property="schema:ratingValue" content="4.4"></div>
          </div>
        </div>
        <div rel="schema:offers">
          <div typeof="schema:Offer">
            <div property="schema:price" content="119.99"></div>
            <div property="schema:availability" content="https://schema.org/InStock"></div>
            <div property="schema:priceCurrency" content="USD"></div>
            <div property="schema:priceValidUntil" datatype="xsd:date" content="2024-11-20"></div>
            <div rel="schema:url" resource="https://example.com/anvil"></div>
            <div property="schema:itemCondition" content="https://schema.org/UsedCondition"></div>
          </div>
        </div>
        <div rel="schema:image" resource="https://example.com/photos/16x9/photo.jpg"></div>
        <div property="schema:sku" content="0446310786"></div>
      </div>
  </body>
</html>

微資料


 <html>
  <head>
    <title>Executive Anvil</title>
  </head>
  <body>
  <div>
    <div itemtype="https://schema.org/Product" itemscope>
      <meta itemprop="mpn" content="925872" />
      <meta itemprop="name" content="Executive Anvil" />
      <link itemprop="image" href="https://example.com/photos/16x9/photo.jpg" />
      <link itemprop="image" href="https://example.com/photos/4x3/photo.jpg" />
      <link itemprop="image" href="https://example.com/photos/1x1/photo.jpg" />
      <meta itemprop="description" content="Sleeker than ACME's Classic Anvil, the Executive Anvil is perfect for the business traveler looking for something to drop from a height." />
      <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope>
        <link itemprop="url" href="https://example.com/anvil" />
        <meta itemprop="availability" content="https://schema.org/InStock" />
        <meta itemprop="priceCurrency" content="USD" />
        <meta itemprop="itemCondition" content="https://schema.org/UsedCondition" />
        <meta itemprop="price" content="119.99" />
        <meta itemprop="priceValidUntil" content="2024-11-20" />
      </div>
      <div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope>
        <meta itemprop="reviewCount" content="89" />
        <meta itemprop="ratingValue" content="4.4" />
      </div>
      <div itemprop="review" itemtype="https://schema.org/Review" itemscope>
        <div itemprop="author" itemtype="https://schema.org/Person" itemscope>
          <meta itemprop="name" content="Fred Benson" />
        </div>
        <div itemprop="reviewRating" itemtype="https://schema.org/Rating" itemscope>
          <meta itemprop="ratingValue" content="4" />
          <meta itemprop="bestRating" content="5" />
        </div>
      </div>
      <meta itemprop="sku" content="0446310786" />
      <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope>
        <meta itemprop="name" content="ACME" />
      </div>
    </div>
  </div>
  </body>
</html>

定價

以下兩個範例說明如何以 JSON-LD 進行價格編碼。

您可以使用 price 屬性指定價格,如下所示:

"offers": {
  "@type": "Offer",
  "price": 10.00,
  "priceCurrency": "USD",
  ...
}

或者,您也可以使用 priceSpecification 屬性指定價格。

"offers": {
  "@type": "Offer",
  "priceSpecification": {
    "@type": "UnitPriceSpecification",
    "price": 10.00,
    "priceCurrency": "USD"
  },
  ...
}

按照計價單位定價

以下範例說明如何為 4.5 公升的產品 (一律以 750 毫升的倍數販售) 指定價格。在歐盟地區,如果產品是以數量或重量販售,這種定價模式特別重要。

顯示計價單位基準計價單位時,請在 UnitPriceSpecification 中指定價格。

"priceSpecification": {
"@type": "UnitPriceSpecification",
"price": 81.00,
"priceCurrency": "EUR",
"referenceQuantity": {
  "@type": "QuantitativeValue",
  "value": "4.5",
  "unitCode": "LTR",
  "valueReference": {
    "@type": "QuantitativeValue",
    "value": "750",
    "unitCode": "MLT"
  }
}
}

運送詳細資料

以下是含運送詳細資料的產品頁面範例。這個範例能夠篩選出美國境內所有使用者,並將這些使用者的運費設為 $3.49 美元。如需更多範例,請參閱「運送」一節。

JSON-LD


 <html>
  <head>
    <title>Nice trinket</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Product",
      "sku": "trinket-12345",
      "gtin14": "12345678901234",
      "image": [
        "https://example.com/photos/16x9/trinket.jpg",
        "https://example.com/photos/4x3/trinket.jpg",
        "https://example.com/photos/1x1/trinket.jpg"
      ],
      "name": "Nice trinket",
      "description": "Trinket with clean lines",
      "brand": {
        "@type": "Brand",
        "name": "MyBrand"
      },
      "offers": {
        "@type": "Offer",
        "url": "https://www.example.com/trinket_offer",
        "itemCondition": "https://schema.org/NewCondition",
        "availability": "https://schema.org/InStock",
        "price": 39.99,
        "priceCurrency": "USD",
        "priceValidUntil": "2024-11-20",
        "shippingDetails": {
          "@type": "OfferShippingDetails",
          "shippingRate": {
            "@type": "MonetaryAmount",
            "value": 3.49,
            "currency": "USD"
          },
          "shippingDestination": {
            "@type": "DefinedRegion",
            "addressCountry": "US"
          },
          "deliveryTime": {
            "@type": "ShippingDeliveryTime",
            "handlingTime": {
              "@type": "QuantitativeValue",
              "minValue": 0,
              "maxValue": 1,
              "unitCode": "DAY"
            },
            "transitTime": {
              "@type": "QuantitativeValue",
              "minValue": 1,
              "maxValue": 5,
              "unitCode": "DAY"
            }
          }
        }
      },
      "review": {
        "@type": "Review",
          "reviewRating": {
            "@type": "Rating",
            "ratingValue": 4,
            "bestRating": 5
          },
          "author": {
            "@type": "Person",
            "name": "Fred Benson"
          }
        },
        "aggregateRating": {
          "@type": "AggregateRating",
          "ratingValue": 4.4,
          "reviewCount": 89
        }
      }
    </script>
  </head>
  <body>
  </body>
</html>

RDFa


 <html>
  <head>
    <title>Nice trinket</title>
  </head>
  <body>
    <div typeof="schema:Product">
      <div property="schema:sku" content="trinket-12345"></div>
      <div property="schema:gtin14" content="12345678901234"></div>
      <div property="schema:name" content="Nice trinket"></div>
      <div rel="schema:image" resource="https://example.com/photos/16x9/trinket.jpg"></div>
      <div rel="schema:image" resource="https://example.com/photos/4x3/trinket.jpg"></div>
      <div rel="schema:image" resource="https://example.com/photos/1x1/trinket.jpg"></div>
      <div property="schema:description" content="Trinket with clean lines"></div>
      <div rel="schema:brand">
        <div typeof="schema:Brand">
          <div property="schema:name" content="MyBrand"></div>
        </div>
      </div>
      <div rel="schema:offers">
        <div typeof="schema:Offer">
          <div rel="schema:url" resource="https://example.com/trinket_offer"></div>
          <div property="schema:itemCondition" content="https://schema.org/NewCondition"></div>
          <div property="schema:availability" content="https://schema.org/InStock"></div>
          <div property="schema:price" content="39.99"></div>
          <div property="schema:priceCurrency" content="USD"></div>
          <div property="schema:priceValidUntil" datatype="xsd:date" content="2024-11-20"></div>
          <div rel="schema:shippingDetails">
            <div typeof="schema:OfferShippingDetails">
              <div rel="schema:shippingRate">
                <div typeof="schema:MonetaryAmount">
                  <div property="schema:value" content="3.49"></div>
                  <div property="schema:currency" content="USD"></div>
                </div>
              </div>
              <div rel="schema:shippingDestination">
                <div typeof="schema:DefinedRegion">
                  <div property="schema:addressCountry" content="US"></div>
                </div>
              </div>
              <div rel="schema:deliveryTime">
                <div typeof="schema:ShippingDeliveryTime">
                  <div rel="schema:handlingTime">
                    <div typeof="schema:QuantitativeValue">
                      <div property="schema:minValue" content="0"></div>
                      <div property="schema:maxValue" content="1"></div>
                      <div property="schema:unitCode" content="DAY"></div>
                    </div>
                  </div>
                  <div rel="schema:transitTime">
                    <div typeof="schema:QuantitativeValue">
                      <div property="schema:minValue" content="1"></div>
                      <div property="schema:maxValue" content="5"></div>
                      <div property="schema:unitCode" content="DAY"></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div rel="schema:review">
        <div typeof="schema:Review">
          <div rel="schema:reviewRating">
            <div typeof="schema:Rating">
              <div property="schema:ratingValue" content="4"></div>
              <div property="schema:bestRating" content="5"></div>
            </div>
          </div>
          <div rel="schema:author">
            <div typeof="schema:Person">
              <div property="schema:name" content="Fred Benson"></div>
            </div>
          </div>
        </div>
      </div>
      <div rel="schema:aggregateRating">
        <div typeof="schema:AggregateRating">
          <div property="schema:reviewCount" content="89"></div>
          <div property="schema:ratingValue" content="4.4"></div>
        </div>
      </div>
    </div>
  </body>
</html>

微資料


 <html>
  <head>
    <title>Nice trinket</title>
  </head>
  <body>
  <div>
    <div itemtype="https://schema.org/Product" itemscope>
      <meta itemprop="sku" content="trinket-12345" />
      <meta itemprop="gtin14" content="12345678901234" />
      <meta itemprop="name" content="Nice trinket" />
      <link itemprop="image" href="https://example.com/photos/16x9/trinket.jpg" />
      <link itemprop="image" href="https://example.com/photos/4x3/trinket.jpg" />
      <link itemprop="image" href="https://example.com/photos/1x1/trinket.jpg" />
      <meta itemprop="description" content="Trinket with clean lines" />
      <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope>
        <meta itemprop="name" content="MyBrand" />
      </div>
      <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope>
        <link itemprop="url" href="https://www.example.com/trinket_offer" />
        <meta itemprop="itemCondition" content="https://schema.org/NewCondition" />
        <meta itemprop="availability" content="https://schema.org/InStock" />
        <meta itemprop="price" content="39.99" />
        <meta itemprop="priceCurrency" content="USD" />
        <meta itemprop="priceValidUntil" content="2024-11-20" />
        <div itemprop="shippingDetails" itemtype="https://schema.org/OfferShippingDetails" itemscope>
          <div itemprop="shippingRate" itemtype="https://schema.org/MonetaryAmount" itemscope>
            <meta itemprop="value" content="3.49" />
            <meta itemprop="currency" content="USD" />
          </div>
          <div itemprop="shippingDestination" itemtype="https://schema.org/DefinedRegion" itemscope>
            <meta itemprop="addressCountry" content="US" />
          </div>
          <div itemprop="deliveryTime" itemtype="https://schema.org/ShippingDeliveryTime" itemscope>
            <div itemprop="handlingTime" itemtype="https://schema.org/QuantitativeValue" itemscope>
              <meta itemprop="minValue" content="0" />
              <meta itemprop="maxValue" content="1" />
              <meta itemprop="unitCode" content="DAY" />
            </div>
            <div itemprop="transitTime" itemtype="https://schema.org/QuantitativeValue" itemscope>
              <meta itemprop="minValue" content="1" />
              <meta itemprop="maxValue" content="5" />
              <meta itemprop="unitCode" content="DAY" />
            </div>
          </div>
        </div>
      </div>
      <div itemprop="review" itemtype="https://schema.org/Review" itemscope>
        <div itemprop="author" itemtype="https://schema.org/Person" itemscope>
          <meta itemprop="name" content="Fred Benson" />
        </div>
        <div itemprop="reviewRating" itemtype="https://schema.org/Rating" itemscope>
          <meta itemprop="ratingValue" content="4" />
          <meta itemprop="bestRating" content="5" />
        </div>
      </div>
      <div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope>
        <meta itemprop="reviewCount" content="89" />
        <meta itemprop="ratingValue" content="4.4" />
      </div>
    </div>
  </div>
  </body>
</html>

免運費

以下範例是為美國紐約州的買家提供免運費服務。

"shippingDetails": {
  "@type": "OfferShippingDetails",
  "shippingRate": {
    "@type": "MonetaryAmount",
    "value": "0",
    "currency": "USD"
  },
  "shippingDestination": [
    {
      "@type": "DefinedRegion",
      "addressCountry": "US",
      "addressRegion": ["NY"]
    }
  ]
}

退貨詳細資訊

以下是含有退貨詳細資料的產品頁面範例。這項標記符合某項退貨政策,該政策規定產品必須在 60 天內退回並運送至美國,且不會收取退貨費用。

JSON-LD


 <html>
  <head>
    <title>Nice trinket</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Product",
      "sku": "trinket-12345",
      "gtin14": "12345678901234",
      "image": [
        "https://example.com/photos/16x9/trinket.jpg",
        "https://example.com/photos/4x3/trinket.jpg",
        "https://example.com/photos/1x1/trinket.jpg"
      ],
      "name": "Nice trinket",
      "description": "Trinket with clean lines",
      "brand": {
        "@type": "Brand",
        "name": "MyBrand"
      },
      "offers": {
        "@type": "Offer",
        "url": "https://www.example.com/trinket_offer",
        "itemCondition": "https://schema.org/NewCondition",
        "availability": "https://schema.org/InStock",
        "priceSpecification": {
          "@type": "PriceSpecification",
          "price": 39.99,
          "priceCurrency": "CHF"
        },
        "hasMerchantReturnPolicy": {
          "@type": "MerchantReturnPolicy",
          "applicableCountry": "CH",
          "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
          "merchantReturnDays": 60,
          "returnMethod": "https://schema.org/ReturnByMail",
          "returnFees": "https://schema.org/FreeReturn"
        }
      }
    }
    </script>
  </head>
  <body>
  </body>
</html>

RDFa


 <html>
  <head>
    <title>Nice trinket</title>
  </head>
  <body>
    <div typeof="schema:Product">
      <div property="schema:sku" content="trinket-12345"></div>
      <div property="schema:gtin14" content="12345678901234"></div>
      <div property="schema:name" content="Nice trinket"></div>
      <div rel="schema:image" resource="https://example.com/photos/16x9/trinket.jpg"></div>
      <div rel="schema:image" resource="https://example.com/photos/4x3/trinket.jpg"></div>
      <div rel="schema:image" resource="https://example.com/photos/1x1/trinket.jpg"></div>
      <div property="schema:description" content="Trinket with clean lines"></div>
      <div rel="schema:brand">
        <div typeof="schema:Brand">
          <div property="schema:name" content="MyBrand"></div>
        </div>
      </div>
      <div rel="schema:offers">
        <div typeof="schema:Offer">
          <div rel="schema:url" resource="https://example.com/trinket_offer"></div>
          <div property="schema:itemCondition" content="https://schema.org/NewCondition"></div>
          <div property="schema:availability" content="https://schema.org/InStock"></div>
          <div property="schema:price" content="39.99"></div>
          <div property="schema:priceCurrency" content="CHF"></div>
          <div property="schema:priceValidUntil" datatype="xsd:date" content="2024-11-20"></div>
          <div rel="schema:hasMerchantReturnPolicy">
            <div typeof="schema:MerchantReturnPolicy">
              <div property="schema:applicableCountry" content="US"></div>
              <div property="schema:returnPolicyCategory" content="https://schema.org/MerchantReturnFiniteReturnWindow"></div>
              <div property="schema:merchantReturnDays" content="60"></div>
              <div property="schema:returnMethod" content="https://schema.org/ReturnByMail"></div>
              <div property="schema:returnFees" content="https://schema.org/FreeReturn"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>

微資料


 <html>
  <head>
    <title>Nice trinket</title>
  </head>
  <body>
  <div>
    <div itemtype="https://schema.org/Product" itemscope>
      <meta itemprop="sku" content="trinket-12345" />
      <meta itemprop="gtin14" content="12345678901234" />
      <meta itemprop="name" content="Nice trinket" />
      <link itemprop="image" href="https://example.com/photos/16x9/trinket.jpg" />
      <link itemprop="image" href="https://example.com/photos/4x3/trinket.jpg" />
      <link itemprop="image" href="https://example.com/photos/1x1/trinket.jpg" />
      <meta itemprop="description" content="Trinket with clean lines" />
      <div itemprop="brand" itemtype="https://schema.org/Brand" itemscope>
        <meta itemprop="name" content="MyBrand" />
      </div>
      <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope>
        <link itemprop="url" href="https://www.example.com/trinket_offer" />
        <meta itemprop="itemCondition" content="https://schema.org/NewCondition" />
        <meta itemprop="availability" content="https://schema.org/InStock" />
        <meta itemprop="price" content="39.99" />
        <meta itemprop="priceCurrency" content="CHF" />
        <meta itemprop="priceValidUntil" content="2024-11-20" />
        <div itemprop="hasMerchantReturnPolicy" itemtype="https://schema.org/MerchantReturnPolicy" itemscope>
          <meta itemprop="applicableCountry" content="US" />
          <meta itemprop="returnPolicyCategory" content="https://schema.org/MerchantReturnFiniteReturnWindow" />
          <meta itemprop="merchantReturnDays" content="60" />
          <meta itemprop="returnMethod" content="https://schema.org/ReturnByMail" />
          <meta itemprop="returnFees" content="https://schema.org/FreeReturn" />
        </div>
      </div>
    </div>
  </div>
  </body>
</html>

能源效率評分

以下範例說明如何透過結構化資料指定能源效率資訊。本範例指定某熱水器的歐盟能源效率等級為 "C" (範圍為 "A+""F")。

請注意,最低能源效率等級值會指定在能源消耗量方面的最低效率等級 (在本例中為 "F"),而最高能源效率等級值則指定最高效率等級 (在本例中為 "A+")。

{
  "@context": "https://schema.org/",
  "@type": "Product",
  "sku": "1234-5678",
  "image": "https://www.example.com/waterheater.jpg",
  "name": "Water heater",
  "description": "Large capacity water heater",
  "gtin14": "12345678901231",
  "mpn": "WH1234",
  "brand": {
    "@type": "Brand",
    "name": "ExampleWaterHeaterBrand"
  },
  "hasEnergyConsumptionDetails": {
    "@type": "EnergyConsumptionDetails",
    "hasEnergyEfficiencyCategory": "https://schema.org/EUEnergyEfficiencyCategoryC",
    "energyEfficiencyScaleMin": "https://schema.org/EUEnergyEfficiencyCategoryF",
    "energyEfficiencyScaleMax": "https://schema.org/EUEnergyEfficiencyCategoryA1Plus"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/hotwaterheater",
    "itemCondition": "https://schema.org/NewCondition",
    "availability": "https://schema.org/InStock",
    "price": 1799.00,
    "priceCurrency": "EUR"
  }
}

3D 模型

本例說明如何將 3D 模型連結至含有 subjectOf 屬性和 3DModel 類型的產品。

{
  "@context": "https://schema.org/",
  "@type": "Product",
  "sku": "1234-5678",
  "image": "https://www.example.com/sofa.jpg",
  "name": "Water heater",
  "description": "White 3-Seat Sofa",
  "gtin14": "12345678901231",
  "mpn": "S1234W3",
  "brand": {
    "@type": "Brand",
    "name": "ExampleSofaBrand"
  },
  "subjectOf": {
    "@type": "3DModel",
    "encoding": {
      "@type": "MediaObject",
      "contentUrl": "https://example.com/sofa.gltf"
    }
  },
  "offers": {
    "@type": "Offer",
    "url": "https://www.example.com/whitechaiselongue",
    "itemCondition": "https://schema.org/NewCondition",
    "availability": "https://schema.org/InStock",
    "price": 1299.00,
    "priceCurrency": "USD"
  }
}

指南

如要讓 Product 標記適用於商家資訊體驗,請務必遵守下列指南:

技術指南

  • 只有購物者可購買產品的網頁,才可提供商家資訊體驗,不適用於提供其他產品銷售網站連結的網頁。Google 可能會先嘗試驗證商家資訊產品資料,之後才會在搜尋結果中顯示相關資訊。
  • 目前,產品複合式搜尋結果僅支援以單一產品 (或相同產品的多個子類) 為主的網頁,舉例來說,「我們店裡的鞋子」就不算特定產品。 包括每個產品子類都有不同網址的產品子類。 建議您主要將標記新增到產品頁面,而不是商品清單頁面或商品類別頁面。
  • 如要進一步瞭解如何標記產品子類,請參閱產品子類結構化資料說明文件
  • 如要以多種貨幣販售產品,請為每種貨幣指定不同的網址。 舉例來說,如果產品以加幣和美元販售,請使用兩個不同的網址,每種貨幣各使用一個網址。
  • 目前系統不會自動支援 Car 做為「產品」的子類型。如果要附上評分,同時符合使用搜尋功能的資格,您暫時必須同時納入「汽車」和「產品」類型。JSON-LD 格式範例:
    {
      "@context": "https://schema.org",
      "@type": ["Product", "Car"],
      ...
    }

內容指南

  • 我們禁止任何內容宣傳廣受禁止或管制的商品、服務或資訊,只要可能對使用者造成嚴重、立即或長期傷害的都不行。這類相關內容包括槍械和武器、娛樂性藥物、菸草製品和電子菸產品,以及賭博相關產品。

結構化資料類型定義

您的內容必須包含必要屬性,才能以複合式搜尋結果形式呈現。您也可以加入建議屬性,為結構化資料補充更多資訊,創造更優質的使用者體驗。

產品資訊

Product

schema.org/Product 內提供 Product 的完整定義。標記產品資訊內容時,請使用 Product 類型的下列屬性:

必要屬性
name

Text

產品名稱。

image

重複的 ImageObjectURL

產品相片的網址。建議選用能夠清楚顯示產品的相片 (例如使用白色背景)。

其他圖片規範:

  • 每個網頁都必須包含至少一張圖片 (無論是否已加上標記)。Google 會根據顯示比例和解析度,選擇最適當的圖片顯示在搜尋結果中。
  • 圖片網址必須可供檢索和建立索引。如要測試 Google 能否存取您的網址,請使用網址檢查工具
  • 圖片內容與您標記的內容必須相符。
  • 圖片檔案必須使用 Google 圖片支援的格式
  • 為了獲得最佳結果,建議您使用以下長寬比,提供多張高解析度圖片 (寬度和高度相乘時至少 50K 像素):16x9、4x3 和 1x1。

例如:

"image": [
  "https://example.com/photos/1x1/photo.jpg",
  "https://example.com/photos/4x3/photo.jpg",
  "https://example.com/photos/16x9/photo.jpg"
]
offers

Offer

用來銷售產品的巢狀 Offer

產品摘要片段接受 OfferAggregateOffer,但商家資訊則一定要有 Offer,因為商家必須是產品賣方,才能夠提供商家資訊體驗。

建議屬性
aggregateRating

AggregateRating

產品的巢狀 aggregateRating。請遵循評論摘錄規範,以及必要和建議的 AggregateRating 屬性清單。

audience

PeopleAudience

(選用) 產品的建議目標對象相關資訊,例如建議的性別和年齡層。僅支援 PeopleAudience 類型。請參閱 Google 支援的 PeopleAudience 屬性清單。

brand.name

Text

Brand 類型的 name 屬性中加入該產品的品牌 (如果知道的話)。最多只能加入一個品牌名稱。

color

Text

產品的顏色或顏色組合 (例如「紅色」或「黃色/天空藍」)。另請參閱 Google Merchant Center 說明中的顏色屬性

description

Text

產品說明。 雖然產品說明並非必要,但強烈建議您在這個屬性中提供產品的說明。

gtin | gtin8 | gtin12 | gtin13 | gtin14 | isbn

Text

這個屬性應包含所有適用的全球識別碼;相關說明請參閱 schema.org/Product。雖然您可以為所有全球交易品項識別碼採用通用 gtin 屬性,但還是建議您採用適用於您產品的最明確全球交易品項識別碼,因為這樣可以最準確表示該產品。請確保全球交易品項識別碼值是以數值形式輸入;系統不支援網址形式的全球交易品項識別碼。

isbn 是只對 Book 有效的屬性。為獲得最佳結果,請使用 ISBN-13 格式。如要妥善使用 Book,請一併使用 Product 類型。這樣就能在節點上使用這兩種類型的屬性。例如:

{
  "@context": "https://schema.org",
  "@type": ["Product", "Book"],
  ....
}
hasEnergyConsumptionDetails

EnergyConsumptionDetails

產品 (例如電子產品) 等能源消耗的相關資訊。 這項屬性在歐洲國家/地區尤為重要。另請參閱 Google 支援的 EnergyConsumptionDetails 屬性清單。

inProductGroupWithID

Text

此產品子類所屬的產品群組 ID。另請參閱 Google Merchant Center 說明中的 Item Group Id。最多請指定一個值。

如要進一步瞭解如何為產品子類新增標記,請參閱產品子類結構化資料說明文件
isVariantOf

ProductGroup

這個產品子類所屬的產品群組 (如果適用)。如要進一步瞭解如何為產品子類新增標記,請參閱產品子類結構化資料說明文件

material

Text

產品材質或材質的組合,例如「皮革」或「棉/聚酯纖維」。另請參閱 Google Merchant Center 說明中的 Material

mpn

Text

製造商零件編號。這項屬性專門用來識別特定製造商的產品。

pattern

Text

產品的圖案,例如「波卡圓點」或「條紋」。另請參閱 Google Merchant Center 產品資料規格頁面上的 Pattern

review

Review

產品的巢狀 Review。請遵循評論摘錄規範,以及必要和建議的 review 屬性清單。另請參閱 Product schema.org 類型專屬的其他 Review 屬性清單。

如果您為產品新增評論,評論者的名稱必須是 PersonTeam 的有效名稱。

不建議使用的名稱:黑色星期五 5 折優惠

建議使用的名稱:「James Smith」或「CNET 審核人員」

size

TextSizeSpecification

產品的尺寸,例如「XL」或「M」。另請參閱 Google Merchant Center 產品資料規格頁面中的 size 一節。請參閱 Google 支援的 SizeSpecification 屬性清單。 最多請指定一個值。

sku

Text

產品的商家專屬 ID。最多請指定一個值。

  • sku 值必須使用可代換的有效萬國碼字元。
  • sku 值不得包含任何空白字元 (如「Unicode 空白字元屬性」所定義)。
  • 建議 sku 值僅包含 ASCII 字元。
subjectOf

3DModel

產品的 3D 模型 (如適用)。請參閱 Google 支援的 3DModel 屬性清單。最多請指定一個 3DModel 值。

3DModel

schema.org/3DModel 內提供 3DModel 的完整定義。

請使用下列屬性連結至 3D 模型。目前僅支援 glTF 格式的模型。

必要屬性
encoding

MediaObject

3D 模型的媒體。

encoding.contentUrl

URL

glTF 格式 3D 模型定義檔案的連結。檔案的後置字串必須是 .gltf.glb

優惠詳情

Offer

schema.org/Offer 內提供 Offer 的完整定義。在產品中標記優惠時,請使用 schema.org Offer 類型的下列屬性。

必要屬性
pricepriceSpecification.price

Number

產品的優惠價格。請遵循 schema.org 使用指南

以下是 price 屬性的範例:

"offers": {
  "@type": "Offer",
  "price": 39.99,
  "priceCurrency": "USD"
}

有別於產品摘要,商家資訊體驗要求價格必須大於零。

優惠價格是必填資訊,但可以透過巢狀結構嵌入到 priceSpecification 屬性中,而不必在 Offer 層級提供。

priceCurrencypriceSpecification.priceCurrency

Text

用於表示產品價格的貨幣 (採用三個英文字母組成的 ISO 4217 格式)。

如果指定 price,則必須提供 priceCurrency;如果指定 priceSpecification.price,則必須提供 priceSpecification.priceCurrency

priceSpecification

UnitPriceSpecification

您可以使用 priceSpecification 指定複雜價格,而不使用 price 屬性。請參閱支援的 UnitPriceSpecification 屬性清單,並參考範例,瞭解 如何標記各種不同形式的定價。

您可以使用 pricepriceCurrencyOffer 層級或 priceSpecification 屬性中指定價格。

採用計價單位的價格可以在 UnitPriceSpecification 中指定 referenceQuantity 屬性。

建議屬性
availability

ItemAvailability

可能的產品供應情形選項。系統也支援不含網址前置字元的簡稱 (例如 BackOrder)。

  • https://schema.org/BackOrder:該商品暫時缺貨。
  • https://schema.org/Discontinued:該商品已停產。
  • https://schema.org/InStock:該商品有現貨。
  • https://schema.org/InStoreOnly:該商品只能在店內購買。
  • https://schema.org/LimitedAvailability:該商品限量供應。
  • https://schema.org/OnlineOnly:該商品只能在線上購買。
  • https://schema.org/OutOfStock:該商品目前缺貨中。
  • https://schema.org/PreOrder:該商品可供預購。
  • https://schema.org/PreSale:該商品在正式發布前開放訂購與配送。
  • https://schema.org/SoldOut:該商品已售罄。

請勿指定多個值。

hasMerchantReturnPolicy

MerchantReturnPolicy

Offer 相關聯的退貨政策巢狀資訊。如果決定加入 hasMerchantReturnPolicy,請一併加入必要與建議的 MerchantReturnPolicy 屬性

itemCondition

OfferItemCondition

待銷售商品的條件。系統也支援不含網址前置字元的簡稱 (例如 NewCondition)。

  • https://schema.org/NewCondition:該商品是新品。
  • https://schema.org/RefurbishedCondition:該商品為整新品。
  • https://schema.org/UsedCondition:該商品為二手商品 (非全新品)。

請勿指定多個值。

shippingDetails

OfferShippingDetails

Offer 相關聯的運送政策和運送選項巢狀資訊。如果決定加入 shippingDetails,請一併加入必要與建議的 OfferShippingDetails 屬性

url

URL

可供購物者購買產品的產品網頁網址。 這個網址可能是目前頁面的偏好網址,而且已選取所有變化版本選項。這個網址可以省略。請勿提供多個網址。

如要進一步瞭解如何為產品子類新增標記,請參閱產品子類結構化資料說明文件

UnitPriceSpecification

schema.org/UnitPriceSpecification 內提供 UnitPriceSpecification 的完整定義。請使用下列屬性擷取更複雜的計價方案。

必要屬性
price

Number

產品的優惠價格。另請參閱 Offerprice 屬性。

priceCurrency

Text

用於表示產品價格的貨幣 (採用三個英文字母組成的 ISO 4217 格式)。 另請參閱 OfferpriceCurrency 屬性。

建議屬性
referenceQuantity

QuantitativeValue (用於單位定價)

參照數量用於需要指定價格參照值的價格。另請參閱 Google Merchant Center 說明中的按照計價單位定價計價單位範例,進一步瞭解單位定價。

QuantitativeValue (用於單位定價)

本節將說明如何針對單位定價規格的 referenceQuantity 屬性使用 QuantitativeValue (QuantitativeValue 也用於運送時間長度,但規則不同)。schema.org/QuantitativeValue 內提供 QuantitativeValue 的完整定義。

QuantitativeValue 可用於以單位量為依據的定價,例如以每平方公尺為單位購買地板材料,或以每半加侖為單位購買液體商品。如需單位定價的詳細說明,請參閱 Google Merchant Center 說明中的計價單位

以下範例表示 4.5 公升產品的售價,該產品以 750 毫升的倍數出售。

"priceSpecification": {
  "@type": "UnitPriceSpecification",
  "price": 81.00,
  "priceCurrency": "EUR",
  "referenceQuantity": {
    "@type": "QuantitativeValue",
    "value": "4.5",
    "unitCode": "LTR",
    "valueReference": {
      "@type": "QuantitativeValue",
      "value": "750",
      "unitCode": "MLT"
    }
  }
}

使用下列屬性擷取單位定價詳細資料。

必要屬性
unitCode

TextURL

計量單位。系統支援聯合國貿易便捷化與電子商務組織 (UN/CEFACT) 代碼,以及對應的易懂版本 (如 Google Merchant Center 說明中的計價單位所列)。

value

Text

售出單位數值。

建議屬性
valueReference

QuantitativeValue

UnitPriceSpecificationreferenceQuantity 屬性中的 QuantitativeValue 必須在這個 valueReference 屬性中加入巢狀 QuantitativeValue

SizeSpecification

SizeSpecification 類型用於表示產品的大小。schema.org/SizeSpecification 提供該類型的完整定義。

建議屬性
name

Text

使用者可解讀的尺寸名稱,例如 "XL"。詳情請參閱 Google Merchant Center 說明中的尺寸屬性

sizeGroup

WearableSizeGroupEnumerationText

產品的建議尺寸群組 (如適用)。群組的解釋是由 sizeGroup 屬性定義。最多只能提供兩個尺寸群組。支援的值如下:

  • https://schema.org/WearableSizeGroupRegular:商品尺寸為「regular」。
  • https://schema.org/WearableSizeGroupPetite:商品尺寸為「petite」。
  • https://schema.org/WearableSizeGroupPlus:商品尺寸為「plus」。
  • https://schema.org/WearableSizeGroupTall:商品尺寸為「tall」。
  • https://schema.org/WearableSizeGroupBig:商品尺寸為「big」。
  • https://schema.org/WearableSizeGroupMaternity:商品尺寸為「maternity」。

系統也支援不含網址前置字元的簡稱 (例如 WearableSizeGroupRegular)。

另請參閱 Google Merchant Center 說明中的 size_type支援的結構化資料類型和值,進一步瞭解支援的尺寸系統相關資訊。Google 也能解讀 size_type 的文字值 (regularpetiteplustallbigmaternity),但其他搜尋引擎可能無法解讀,因此建議使用標準的 schema.org 列舉值。

sizeSystem

WearableSizeSystemEnumerationText

產品的尺寸系統 (如適用)。支援的值如下:

  • https://schema.org/WearableSizeSystemAU:澳洲的尺寸系統。
  • https://schema.org/WearableSizeSystemBR:巴西的尺寸系統。
  • https://schema.org/WearableSizeSystemCN:中國的尺寸系統。
  • https://schema.org/WearableSizeSystemDE:德國的尺寸系統。
  • https://schema.org/WearableSizeSystemEurope:歐洲的尺寸系統。
  • https://schema.org/WearableSizeSystemFR:法國的尺寸系統。
  • https://schema.org/WearableSizeSystemIT:義大利的尺寸系統。
  • https://schema.org/WearableSizeSystemJP:日本的尺寸系統。
  • https://schema.org/WearableSizeSystemMX:墨西哥的尺寸系統。
  • https://schema.org/WearableSizeSystemUK:英國的尺寸系統。
  • https://schema.org/WearableSizeSystemUS:美國的尺寸系統。

系統也支援不含網址前置字元的簡稱 (例如 WearableSizeSystemAU)。

另請參閱 Google Merchant Center 說明中的 size_system。Google 也能解讀 size_system 的文字值 (URBRCNDEEU),但其他搜尋引擎可能無法解讀,因此建議使用標準的 schema.org 列舉值。

PeopleAudience

schema.org/PeopleAudience 內提供 PeopleAudience 的完整定義。

指定產品的建議目標對象時,請使用下列屬性。 另請參閱 Google Merchant Center 說明中的支援的結構化資料屬性和值

建議屬性
suggestedGender

TextGenderType

產品適用的建議性別。必須是下列其中一個值:

  • https://schema.org/Male
  • https://schema.org/Female
  • Unisex:這個值 (不區分大小寫) 不在 schema.org 標準中,而且不得包含 https://schema.org/ 前置字元。

詳情請參閱 Google Merchant Center 說明中的 Gender

請注意,Google 會完成無 schema.org 前置字元的 GenderType 值,因此也接受原始 malefemale 值。

suggestedMaxAge (或 suggestedAge.maxValue)

Number

產品的建議年齡上限 (以年為單位)。Google 會將產品的建議年齡上限對應至下列一組固定數值:

  • 0.25:新生兒適用
  • 1.0:嬰兒適用
  • 5.0:幼兒適用
  • 13.0:兒童適用
suggestedMinAge (或 suggestedAge.minValue)

Number

產品的建議年齡下限 (以年為單位)。Google 會將產品的建議年齡下限對應至下列一組固定數值:

  • 0:新生兒適用
  • 0.25:嬰兒適用
  • 1.0:幼兒適用
  • 5.0:兒童適用
  • 13.0:成人適用

EnergyConsumptionDetails

schema.org/EnergyConsumptionDetails 內提供 EnergyConsumptionDetails 的完整定義。

請使用以下屬性來表示產品 (例如電子產品) 的能源消耗。目前僅支援歐盟的能源效率評分。

必要屬性
hasEnergyEfficiencyCategory

EUEnergyEfficiencyEnumeration

產品的能源效率類別。目前僅支援歐盟的能源效率評分:

  • https://schema.org/EUEnergyEfficiencyCategoryA3Plus:歐盟能源效率等級 A+++。
  • https://schema.org/EUEnergyEfficiencyCategoryA2Plus:歐盟能源效率等級 A++。
  • https://schema.org/EUEnergyEfficiencyCategoryA1Plus:歐盟能源效率等級 A+。
  • https://schema.org/EUEnergyEfficiencyCategoryA:歐盟能源效率等級 A。
  • https://schema.org/EUEnergyEfficiencyCategoryB:歐盟能源效率等級 B。
  • https://schema.org/EUEnergyEfficiencyCategoryC:歐盟能源效率等級 C。
  • https://schema.org/EUEnergyEfficiencyCategoryD:歐盟能源效率等級 D。
  • https://schema.org/EUEnergyEfficiencyCategoryE:歐盟能源效率等級 E。
  • https://schema.org/EUEnergyEfficiencyCategoryF:歐盟能源效率等級 F。
  • https://schema.org/EUEnergyEfficiencyCategoryG:歐盟能源效率等級 G。

系統也支援不含網址前置字元的簡稱 (例如 EUEnergyEfficiencyCategoryA)。

建議屬性
energyEfficiencyScaleMinenergyEfficiencyScaleMax

EUEnergyEfficiencyEnumeration

針對產品所屬的產品類別適用的法定歐盟能源消耗量,指出最低和最高能源效率等級。

如需支援的值清單,請參閱 hasEnergyEfficiencyCategory

energyEfficiencyScaleMin 屬性用來指定該能源消耗量的最低效率等級,而 energyEfficiencyScaleMax 則用來指定最高效率等級。舉例來說,如果產品的能源效率等級為 "C" (範圍為 "A+++""D"),請使用:

{
  "@type": "EnergyConsumptionDetails",
  "hasEnergyEfficiencyCategory":  "https://schema.org/EUEnergyEfficiencyCategoryC",
  "energyEfficiencyScaleMin": "https://schema.org/EUEnergyEfficiencyCategoryD",
  "energyEfficiencyScaleMax": "https://schema.org/EUEnergyEfficiencyCategoryA3Plus"
}

如未提供 energyEfficiencyScaleMin,系統會假設其值為 https://schema.org/EUEnergyEfficiencyCategoryG。如未提供 energyEfficiencyScaleMax,系統會假設其值為 https://schema.org/EUEnergyEfficiencyCategoryA3Plus

運費

OfferShippingDetails

OfferShippingDetails 能讓使用者根據所在位置和貴公司的運送政策,估算運費和預計送達時段。如果想讓產品能夠使用運送詳細資料強化功能,除了 Product 結構化資料之外,請在產品頁面中一併加入下列 OfferShippingDetails 屬性。

有時候,商家可能會提供多種產品運送選項供使用者選擇,例如隔夜速件、雙日快遞和標準投遞。只要使用多個 shippingDetails 屬性,並搭配各自不同的 shippingRatedeliveryTime 屬性組合,就能指定每個運送選項。

雖然 OfferShippingDetails 並非必要屬性,但如果想使用運送詳細資料強化功能,就必須新增下列屬性。

schema.org/OfferShippingDetails 內提供 OfferShippingDetails 的完整定義。

必要屬性
deliveryTime

ShippingDeliveryTime

從收到訂單到商品最終送達客戶手中的總延遲時間。下列屬性可以透過巢狀結構放入 deliveryTime 屬性中:

  • handlingTime
  • transitTime

請勿提供超過一個 deliveryTime。另請參閱 Google 支援的 ShippingDeliveryTime 屬性清單。

shippingDestination

DefinedRegion

指出運送目的地,請指定 shippingDestination.addressCountry 資訊。另請參閱 Google 支援的 DefinedRegion 屬性清單。

shippingRate

MonetaryAmount

運送至指定目的地的運費資訊。 必須隨著 shippingRate.currency 一併指定至少一個 shippingRate.valueshippingRate.maxValue

每個 OfferShippingDetails 屬性只能指定一個 shippingRate。如要為產品指定多種費率,請指定多個 OfferShippingDetail 屬性。

shippingRate.currency

Text

運費的幣別,採 3 個英文字母組成的 ISO 4217 格式, 必須與優惠的幣別相同。

shippingRate.valueshippingRate.maxValue

Number

運往 shippingDestination 的運費。 如果字串用於提供值,請不要加入貨幣符號、千位分隔符或空格。

如要指定免運費,請將值設為 0

DefinedRegion

DefinedRegion 是用來建立自訂區域,方便您為多項運送服務設定準確的運費和運送時間。這個選項僅適用於一組受限的國家/地區 (如 Google Merchant Center 說明中的設定區域所述)。

必要屬性
addressCountry

Text

由兩個英文字母組成的國家/地區代碼,採 ISO 3166-1 alpha-2 格式。

建議屬性
請選擇 addressRegionpostalCode

用於識別客戶寄送區域的區域。如果省略,則會指定整個國家/地區為定義區域。可以列入多個區域,但無法在同一個 DefinedRegion 執行個體中混合多種不同的區域指定方式。

addressRegion

Text

如果加入這個屬性,區域代碼必須是由 2 或 3 個英文字母組成,開頭不含國家/地區代碼的 ISO 3166-2 細項代碼。Google 搜尋目前僅支援美國、澳洲和日本。例如:「NY」(代表美國紐約洲)、「NSW」(代表澳洲新南威爾斯州) 或「03」(代表日本岩手縣)。

請勿同時提供區域代碼和郵遞區號資訊。

postalCode

Text

郵遞區號。例如 94043。目前支援郵遞區號的有澳洲、加拿大和美國。

ShippingDeliveryTime

ShippingDeliveryTime 是用來提供從收到訂單到商品最終送達客戶手中的總延遲時間

建議屬性
handlingTime

QuantitativeValue (用於運送時間)

從收到訂單到商品從倉庫出貨的一般延遲時間。

transitTime

QuantitativeValue (用於運送時間)

從訂單出貨後到商品最終送達客戶手中的一般延遲時間。

QuantitativeValue (用於運送時間)

QuantitativeValue 是用於代表運送時間。必須指定最少和最多天數 (QuantitativeValue 也用於統一定價,但對屬性使用不同的驗證規則)。

必要屬性
maxValue

Number

最多天數。這個值必須是非負數的整數。

minValue

Number

最少天數。這個值必須是非負數的整數。

unitCode

Text

最小值/最大值的單位。這個值必須為 DAYd

傳回

MerchantReturnPolicy

您可以使用下列屬性,讓商家資訊能夠顯示退貨政策資訊,包括退貨費用和產品退貨期限。

必要屬性
applicableCountry

Text

退貨政策適用的國家/地區代碼,格式為兩個字母的 ISO 3166-1 alpha-2 國家/地區代碼。您最多可以指定 50 個國家/地區。

returnPolicyCategory

MerchantReturnEnumeration

退貨政策的類型。請使用下列其中一個值:

  • https://schema.org/MerchantReturnFiniteReturnWindow:產品退貨有天數限制。
  • https://schema.org/MerchantReturnNotPermitted:不允許退貨。
  • https://schema.org/MerchantReturnUnlimitedWindow:產品退貨無期限。

如果您使用 MerchantReturnFiniteReturnWindow,則必須提供 merchantReturnDays 屬性。

建議屬性
merchantReturnDays

Integer

產品退貨期限的天數 (從送達日期起算)。只有在將 returnPolicyCategory 設為 MerchantReturnFiniteReturnWindow 時,才需要這個屬性。

returnFees

ReturnFeesEnumeration

退貨費用的類型。請使用下列其中一個支援的值:

  • https://schema.org/FreeReturn:消費者不必支付產品退貨費用。如果使用這項屬性,請勿加入 returnShippingFeesAmount 屬性。
  • https://schema.org/ReturnFeesCustomerResponsibility:消費者必須自行處理並支付退貨費用。如果使用這項屬性,請勿加入 returnShippingFeesAmount 屬性。
  • https://schema.org/ReturnShippingFees:商家必須支付運費,讓消費者退回產品。請使用 returnShippingFeesAmount 屬性指定運費 (非零值)。
returnMethod

ReturnMethodEnumeration

提供的退貨方式類型。除非將 returnPolicyCategory 設為 MerchantReturnFiniteReturnWindowMerchantReturnUnlimitedWindow,否則不建議使用此屬性。請使用下列一或多個值:

  • https://schema.org/ReturnAtKiosk:商品可在資訊站退貨。
  • https://schema.org/ReturnByMail:商品可以透過郵寄方式退貨。
  • https://schema.org/ReturnInStore:商品可在商店中退貨。
returnShippingFeesAmount

MonetaryAmount

退回產品的運費。消費者須向商家支付非零的運費,以便退回產品時,才必須提供這項屬性。在這種情況下,returnFees 必須設為 https://schema.org/ReturnShippingFees。 如果退回產品不必支付費用,returnFees 必須設為 https://schema.org/FreeReturn。 如果消費者需要處理並支付退貨運費,就必須將 returnFees 設為 https://schema.org/ReturnFeesCustomerResponsibility

設定 Google 運送和退貨設定的替代方式

零售商運送政策可能有些複雜,而且可能會經常變動。如果您在指定運送資料時遇到問題,或是無法順利透過標記更新運送和退貨詳細資料,而您擁有 Google Merchant Center 帳戶,建議您考慮在 Google Merchant Center 說明中設定運送設定退貨政策

透過 Search Console 監控複合式搜尋結果

Search Console 這項工具能協助您監控網頁在 Google 搜尋中的成效。 Google 會主動將您的網頁納入搜尋結果,您無需為此申請使用 Search Console,但是您可以藉由這項服務瞭解並改善 Google 檢索您網站的方式。建議在下列情況查看 Search Console:

  1. 首次部署結構化資料後
  2. 發布新範本或更新程式碼後
  3. 定期分析流量

首次部署結構化資料後

在 Google 為網頁建立索引後,請透過相關的複合式搜尋結果狀態報告查看是否存在任何問題。理想情況下,有效項目會增加,但無效項目不會變多。如果您在結構化資料中發現問題,請依下列步驟操作:

  1. 修正無效項目
  2. 檢查線上網址,查看問題是否仍繼續發生。
  3. 透過狀態報告要求驗證

發布新範本或更新程式碼後

當您對網站進行大幅變更時,請留意結構化資料中無效項目是否增加。
  • 如果無效項目增加,代表您推出的新範本可能無法正常運作,或者您的網站採用新方式與現有範本互動,但效果不佳。
  • 如果有效項目減少,但錯誤並未隨之增加,代表您的網頁可能已不再內嵌結構化資料。請使用網址檢查工具找出問題的成因。

定期分析流量

透過成效報表分析您的 Google 搜尋流量。 這些資料會顯示您的網頁在 Google 搜尋中呈現為複合式搜尋結果的頻率、使用者點擊的頻率,以及您的搜尋結果平均排名。您也可以使用 Search Console API 自動提取這些結果。

Search Console 有兩份與 Product 結構化資料相關的報表:

這兩份報表都會提供與 Product 結構化資料相關的警告和錯誤,但會因相關體驗的不同規定而有所區別。舉例來說,商家資訊報表會檢查含有 Offer 結構化資料的產品摘要,因此只有非商家資訊網頁需要參閱產品摘要報表。

疑難排解

如果無法順利導入結構化資料,或是偵錯時遇到困難,請參考下列資源。

  • 如果您使用內容管理系統 (CMS) 或者有他人代您處理網站事務,請向對方尋求協助。請務必將所有與問題相關的 Search Console 訊息都轉寄給對方,這些訊息會針對問題提供詳細說明。
  • Google 不保證採用結構化資料的功能一定會顯示在搜尋結果中。如要瞭解為何 Google 無法將您的內容顯示為複合式搜尋結果,請參閱結構化資料通用指南裡的常見原因清單。
  • 結構化資料可能含有錯誤。請查看結構化資料錯誤清單
  • 如果您的網頁遭到結構化資料專人介入處理處置,系統會忽略網頁上的結構化資料,但該網頁仍然會出現在 Google 搜尋結果中。請使用專人介入處理報告來修正結構化資料問題
  • 再次查看指南規範,確認您的內容是否符合規定。問題可能是因為垃圾內容或不當使用的標記所引起。不過,因為問題可能與語法無關,所以複合式搜尋結果測試無法找出問題所在。
  • 疑難排解:未出現複合式搜尋結果/複合式搜尋結果總數減少
  • 請等待一段時間,讓系統執行重新檢索和重新建立索引作業。在發布網頁後,Google 可能需要幾天時間才會找到網頁並進行檢索。如有關於檢索和索引建立作業的一般問題,請參閱 Google 搜尋檢索和索引常見問題
  • 前往 Google 搜尋中心論壇發文提問。