This file contains the code for functions performed by the shopping cart.