@extends('layouts.frontend.app') @section('title') {{$title}} @endsection @section('meta') @php $website = App\Website::get()->last(); @endphp @endsection @push('css') @endpush @section('content')

Shopping Cart

@php $total = 0; $i = 1; @endphp @if(session('cart')) @foreach(session('cart') as $id => $details) @csrf @endforeach @endif
#SL Image Product Name Price Qty Subtotal Action
{{$i++}} {{ $details['title'] }}
@if ($details['size_id']) @php $size = App\Size::find($details['size_id']); @endphp Size : {{$size->name}}
@endif @if ($details['colour_id']) @php $colour = App\Colour::find($details['colour_id']); @endphp Colour : {{$colour->name}} @endif
৳{{ number_format($details['sell_price']) }}
৳{{ number_format($details['sell_price'] * $details['quantity']) }} Delete
Sub Total ৳ {{ number_format($total) }}
Total ৳ {{ number_format($total) }}
@endsection @push('js') @endpush