Solved

How does "customer rating" functionality works?

Posted on 2008-10-13
2
174 Views
Last Modified: 2010-04-14
We have an ecommerce site and we want to add "customer rating" system. This is where customers rate a product and for example give it 5 stars or 1 star. Then it's dsplayed below each product...

I'm guessing I need a table to hold the rating, customer comments, datetime comment was entered, the product that was rated. Then code needs to average the stars...

But how about the stars...is this done with AJAX??
0
Comment
Question by:Camillia
2 Comments
 
LVL 8

Accepted Solution

by:
mkosbie earned 500 total points
ID: 22707369
The star ratings are made with javascript mouseovers.  You would generally use a hidden field to store the current value of your "star meter" so it's submitted with the form.  Here's a couple already made meters (found by googling "javascript rating system":

http://www.hotscripts.com/Detailed/63988.html
http://jcay.org/javascript/scripts-and-programs/xml-and-javascript/ajax-rating-system.html
http://www.reignwaterdesigns.com/ad/tidbits/rateme/
http://www.webdeveloper.com/forum/showthread.php?t=139403
0
 
LVL 7

Author Comment

by:Camillia
ID: 22707516
thanks, thought it's done with AJAX.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question