Hello,
we need to restore pending customer´s cart when he logs in again. This was discussed on https://wiki.hybris.com/display/forum/Working+with+multiple+carts , but some areas weren't completely clarified:
The cart is cloned/saved on session cleanup(). But where is it restored?
Axel´s proposed saveAndEmptySessionCart( String cartID ) and restoreSessionCart( String cartID ) are called passing "SavedCart-"+getSessionID as the cartID. Does this makes sense, since "save" and "restore" are intended to be called on different moments/sessions?
What about the last solution? (https://wiki.hybris.com/display/forum/Working+with+multiple+carts?focusedCommentId=205096741#comment-205096741) It seems it could work, does it have any drawback?
Thank you,