fixes issue #3 where cart notice did not display and cart did not empty properly