adding shopping cart cookie functionality