Some products on my store have 1 star rating without any review. .

Solved

Some products on my store have 1 star rating without any review. .

Naresh11
Shopify Partner
9 0 0

Hello,

I have an issue with some of products on my website. Some products have 1 star rating on it without any review or any app and some are without any star. Anybody helps me to find any solution about it.

Thank you. 

Accepted Solutions (2)
pawankumar
Shopify Partner
700 102 123

This is an accepted solution.

Its because you don't have code on product details page for review. And also, It look like you are not using an app for reviews like stamped, judge me or loox etc..
A review app will give you more control on this. Also, to remove that one filled star, you have to look through the code and implement the code that I suggested

Hope, it makes sense!
Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

View solution in original post

pawankumar
Shopify Partner
700 102 123

This is an accepted solution.

Hi @Naresh11 
It may be in card-product.liquid 
For a quick fix, you can replace a code like this {{ card_product.metafields.reviews.rating.value.rating | floor }}  to 0
Final result will be like
--rating: 0
and for a much better way is, you may have a product metafield
namespace: review
key: rating
You can add 0 there on every product, Metafield will show on product backend at the end, if it will be a unpinned metafield then click on view all button and you will see it there

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

View solution in original post

Replies 13 (13)

pawankumar
Shopify Partner
700 102 123

Hi @Naresh11 
Please share store URL and password as well if password protected
Thanks

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
Naresh11
Shopify Partner
9 0 0
pawankumar
Shopify Partner
700 102 123

Its not working @Naresh11 
Can you please share myshopify URL instead

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
Naresh11
Shopify Partner
9 0 0
pawankumar
Shopify Partner
700 102 123

@Naresh11 

Please change 1 to 0 in --rating: 1 in your code

pawankumar_0-1714147053549.png

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
Naresh11
Shopify Partner
9 0 0

Hi, thank you for your time and help. I have one more question, can I change it in bulk or one by one. 

pawankumar
Shopify Partner
700 102 123

It is through liquid code, I think, you have to change at every place where this code is written
It will update in bulk, I mean, I think, code will be same on every product card, so updating there will resolve it on all cards and resovling in quick view popup will fix it on all popups

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
Naresh11
Shopify Partner
9 0 0

I tried but one more thing is happening. it shows star on display but when I open it then there is nothing.  

Naresh11
Shopify Partner
9 0 0

1.jpg2.jpg

pawankumar
Shopify Partner
700 102 123

This is an accepted solution.

Its because you don't have code on product details page for review. And also, It look like you are not using an app for reviews like stamped, judge me or loox etc..
A review app will give you more control on this. Also, to remove that one filled star, you have to look through the code and implement the code that I suggested

Hope, it makes sense!
Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
Naresh11
Shopify Partner
9 0 0

Thank you very much for your help.

Naresh11
Shopify Partner
9 0 0

Hi, I tried multiple codes but did not work. Could you suggest me any if you have? Thank you.

pawankumar
Shopify Partner
700 102 123

This is an accepted solution.

Hi @Naresh11 
It may be in card-product.liquid 
For a quick fix, you can replace a code like this {{ card_product.metafields.reviews.rating.value.rating | floor }}  to 0
Final result will be like
--rating: 0
and for a much better way is, you may have a product metafield
namespace: review
key: rating
You can add 0 there on every product, Metafield will show on product backend at the end, if it will be a unpinned metafield then click on view all button and you will see it there

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan