Integrate hide_cart_if_empty property of cart data interface.