Yoast WooCommerce SEO: Schema output
The schema output for our WooCommerce SEO plugin builds upon the Yoast SEO schema output, to add additional detail about products and ecommerce functionality.
Core functionality
On all pages
- Remove WooCommerce's breadcrumb schema.
On product pages
- Change the
@typeof theWebPagepiece intoItemPage. - Alter the
Productpiece. - Apply our validation logic to each existing WooCommerce piece /value.
- Add a
mainEntityOfPageproperty to theProduct, referencing theWebPageby ID. - Set the
brandandmanufacturerproperties, based on taxonomy settings. - Set the
sellerto theOrganization(orPerson) which is set as thePublisherof theWebSite. - Stitch
offers,reviewand/oraggregateRatingvalues into the graph (when available / as appropriate). - Unset the
datePublishedanddateModifiedvalues from theItemPage.
On checkout pages
- Change the
@typeof theWebPagepiece toCheckoutPage.