Solved

How does "customer rating" functionality works?

Posted on 2008-10-13
2
172 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now