ItemListService
This service class contains function related to item listings.
All public functions are available in the Twig template renderer.
Namespace
IO\Services
Type | Name | Value | Description |
---|---|---|---|
|
'category' |
||
|
'last_seen' |
||
|
'tag_list' |
||
|
'random' |
||
|
'manufacturer' |
||
|
'cross_selling' |
||
|
'wish_list' |
||
|
'search_suggestions' |
Methods
public getItemList($type, $id = null, $sorting = null, $maxItems, $crossSellingRelationType = null, $withCategories = false):array
Gets a list of items based on parameters
Type |
Name |
Description |
|
Type of item list |
|
|
Optional: Contains an identifier depending on the type |
|
|
Optional: Type of sorting |
|
|
Optional: Maximum number of items (Default: 0) |
|
|
Optional: Type of cross selling relation |
|
|
Optional: If true, load category data (Default: false) |
Thank you for your feedback!