@extends('frontend.master.master') @section('computer') @endsection @section('content')
@if (isset($cart_data))
@php $total="0" @endphp @if (Cookie::get('shopping_cart'))
@foreach ($cart_data as $data) @php $total = $total + ($data['item_quantity'] * $data['item_price']) @endphp @endforeach
Product Price Quantity Total
৳ {{ number_format($data['item_price'], 2) }}
৳ {{ number_format($data['item_quantity'] * $data['item_price'], 2) }}
@endif
@else

No product has been added in cart.

@endif
@endsection @section('mobile') @endsection