WP Manifestindependent plugin directory
manifest / seo / lean-schema-wc

Lean Schema for WooCommerce

Lightweight, complete JSON-LD structured data for WooCommerce

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/hozt/lean-schema-wc/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Lightweight, complete JSON-LD structured data for WooCommerce. One PHP file, no front-end CSS or JS, no database tables.

It replaces WooCommerce's built-in structured data with fuller markup aimed at Google product rich results and merchant listings, so nothing is duplicated.

Author: Jeffrey Haug · License: GPL-2.0-or-later · Requires: WordPress 6.0+, WooCommerce 7.0+, PHP 7.4+

What it outputs

  • Product: name, description, images (main + gallery), SKU, GTIN, MPN, brand (with URL), category
  • Variable products: ProductGroup with hasVariant and variesBy (color, size, material, pattern); other attributes become additionalProperty
  • Offer: price (matches your shop's tax display), currency, availability incl. backorder, condition, seller
  • Sale prices: StrikethroughPrice and priceValidUntil from the sale end date
  • Grouped products: AggregateOffer
  • Reviews: AggregateRating plus recent reviews
  • Shipping and returns: OfferShippingDetails and MerchantReturnPolicy
  • BreadcrumbList: respects the Yoast / Rank Math primary category, skips "Uncategorized"
  • Organization and WebSite on the home page (logo, social profiles, return policy)

Everything goes in a single `