save cart for anonymous user after registration
There is a module called Commerce Checkout Redirect, which redirects an anonymous user to Register or Login page and redirects to checkout on filling of either form, that would come handy for you.