Is there a way to hide the reviews section when there are no reviews?

Good afternoon, how’s it going?
I’d like to know if there’s any way to hide the reviews when there are none, hiding the stars and only showing them when there’s a review.. This would be on an IO store

Hey @Maiuri, how’s it going?

Are you using the native Rates and Reviews app or some external integration?

Either way, what I’m thinking is that you can do something custom using the following:

Can you query the App or the script to read the reviews and how many were loaded into an array, for example?

If so, the logic would be: if that block has an index < 1, you hide it, or you don’t even call the app block or the script you’re integrating.

What do you think of this idea?

Note: natively, I don’t think there’s anything you can do based on the logic you proposed.

Hope this helps..

Best,
Estevão.
PO ENEXT

If this information helped you, mark it as the answer to support others in the community.

Thanks, I wanted to know if there was something native, without having to code for it.. Thank you

And yes, it’s the native one, just so I don’t forget

In the app settings in the admin panel there’s an option for that if I’m not mistaken. Have you tried looking there?

Hi Maiuri, how are you?

Unfortunately, that’s not natively possible with the Reviews and Ratings app.

However, in My Apps you have the option to disable a few things, such as:

  • Display graph
  • Display stars in product-rating-summary if there are no reviews
  • Display stars in product-rating-inline if there are no reviews

To do this, simply go to My Apps.

Best regards.