Sunnysideup\Ecommerce\Pages\ProductGroupController::getFinalProductList
Retrieve a list of products, based on the given parameters.
This method is usually called by the various controller methods. The extraFilter helps you to select different products depending on the method used in the controller. To paginate this
Signature
public function getFinalProductList([array|string
$extraFilter = NULL,
[array|string
$alternativeSort = NULL]] )
Parameters
$extraFilter
— object- OPTIONAL Additional SQL filters to apply to the Product retrieval
$alternativeSort
— object- OPTIONAL Additional SQL for sorting
Returns
- FinalProductList