Not sure if this is a bug in uCommerce or by design. I am currently working on product review integration and I am hitting an issue with reviews that have not been approved. It appears that uCommerce is calculating the average based on all product reviews and not just the ones that have been approved. Has anyone else come across this issue?
I have not encountered that issue, mainly because im also filteringen the reviews based on culturecode (where im also filtering on the ReviewStatusId).
If my memory serves me well, that rating is a attribute on the product. It's not related to the review information (so if you change a review, its not reflected on the product rating).
I would recommend doing a sum and count on my"GetApprovedProductReviews" extension and do the "math" yourself.
Calculating AverageProductReview
Not sure if this is a bug in uCommerce or by design. I am currently working on product review integration and I am hitting an issue with reviews that have not been approved. It appears that uCommerce is calculating the average based on all product reviews and not just the ones that have been approved. Has anyone else come across this issue?
Cheers,
Marc
I have not encountered that issue, mainly because im also filteringen the reviews based on culturecode (where im also filtering on the ReviewStatusId).
If my memory serves me well, that rating is a attribute on the product. It's not related to the review information (so if you change a review, its not reflected on the product rating).
I would recommend doing a sum and count on my"GetApprovedProductReviews" extension and do the "math" yourself.
Sounds like a plan Nickolaj, cheers for the advice.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.