godweb Posted May 1, 2020 Share Posted May 1, 2020 Hi, some time ago I asked for the intagration of Google Structured Data component to get structured data in JSON-LD instead of through microdata. I have seen that it's not necessary because it's possible to dynamically populate the JSON-LD scripts through the Jreviews custom fields. Trivially, I put this code in a banner field: <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "Product", "name": "{jr_nameproduct}", "image": "{image}", "description": "{summary}", "offers": { "@type": "Offer", "url": "", "priceCurrency": "GBP", "price": "{jr_price}", "availability": "https://schema.org/OnlineOnly" } } </script> It works well, apart from the warnings for missing information, including the image and the description because {image} and {summary} don't work: is there any way to get these values? Similarly, is there any way to call the values for ratingValue and reviewCount? If there is this possibility, it would be an excellent and very easy solution to use JSON-LD without other components than Jreviews. Thank you Alex.1 1 Link to comment
Alejandro Posted May 1, 2020 Share Posted May 1, 2020 This section is only visible with a valid subscription. If you have a valid subscription, please login. n00bster 1 Link to comment
godweb Posted May 2, 2020 Author Share Posted May 2, 2020 This section is only visible with a valid subscription. If you have a valid subscription, please login. Alejandro 1 Link to comment
godweb Posted June 18, 2020 Author Share Posted June 18, 2020 This section is only visible with a valid subscription. If you have a valid subscription, please login. Alejandro, Equity, DanielH and 1 other 2 2 Link to comment
DanielH Posted June 8 Share Posted June 8 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted June 9 Share Posted June 9 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
DanielH Posted June 9 Share Posted June 9 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
n00bster Posted June 17 Share Posted June 17 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted June 17 Share Posted June 17 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
n00bster Posted June 18 Share Posted June 18 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted June 18 Share Posted June 18 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts