Closed ghost closed 2 years ago
PR on branch develop plz
Have you tested Product Comment data? I think it's not working.
@bhavikvaghani not tested yet with 1.7.6 (lack of time) feel free to add it! :)
{if isset($nbComments) && $nbComments && $ratings.avg}"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{$ratings.avg|round:1|escape:'html':'UTF-8'}",
"reviewCount": "{$nbComments|escape:'html':'UTF-8'}"
},{/if}
This data are available for it's respective .tpl files so I think it's not possible.
Combination options for product JSON-LD
Main flaws: Price for each combination - any ideas? For now price is fixed as main product price. URL depend on combination - now is fixed as main product url.
Considerations: home_default image size should be replaced by large_default