Modified Shopping Cart code