We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f33664f commit cd81689Copy full SHA for cd81689
README.md
@@ -87,14 +87,14 @@ $searchFilters = $searchBuilder->getFilters();
87
88
$firstPage = $client->getProductApi()->listPerPage(50, true, ['search' => $searchFilters]);
89
90
-echo $page->getCount();
+echo $firstPage->getCount();
91
92
-foreach ($page->getItems() as $product) {
+foreach ($firstPage->getItems() as $product) {
93
// do your stuff here
94
echo $product['identifier'];
95
}
96
97
-$nextPage = $page->getNextPage();
+$nextPage = $firstPage->getNextPage();
98
99
$firstPage = $nextPage->getPreviousPage();
100
```
0 commit comments