Hi,
On a Swift we are experiencing that adding many order lines to a cart will cause the solution to load for a long time. E.g. a cart with 24 order lines (27 products in total as two orderlines have quantity 2 and 3) will take around 10 seconds for each additional product added. Running debug=true reveals that the following requests are made to the ERP system:
CalculateOrder
Called once, takes 303 ms
DynamicwebLiveIntegration.ProductPriceProvider.FindPriceInfoWithContext
Called 648 times, takes 1 to 11 ms per request/response pair. Turns out that 648 = 24 x 27 ({PRODUCTS} x {ORDERLINES})
GetProductsInfo
Called once, takes 56 ms
So it seems that the live integration is requesting the prices way too many times, which makes it slow.
The solution is running DW v9.15.7 and the Dynamicweb.Ecommerce.DynamicwebLiveIntegration dll has been upgraded from v.7.2.7 to v7.2.12 to see if that would fix the problem, but unfortunately that was not the case.
Can I somehow tweak the settings to make this faster?
Kind regards,
Roald