Hide cart checkboxes when disabled.
Eliminated redundant code.