getting the rating system done. First of all, need to modify the data layer as it is different from the original requirement. using jqury rate it plugin. The logic is, max value to 5 star. client can rate a deal only if he is logged in or first time to vote such deal, otherwise the star rating will be display but the voting system is disabled.