Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
The product reviews panel listing existing reviews does not properly render the review rating for each review. While star-count is accurate, every review still says 'No Rating' after the stars. The problem is the reference to the partial view _ProductRatingStars only passes the Model.ReviewRating and does not also pass Model.TotalReviews. In \Views\Product\_ProductReviewsPanel.cshtml change: Code:
@Html.Action("_ProductRatingStars", "Product", new { Rating = review.ReviewRating })
to Code:
@Html.Action("_ProductRatingStars", "Product", new { Rating = review.ReviewRating, TotalReviews = Model.TotalReviews })
This will resolve the issue Capture.JPG (32kb) downloaded 0 time(s).
|
1 user thanked Joe Payne2 for this useful post.
|
|
|
Rank: Advanced Member
Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System Joined: 10/11/2018(UTC) Posts: 110
Thanks: 19 times Was thanked: 18 time(s) in 18 post(s)
|
Hi Joe,
The bug is confirmed and reported. Thanks for letting us know!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close