When changing the default amount of products to show in the product grid, the change isn't being reflected by the extension.
Environment
PHP Version: 7.0.18
Magento Version: 2.1.7
Tweakwise Version: 1.0.1
Magento Deploy Mode: production
Steps to reproduce
Install Magento 2.1.7
Go to Stores -> Configuration -> Catalog -> Catalog and change the Products per Page on Grid Default Value value to something else than 12, for example to 30.
Go to any category which has said amount of products.
Actual result
The category grid should contain 30 products
Expected result
The category grid contains 12 products.
Debugging results
When you change the limit, Magento add the product_list_limit=60 which is reflected by the tweakwise URL builder like tn_ps=60.
When using the default value, this parameter is not present. Tweakwise creates a request to the following URL:
http://navigator-group1.tweakwise.com/navigation/xxxxxxx?tn_cid=xxxxxxx
This returns a response containing 12 products, instead of the expected 30 (configured default value in Magento 2).
Issue Brief
When changing the default amount of products to show in the product grid, the change isn't being reflected by the extension.
Environment
Steps to reproduce
Products per Page on Grid Default Value
value to something else than 12, for example to 30.Actual result
Expected result
Debugging results
When you change the limit, Magento add the
product_list_limit=60
which is reflected by the tweakwise URL builder liketn_ps=60
.When using the default value, this parameter is not present. Tweakwise creates a request to the following URL:
http://navigator-group1.tweakwise.com/navigation/xxxxxxx?tn_cid=xxxxxxx
This returns a response containing 12 products, instead of the expected 30 (configured default value in Magento 2).