Customize Page Size Limit
The CM module makes use of the default page size used in the storefront. There might be cases when the page size value might be incorrect. You can state the page size used by our module.
Use cases
There are 3 use cases:
When MySQL is configured as the search engine.
When ES is configured as the search engine
When the merchant is using M2 graphql to fetch the catalog page
Setting custom page size value
Open the file
app/code/My/Nosto/etc/di.xml
Override the pageSize argument for web handler
Nosto\Cmp\Plugin\Framework\Search\Request\WebHandler
or GraphQL handlerNosto\Cmp\Plugin\Framework\Search\Request\GraphQlHandler
Compiling your changes
In order to compile your changes you'll need to run the di:compile
command
Last updated