@php $links = json_decode($menus, true); // dd($links); @endphp
@if( $visibility->is_shop == 1)
@php $countitem = 0; if(Session::has('cart')){ $cart = Session::get('cart'); $cartTotal = 0; if($cart){ foreach($cart as $p){ $cartTotal += (double)$p['price'] * (int)$p['qty']; } } }else{ $cart = []; } @endphp {{ count($cart) }}
@endif @if( $visibility->is_quote_page == 1) @endif