Can you provide something clearer than "settings is set" and "setting is set"?

Also, you could just directly assign <code>display_shopping_cart</code> to the if statement's condition.