Hi @YoavC ,
Our Yoast Shopify app helps you output some of the missing schemas on your products such as: product description and availability. It offers a 14 day trial period that you can test on your store and see the difference. You can read more about it here: Yoast SEO Shopify: Schema output
For other missing schemas, you might want to consult Shopify’s documentation or seek help from a developer experienced with Shopify and structured data for detailed guidance on how to implement it on your products.
Here are some steps to address the issues identified by Google Search Console regarding your product structured data in your Shopify store. Please keep in mind that below are just example codes of how the schema looks like.
Missing field ‘availability’
The availability field is crucial for informing Google about the stock status of your product. You can add this field using the following values:
- InStock
- OutOfStock
- PreOrder
For example, you can add the following structured data to your product pages:
{
"@context": "https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.png",
"@type": "Product",
"name": "Your Product Name",
"offers": {
"@type": "Offer",
"availability": "https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.pngInStock"
}
}
### Missing field ‘hasMerchantReturnPolicy’
The hasMerchantReturnPolicy field provides information about your return policy. You can include it as follows:
{
"@context": "https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.png",
"@type": "Product",
"name": "Your Product Name",
"offers": {
"@type": "Offer",
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"url": "https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.png"
}
}
}
### Missing field ‘shippingDetails’
The shippingDetails field provides information about shipping options. You can include it as follows:
{
"@context": "https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.png",
"@type": "Product",
"name": "Your Product Name",
"offers": {
"@type": "Offer",
"shippingDetails": {
"@type": "OfferShippingDetails",
"shippingRate": {
"@type": "MonetaryAmount",
"value": "5.00",
"currency": "USD"
},
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"businessDays": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.pngMonday",
"https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.pngTuesday"
],
"opens": "08:00",
"closes": "18:00"
}
}
}
}
}
### Missing field ‘description’
The description field provides a textual description of your product. You can include it as follows:
{
"@context": "https://yoast.com/app/uploads/2021/05/fender_mustang_jmj_bass_rich_result-600x126.png",
"@type": "Product",
"name": "Your Product Name",
"description": "A detailed description of your product."
}
### Where to Include This Code in Shopify1. Edit Theme Code: Go to your Shopify admin panel, navigate to Online Store > Themes, and click on Actions > Edit code.
- Locate Product Template: Find the product template file, usually named product.liquid or similar, under the Templates or Sections folder.
- Insert Structured Data: Add the structured data JSON-LD script within the section or just before the closing tag of your product template file.
- Save Changes: Save the changes and test your product pages using Google’s Rich Results Test tool to ensure the structured data is correctly implemented.
Again, I strongly recommend to seek help from a developer experienced with Shopify and structured data before implementing this to your store.