Recommendations
The container for displaying products based on usage data captured by the Recommendations service.
Provided Aliases: $recommendations
Structure
<yield>
<gb-list items="{ $recommendations.products }">
<gb-product product="{ $item }"></gb-product>
</gb-list>
</yield>
Example Implementation
<gb-recommendations></gb-recommendations>
Properties
This component does not have any properties.
State
Property | Type | Default | Notes |
---|---|---|---|
products |
Store.Product | [] |
This will be populated with the recommended products once fetched. |
Events
Event | Affected State Properties |
---|---|
'recommendations_products_updated' |
products |