Closed izdrail closed 5 years ago
Try something like
$filter = new AffiliateProductFilter();
for($page = 1; $page <= $numPages; $page++) {
$products = $api->getAffiliateProducts($auth, $productFeed, $filter->page($page));
}
The method is defined here https://github.com/2Parale/2Performant-php/blob/master/src/Filter/CollectionFilter.php
Hy I'm using 'getAffiliateProducts' to get the affiliate products from a feed but the thing is I only get 20 results. Is there any way to increase the number of results that I get? I had a look to the core but I don't find anything related to pagination. Can you direct me in the right way?