Developer forum

Forum » Ecommerce - Standard features » Customer Center reorder and Saved for Later collection

Customer Center reorder and Saved for Later collection

Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi there,

We noticed that reordering large orders (around 200 orderlines) was taking a lot of time. After some debug we found out that most of that time is due the Saved for Later collection - for each orderline added there is a sql query ran to get all saved for later items from current session.

Since the loop eCom:Related.SavedForLater is only populated if the saved for later cookie exists - tied to Settings > Ecommerce > Shopping Cart > Saved for later valid time (days) - shouldn't the DB actions (add, remove and get all) also check for the cookie/setting? This would reduce DB calls and improve performance.

DW version 9.10.10.

BR, Mario


Replies

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

bump.. any thoughts?

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

bump bump :)

 
Nicolai Pedersen
Reply

No thoughts. It needs performance optimisation which we cannot prioritize right now. You will have to add some UI to let the user know that things are in progress.

Sorry about the inconvenience.

BR Nicolai

 

You must be logged in to post in the forum