Variables
ProductRating
declaration
constProductRating: {~schema: {average:number;count:number; }; }
Product rating and review count.
Type declaration
| Name | Type | Default value | Description |
|---|---|---|---|
| { | ‐ | ‐ |
|
|
| Average rating of the product. A rating between 1 and 5. No other scale is supported at the moment. Decimals are allowed. |
|
| ‐ | Number of ratings. |