Structured data for product SEO
On this page
Product availability information is determined by the availability date, price visibility, inventory status, and discontinuation status. The price displayed is either the sale price or the list price, ensuring accurate product information is always presented to customers and search engines.
What page data looks like
The page data looks something like this:
```
{ “@context”: “http://schema.org/”, “@type”: “Product”, “sku”: “PRODUCTCODE”, “gtin”: “PRODUCT UPC”, “image”: [“https://example.com/image1.jpg”, “https://example.com/image2.jpg”], “name”: “Product Display Name”, “description”: “Product Description”, “brand”: { “@type”: “Brand”, “name”: “Brand Name” }, “offers”: { “@type”: “Offer”, “itemCondition”: “http://schema.org/NewCondition”, “availability”: “http://schema.org/InStock”, “price”: “99.00”, “priceCurrency”: “AUD”, “url”: “https://mystore.example.com/products/product-slug” } } ```
To generate the data, StoreConnect gets information from the following fields:
| Structured Data Field | Source |
|---|---|
| sku | Product2.ProductCode |
| gtin | Product2.s_c__UPC__c |
| images | Array of product image URLs |
| name | Product2.s_c__Display_Name__c |
| description | Product2.s_c__Search_Description__c |
| brand[name] | Product2.Brand_Id__c.Name |
| offers[@type=Offer][itemCondition] | Product2.s_c__Condition__c |
| offers[@type=Offer][availability] | See below on Availability Calculation |
| offers[@type=Offer][price] | The Product Sale Price if present otherwise the List Price |
| offers[priceCurrency] | s_c__Store__c.currencyisocode for multi-currency orgs or s_c__Store__c.s_c__Currency__c |
| offers[url] | URL that the product is available on the website |
Availability calculation
The availability can be set to either In Stock or Out of Stock.
A product is shown as in stock if all of the following are true:
- It has an
s_c__Available_On__cin the past - It has a price and that price is not hidden
- It has available inventory or has
s_c__Track_Inventory__cunchecked - It has no
s_c__Discontinued_On__cvalue or it exists and is in the future - It has any variant with all of the above
Price calculation
The price shown is set to the price or the sale price if present.