Open shayanabbas opened 1 year ago
Rating stars not showing up on Product single, collection or featured product section
It should show the stars, which are not showing because pointing to wrong variable for values
Need to fix correct variable names here:
change product.metafields.reviews.rating.value.rating => product.metafields.reviews.rating.value change card_product.metafields.reviews.rating.value.scale_max => card_product.metafields.reviews.rating.scale_max
https://github.com/Shopify/dawn/blob/main/snippets/card-product.liquid#L169-L190 https://github.com/Shopify/dawn/blob/main/sections/main-product.liquid#L431-L452 https://github.com/Shopify/dawn/blob/main/sections/featured-product.liquid#L479-L500
PR #2937
Describe the current behavior
Rating stars not showing up on Product single, collection or featured product section
Describe the expected behavior
It should show the stars, which are not showing because pointing to wrong variable for values
Version information (Dawn, browsers and operating systems)
Possible solution
Need to fix correct variable names here:
https://github.com/Shopify/dawn/blob/main/snippets/card-product.liquid#L169-L190 https://github.com/Shopify/dawn/blob/main/sections/main-product.liquid#L431-L452 https://github.com/Shopify/dawn/blob/main/sections/featured-product.liquid#L479-L500