frappe / webshop

Open Source eCommerce Platform
GNU General Public License v3.0
93 stars 102 forks source link

Item Review: Wrong Rating published on website #189

Closed aeteseb closed 1 month ago

aeteseb commented 2 years ago

Information about bug

Just tried out the new Review feature and gave my item a 5 star review. After saving, the item page updated and showed my review, only with a 1 star rating. When I looked at the review in the desk's list view, the rating was 5 stars as expected. SharedScreenshot SharedScreenshot2

Module

ecommerce

Version

Frappe - v14.x.x-develop ERPNext - v14.x.x-develop

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

s-aga-r commented 1 year ago

Didn't fixed yet, transferring this to webshop.

Edit:

image

Sanjay0612 commented 1 year ago

Hey Guys Does the issue fixed? because I'm facing the Same issue issue

Spixmaster commented 1 year ago

I can confirm the issue.

The pull request, https://github.com/frappe/erpnext/pull/32553, addresses the issue but for whatever reason was closed and not merged.

The issue is probably quite simple. The rating 5/5 is calculated as a percentage. 5/5 = 1. I gave a rating of 4.5/5 and the average rating was 0.9 as 4.5/5= 0.9

trackomatic commented 1 month ago

Hello Friends, We are having a strange problem on our instance. In V15, while any customer visits our website and reviews our products he gives 5 starts to our product and writes a review on the product utility. As soon as he submits his review, the rating on the products changes from 5 Starts to 1 Star. We have tested it through a dummy customer as well and there is same result for us. We strongly believe that it is a bug. Can someone help us in getting it fixed?

trackomatic commented 1 month ago

@Nihantra-Patel How Can I update this on my Locally Hosted Instance??

Nihantra-Patel commented 1 month ago

update the version, it will automatically get the latest changes in webshop app.

trackomatic commented 1 month ago

@Nihantra-Patel
It's working... Thanks