Closed stevemar closed 2 years ago
Approved by @meganmajewski over slack.
This PR fixes the app to work for products on a new stores with no previous reviews. We should still update the metafield namespace to be 'standardRating' (not general) elsewhere in the app
This PR updates the graphql query to pull in the new metadata key and value names, and also updates some of the front end code to more cleanly handle error cases where there are no reviews.
Co-Authored-By: Megan Majewski megan.majewski@shopify.com Signed-off-by: Steve Martinelli steve.martinelli@shopify.com