Solved

How does "customer rating" functionality works?

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

14 Experts available now in Live!

Get 1:1 Help Now