Light Mode
Reviews Summary
The <salla-reviews-summary>
web component allows users to display the general rating out of 5 stars on the product details page. This makes it easier for customers to quickly find the information they need by highlighting the main topics that appear across existing reviews.
Example
Usage
<salla-reviews-summary> </salla-reviews-summary>
This JS web component can be targeted for styling by its :host
class. Following is a complete source code for customizing this component:
:host {
display: block;
}
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Item ID (required) | item-id |
Product ID to fetch its summary | number |
undefined |
Last modified: 5 months ago