Sample code of shopping cart functionality based on clientside solutions.