@extends('layouts.default_layout') @section('stylesheet') @endsection @section('content')
@if(Cart::count() > 0)
@foreach(Cart::content() as $row) @endforeach
Delete Image Product Price Quantity Total
{{ $row->name }} Tk {{ $row->price }}
@csrf - +
Tk {{ $row->subtotal }}

ENTER YOUR COUPON CODE IF YOU HAVE ONE.

@CSRF
@if(Session::get('coupon_status')) {!! Session::get('coupon_status') !!} @endif

Subtotal

Tk {{ Cart::subtotal() }}

Delivery Charge

Tk {{ $deliveryCharge }}

Total Discount

Tk {{ filter_var(Cart::subtotal(), FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION) - Session::get('total_price') + $deliveryCharge }}

Total

Tk {{ Session::get('total_price') }}

@if((Session::get('total_price') - $deliveryCharge) >= 500) @else
You can't order less than 500 taka
@endif
@else
You don't have any item in your cart. Go to Shop.
@endif {{--@if(count($purchaseDiscountOffer) > 0)--}} {{--@foreach($purchaseDiscountOffer As $key => $val)--}} {{--
Offer Type: {{$val->offer_type}} => Discount: {{ $val->discount }}
--}} {{--@endforeach--}} {{--@endif--}}
@endsection @section('script') @endsection