card creation and smarter cart