Rating System Help!

Hello,
I have created a ratings and review area on one of my websites (see attached). It is connected to a database and displays information that is inputted from a form when it is submitted. It works the way it should, however, it shows the same ratings and reviews for all products. I want it to be able to display ratings and reviews for each individual product instead of all of them being on one page. Any suggestions?

Did you follow the Ratings and Reviews example for Wix Stores?
https://support.wix.com/en/article/corvid-tutorial-adding-ratings-and-reviews-to-a-wix-stores-site

Or this one for a normal page?
https://support.wix.com/en/article/corvid-tutorial-capturing-and-displaying-ratings

Note that the first one for Wix Stores is specifically written to work with the product that is being displayed on the current product page and it is setup to work with a repeater on the product page which displays that products own reviews and ratings.

The second one is purely setup to provide ratings and reviews for one single item on your page and not in a repeater.

If you wanted to use a repeater for the second option, then you need to write code differently for a repeater for each item, otherwise it will just repeat the same for all repeater containers.

You would also need to add an Id field like a product Id or some similar item which you could tie the users ratings and reviews to, so that the repeater would only show the ratings and reviews that are tied to that specific Id.

You can see more about working with Repeaters and how to code differently for each container and not just all of the items here.
https://www.wix.com/corvid/reference/$w.Repeater.html
https://www.wix.com/corvid/forum/tips-tutorials-examples/example-input-repeaters