@php /*$this->ci->load->library('cart'); $cart = FALSE; if($this->ci->cart->total_items() > 0){ foreach($this->ci->cart->contents() as $it){ if($it['type'] === 'product') $cart = TRUE; } }*/ $cart = TRUE; @endphp @if($cart)
{{$curr.number_format($it['price'],2)}} x {{$it['qty']}} = {{$curr.(number_format($it['price'] * $it['qty'],2))}}
{{__('cart_empty')}}