Adds cart functionality to hide itself when empty.