Solved

How does "customer rating" functionality works?

Posted on 2008-10-13
2
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 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