LiveShoppingService
This service class contains functions related to the live shopping functionality.
All public functions are available in the Twig template renderer.
Methods
public getLiveShoppingData($liveShoppingId, $sorting = null):array
Get required data for live shopping in the frontend
Type |
Name |
Description |
|
A live shopping id |
|
|
Optional: Type of sorting for live shopping variations |
Get list of variations for live shopping
Type |
Name |
Description |
|
An item id |
|
|
Sorting for live shopping variations |
public filterLiveShoppingVariations($itemList):array
Filter list of variations for a specialOffer price
Type |
Name |
Description |
|
Thank you for your feedback!