Shop cart

why is this global?