changed save ticket record to save CartType when creating carts not in the database.