Customize Query Parameters
This module relies on Http parameters for handling pagination and sorting. In case your Magento installation has a customised catalog page or customised query parameter (we rely on p
for page and product_list_order
for sorting order), it is necessary to create a class which will be responsible for handling two parameters: page number and sorting order. Read up on Overriding or Extending Functionalities prior to proceeding with this.
Create a CustomParameterResolver
class
CustomParameterResolver
classThis class will implement ParameterResolverInterface
and it's methods.
Inject the CustomParameterResolver
CustomParameterResolver
Open the file
app/code/My/Nosto/etc/di.xml
Inject the class
Compiling your changes
In order to compile your changes you'll need to run the di:compile
command
Last updated