change the context_processor in the shopping cart to return a pointer to...

... a function so that only the templates that actually need to know if the shopping cart button should be shown will actually make the database roundtrips
This function is also missing a doc string which is why the quality build failed.