Hello,
Currently, the project that I am working on is on .NET 4.8 and Commerce 13.35. I would like to get many products (if possible, without batching/paging).
I am using the following code:
...
var productLinks = _referenceConverter.GetContentLinks(codes).Values;
var products = _contentLoader.GetItems(productLinks, CultureInfo.InvariantCulture).OfType<ProductData>();
...
I find the performance a bit slow (with getting the variants for each product it can go up to 10s).
Is there a better/faster way to get a large number of products loaded in one go?