Hi,
Imac please take a look at the following article in order to implement the json+ld properly for variations as a single product:
Especially take a look at point no. 2
{
“@context”: “http://schema.org/”,
“@type”: “Product”,
“name”: “Super Suds”,
“image”: “https://example.net/soap/super-suds.jpeg”,
“offers”: [{
“@type”: “Offer”,
“sku”: “egsoapsuds-250”,
“name”: “Soap Suds 250 ml”,
“price”: 5.99,
“priceCurrency”: “EUR”,
“availability”: “InStock”
},{
“@type”: “Offer”,
“sku”: “egsoapsuds-500”,
“name”: “Soap Suds 500 ml”,
“price”: 10.99,
“priceCurrency”: “EUR”,
“availability”: “OutOfStock”
},{
“@type”: “Offer”,
“sku”: “egsoapsuds-1000”,
“name”: “Soap Suds 1000 ml”,
“price”: 17.99,
“priceCurrency”: “EUR”,
“availability”: “InStock”
}]
}
It’s also important while you implement json+ld to provide the ability to add gtin property and brand to type offer based on the selected feature.
Also, keep in mind that it should be possible to extend the json+ld via hooks.
Hope you will provide an awesome json+ld implementation. Finger crossed!