Customize structured data

Commerce automatically generates a valid markup for the homepage, product, and collection pages with: Products, Breadcrumbs, ItemLists, Reviews, WebSite, and Organization properties.

This section applies to both OSF and Storefront Classic. This section applies to Open Storefront Framework (OSF) and Storefront Classic.

The functionality to highlight page elements on certain template types and display in Search Engine Results Pages (SERPs) is limited to Google only. Therefore, your markup would not be seen by other search engines. Commerce enables you to switch off the default markup for given page types, and substitute it with your custom script template that utilizes values from Commerce variables.

JSON-LD is Google’s recommended implementation. When customizing your JSON-LD, include as many applicable properties as possible to create different structured data templates for different product types in your store.

You can use the Structured Data report in the Google Search Console to monitor how Google interprets JSON-LD scripts across your store, and check for any markup errors and warnings referring to missing properties. You can also verify how Google sees structured data on a per page basis.