November Happy Hour will be moved to Thursday December 5th.

Apply promotions over a collection

Vote:
 

Hi,

We are currently using StoreHelper.GetDiscountPrice(Entry entry).

In our search listings (using Solr) we create own own DTO objects from the search results where we extend the pricing values for trade customers etc.

Currently we are using that GetDiscountPrice method for each entry we have for the current page. Most of the request time is spent getting this discount prices which is crippling the search results, even on a relatively small record set. By disabling promotions we see a massive performance improvement.

We need a way to apply promotions over a collection of entries and get back the discount price for each of those entries - quickly.

Does anyone have any steer on how we can achieve this?

Cheers

Tim

#77808
Nov 26, 2013 14:30
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.