<?php 
ob_start();
exwf_add_user_info_sidecart();
$dl_info = ob_get_contents();
ob_end_clean();
?>
<div class="exwf-mbnav">
	<div class="exwf-mbnav-content">
		<?php if(str_replace(' ', '',$dl_info)!=''){?>
		<div class="exwf-mbnav-item exwf-dl-info">
			<?php echo $dl_info;?>
		</div>
		<?php } ?>
		<div class="exwf-mbnav-item exwf-cart-icon">
			<a href="<?php echo wc_get_cart_url() ?>">
				<span class="exwf-mbnav-icon">
					<i class="ion-android-cart"></i>
					<span class="exfd-cart-num"><?php echo WC()->cart->get_cart_contents_count(); ?></span>
				</span>
				<span><?php esc_html_e('Cart','woocommerce-food')?></span>
			</a>
		</div>
		<div class="exwf-mbnav-item exwf-ck-icon">
			<a href="<?php echo wc_get_checkout_url() ?>">
				<span class="exwf-mbnav-icon">
					<i class="ion-card"></i>
				</span>
				<span><?php esc_html_e('Checkout','woocommerce-food')?></span>
			</a>
		</div>
		<div class="exwf-mbnav-item exwf-account-icon">
			<a href="<?php echo wc_get_account_endpoint_url( 'orders' ); ?>">
				<span class="exwf-mbnav-icon"><i class="ion-android-person"></i></span>
				<span><?php esc_html_e('My orders','woocommerce-food')?></span>
			</a>
		</div>
	</div>
</div>
