EmicoEcommerce / Magento2Tweakwise-archived

Magento 2 module for Tweakwise integration
Other
9 stars 25 forks source link

Load product collection before getting size of the product collection #35

Closed joost-florijn-kega closed 6 years ago

joost-florijn-kega commented 6 years ago

By loading the product collection the query is updated with filters based on the response of the call that is made to the Tweakwise Navigator API. This needs to be done because otherwise all the products are counted and this results in selecting the wrong template for the search results.

This will fix issue https://github.com/EmicoEcommerce/Magento2Tweakwise/issues/34