捆绑或分组产品的正确标记是什么

时间:2019-08-13 03:04:44

标签: schema.org json-ld google-rich-snippets structured-data

您好,我在Magento网站上捆绑了产品,并希望确保采用最佳/推荐的方式标记搜索引擎...

此处的示例页面-https://fernland.com.au/bamboo-stakes-120cm-10-12mmo-7712.html 如您所见,捆绑产品的设置更像是组合产品的行为,客户只能选择其中一个选项(每个选项都是可以单独购买的简单产品)

这就是我要实现的-这是推荐方法-(针对这种情况的信息很少。)

{
  "@context": "http://schema.org/",
  "@type": "Product",
  "name": "Bundle_Name",
  "sku": "Bundle_SKU",
  "url":"Bundle_URL",
  "brand": "Bundle_Brand",
  "image": "Bundle_Main_Image_URL",
  "description":"BundleDescription",
  "category":"Bundle_Category",
  "offers": [{
    "@type": "Offer",
    "sku": "CHILD_SKU",
    "url":"Bundle_URL",
    "image": "Simple_Product_Main_Image_URL",
    "name": "Simple_Product_Child_Name",
    "price": 5.99,
    "priceCurrency": "AUD",
    "availability": "InStock"
  },{
    "@type": "Offer",
    "sku": "CHILD_SKU",
    "url":"Bundle_URL",
    "image": "Simple_Product_Main_Image_URL",
    "name": "Simple_Product_Child_Name",
    "price": 10.99,
    "priceCurrency": "AUD",
    "availability": "OutOfStock"
  },{
    "@type": "Offer",
    "sku": "CHILD_SKU",
    "url":"Bundle_URL",
    "image": "Simple_Product_Main_Image_URL",
    "name": "Simple_Product_Child_Name",
    "price": 17.99,
    "priceCurrency": "AUD",
    "availability": "InStock"
  }]
}

感谢您的帮助!

0 个答案:

没有答案