Hello guys,
We have application: 8.4.0.6
It is yet another DW shop, with product field filters, and about 1500 products.
Search index is made automatically every 5 minutes. all goes well.
Except for this method here:
public override void PreparePrices(ProductCollection Products)
{
// This overload is invoked when products are rendered.
if (!Configuration.Global.IsIntegrationActive)
return;
ItemInfoHandler.FetchItemInfos(Products);
}
As I understand when we implement PriceProvider class, he have to ovveride several methods.
PreparePrices is one of them, and incomming parameter "(ProductCollection Products)" is comming somewhere from the DW.
Issue is that when we open a page, with first filter, that has 450 products in filter, and page #2 or page #5 for this instance.
ProductCollection Products is still beying populated by all 450 products (that is exactly how much are under the filter option).
But we are requesting just 20 products upder page #2.
Can we somehow fix this incomming ProductCollection, and make it so that it would contain only the products that beying requested via filter options and page number?
Regards,
Dmitrij