Update shopping cart so that it relies on adding a generic object (ArrayData)