edx/edx-platform — pull request #4456 by chrisndodge (2014-07-17 04:44:09+00:00)
Title: add ability to inspect a cart for the existence of a particular type of ...

...item, e.g. PaidCourseRegistration. Only show the 'Shopping Cart' button if there's a PaidCourseRegistration in it.