Create shopping cart widget class.