Here is the simple shopping cart entirely written in PHP. This demo allows you to add, update & remove products. You can download complete Source by clicking download link.