跳到主要内容

CCLEE Toolkit — WooCommerce

后台路径:CCLEE Toolkit → WooCommerce

WooCommerce 设置页概览


Product Schema

勾选 启用 WooCommerce Product Schema 开启(默认开启)。

开启后,所有 WooCommerce 产品页自动输出 Product 结构化数据到 <head>

输出内容

Schema 字段说明
name产品标题
image特色图
description产品描述
skuSKU
gtinGTIN(若有)
mpnMPN(若有)
brand品牌(若有)
offers价格、库存、商家信息
aggregateRating评分和评价数(若有)
BreadcrumbList路径:首页 > 分类 > 产品

变额产品: 输出 AggregateOffer,包含价格区间(最低价~最高价)和 offer 数量。

产品页 Schema 示例

验证方法

验证 Product Schema

  1. 访问任意 WooCommerce 产品页
  2. 右键 → 查看页面源代码,搜索 <script type="application/ld+json">
  3. 确认 JSON 中包含 "@type":"Product"

与 SEO Tab 的关系

Product Schema 输出依赖 SEO Enhancer 总开关(SEO Tab)。

SEO 总开关关闭时,即使 WooCommerce Tab 勾选,Product Schema 也不会输出。


常见问题

产品页没有输出 Schema?

  1. 确认 SEO Enhancer(SEO Tab)已开启
  2. 确认 WooCommerce Product Schema 已勾选
  3. 若使用缓存插件,清除缓存后重试

结构化数据在 Google 检测工具中报错?

检查产品是否填写了 SKU、GTIN 等字段,未填写的字段不会出现在 Schema 中,这是正常行为。

评分和评价没显示?

确保产品已有 WooCommerce 内置评价功能,且 Average Rating > 0。聚合评分字段仅在有评价时输出。