Update of David's products controller and view.
(See Moodle Post)