A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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