My Courses in course press have links to shop pages not units

I'm having trouble with pages and menus for Courses and for Students.

When a logged in student clicks MY COURSES, he/she sees a list of enrolled courses. When he/she clicks DETAILS, it just goes to the commerce/product listing page for the course he/she already bought but as if he/she never bought the course. I'm want to have them be able to access the units or other course information relevant to them from their list of courses.