Add option to disable cart saving. See #1257.