Hi
Is it possible to set the TotalProductCount property in the OnBeforeProductList observer? In the OnBeforeProductList observer we are fetching data from a third party system to filter and sort products (Relewise) and that works as intended by using the AutoIds property to determine which products to show.
But the TotalProductCount is wrong and I can't see that it is possible to overrule the value, when looking through the source code:
TotalProductCount not mathing with the amount of Products shown due to the override of AutoIds in OnBeforeProductList observer.
I don't see how I can overrule the settings variable using the observer pattern: