The product rating displays how satisfied are customers after completing orders and product purchases. The rating may include additional labels and may not include them. In general, labels should be considered optional.
A rating display can be found on the following elements:
<aside> ℹ️ Usually, styling this element takes from-to: 3-5h
</aside>
<aside> ➡️ Rating displays average rating as % by default. This means, that the rating may depict 74%, thus taking 3 whole and almost full 4th stars. Please specifically note the developer if the rating should be rounded up to some value for display.
</aside>
The rating display should be displayed accounting for the following:
Issue in designs
Not defined if we need to round up value to some value or not in case of rating summary is not dividable by 5.
The ProductReviewRating
component is responsible for rendering rating. Possibly changes for the StarIcon.component.js
will be needed and ProductCard.style.scss
cause there are declared --product-rating-size
and --product-rating-background
.