I have a problem here. So, i have this product which has three different qualities, for example :
I have a product and that's Apple, and apple has three qualities, they are :
- Apple( Price, Taste, Size )
Now when the customers visit the website, they can rate differently for all three qualities. Suppose one of the customer rates,
- Apple.price = 3 Star
- Apple.Taste = 4 Star
- Apple.Size = 5 Star
then, on the other side the average of all those three qualities would be 4 star.
Using basic math 3 + 4 + 5 =1 2 and 12 / 3 = 4.
This is where i am stuck, Showing average for only one customer seems easy but what if many customer rates it and how do i get the average ?
I am using rating Widgets in wordpress. http://ift.tt/1njiSoz
Your help would help a lot, Thank you in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire