Cdodge/shopping cart rewrite

Sorry, I just noticed this.  Couldn't you just import `student.views.is_course_blocked` and reuse it here?
Something like
```
if student.views.is_course_blocked(request, redeemed_registration_codes, course_key):
    return redirect(reverse('dashboard'))
```