Use the WordPress Transients API for persistent carts

Authenticated customers can now log out and back in again on a
different device and get their cart back.