godweb Posted May 1, 2020 at 03:38 PM Share Posted May 1, 2020 at 03:38 PM 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 at 05:36 PM Share Posted May 1, 2020 at 05:36 PM 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 at 05:32 PM Author Share Posted May 2, 2020 at 05:32 PM 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 at 06:09 PM Author Share Posted June 18, 2020 at 06:09 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Equity, n00bster, Alejandro and 1 other 2 2 Link to comment
DanielH Posted June 8, 2022 at 08:39 PM Share Posted June 8, 2022 at 08:39 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted June 9, 2022 at 11:37 AM Share Posted June 9, 2022 at 11:37 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
DanielH Posted June 9, 2022 at 05:50 PM Share Posted June 9, 2022 at 05:50 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
n00bster Posted June 17, 2022 at 06:40 PM Share Posted June 17, 2022 at 06:40 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted June 17, 2022 at 09:38 PM Share Posted June 17, 2022 at 09:38 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
n00bster Posted June 18, 2022 at 09:11 AM Share Posted June 18, 2022 at 09:11 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted June 18, 2022 at 02:29 PM Share Posted June 18, 2022 at 02:29 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
n00bster Posted October 12, 2022 at 01:39 PM Share Posted October 12, 2022 at 01:39 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted October 12, 2022 at 01:52 PM Share Posted October 12, 2022 at 01:52 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
n00bster Posted October 20, 2022 at 09:38 AM Share Posted October 20, 2022 at 09:38 AM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted October 20, 2022 at 10:00 PM Share Posted October 20, 2022 at 10:00 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts