Hello,
I use Product Reviews to display a number of stars directly beneath the title of my product in product page
so this is my shop, first URL with comments and second URL without comments:
https://www.tresor-ethnique.com/collections/tibetain/products/pendentif-mandala
https://www.tresor-ethnique.com/collections/tibetain/products/pendentif-fleur-de-mandala
I would like to be able to hide Product Reviews when I have no comments
So I know how to remove the text when no comments (in the app), but I can't figure a way to remove the stars
Yet I know there must be a way, since the integration on Product Reviews in the collection page do not display anything when there are no comments
(see this URL for example: https://www.tresor-ethnique.com/collections/bijoux )
Any ideas?
Let me know, thanks ! :)
This is a super old post of mine that I assume is still valid:
https://freakdesign.com.au/blogs/news/41175105-remove-zero-rating-reviews-from-the-shopify-review-ap...
If you don't feel like reading the post the general idea is to add some custom CSS. This css:
.spr-badge[data-rating="0.0"] {
visibility:hidden; display: none;
}
If that doesn't work anymore drop a reply and we can take a closer look.
Also having trouble with it? Your site doesn't specify where to install it, it just says "add to the bottom of your stylesheet."
I added the code to the bottom of theme.scss.liquid, is that the correct one?
I am still seeing the review boxes on my site. www.zen-bazaar.com
Although, another question: if it's hidden when there are zero reviews...how does anyone have the ability to give the first review?
The review keeps glitching and showing it for a second and then it disappears. How do you fix this?
User | Count |
---|---|
11 | |
11 | |
6 | |
5 | |
4 |