Added the shopping cart functionality.