@if (sizeof(Cart::instance('default')->content()) > 0)
@php if (session()->has('current_address')) { $destination = session()->get('current_address'); } if (session()->has('coupon')) { $coupon = session()->get('coupon'); } $subtotal = Cart::instance('default')->subtotal() + @$destination->amount ; @endphp
@if (session()->has('coupon')) @endif @if (!$showButtons || @$destination) @endif
{!! __('Subtotal') !!} {{ $subtotal }} {{ __('EGP') }}
{!! __('Discount value') !!} {{ @$coupon['discount'] }} {{ __('EGP') }}
{{ __('Shipping') }} {{ @$destination->title ?? '' }}{{ @$destination->amount ?? '0.0' }} {{ __('EGP') }}
{{ __('Totle Price') }} @if ($subtotal > @$coupon['min_amount']) {{ $subtotal - @$coupon['discount']}} @else {{ $subtotal }} @endif {{ __('EGP') }}
@if ($showButtons) @else @if (session()->has('coupon'))

{!! __('Discount coupon') !!}

@if (@$coupon['min_amount']) {!! __('Discount value') !!} : {{ @$coupon['discount'] }} {!! __('EGP') !!} @endif

{!! __('Lowest purchase value') !!} ({{ @$coupon['min_amount'] }}) {!! __('EGP') !!}

@else
@endif @endif
@endif