I have added wishlist icon on cart page, If customer clicks the icon , it works fine and moved the product to the wishlist.
If the guest tries to click wishlist icon, I have triggered login popup, and forced the customer to logged in. After the logged in by guest(Now they became customers), But failed to move the products to the wish list,It shows error like
'The requested cart item doesn\'t exist.'
Please provide me a solution