Our WooCommerce add-on has option to add the cart icon in the primary navigation.
You can add this CSS to show that icon only when there are products added in the shopping cart:
.mobile-bar-items.wc-mobile-cart-items:not(.has-items),
.main-navigation .wc-menu-item:not(.has-items) {
display: none;
}