This is going to problematic to implement. You would need to add code to store the cart contents in a database when the browser is closed. or when the user leaves your site.
there is some discussion on how to interact with the database on browser close here:
But it can be difficult to determine when the visitor leaves your site.