add a little code for shopping cart