Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Product Reviews APP - get Author Name

Product Reviews APP - get Author Name

ivanturnovski
Shopify Partner
2 0 1

Hi ALL,
I'm trying to add structured data to my product pages.

 
However I'm missing the review fields.
 

image.png

I'm using this APP for the reviews and I need to extract the information about the Author
 
I know some data from the APP is stored in: 

 

 

 

{{ product.metafields.spr.reviews }}
{{ product.metafields.reviews.rating }}
{{ product.metafields.reviews.rating_count }}

 

 

 

 
Therefore and I'm extracting the rating value data like this:

 

 

 

{%- assign rating_value = product.metafields.spr.reviews | split: '"ratingValue": "' | last | split: '"' | first | plus: 0 -%}​

 

 

 

 
and rating count like this:

 

 

 

{%- assign reviews_count = product.metafields.reviews.rating_count -%}

 

 

 

 
But I'm missing the information for Reviews Author.
 
I can see in the settings there is 

 

 

 

{{ review.author }}​

 

 

 

 

image (1).png

 
But I can't access this variable in the templates.
 
Do you know how can resolve this issue and access the Author?
 
Kind Regards,
Reply 1 (1)

mrkasmith
Excursionist
16 0 11

Did you resolve this?