@extends('layouts.frontend.app') @section('content')
@guest
@csrf
@endguest
@csrf
@if ($errors->has('isagree'))
@endif

Checkout

@if($errors->has('firstname')) {{$errors->first('firstname')}} @endif
@if($errors->has('lastname')) {{$errors->first('lastname')}} @endif
{{--
--}}
@if($errors->has('country')) {{$errors->first('country')}} @endif
@if($errors->has('email')) {{$errors->first('email')}} @endif
@if($errors->has('phone')) {{$errors->first('phone')}} @endif
{{-- --}} @if($errors->has('address')) {{$errors->first('address')}} @endif
@if($errors->has('city')) {{$errors->first('city')}} @endif
@if($errors->has('postcode')) {{$errors->first('postcode')}} @endif
{{--
--}} {{--
--}}

Shipping Address

{{--
--}}

YOUR ORDER

@if(session('cart_data'))

Product Total

    @php $subtotal=0; $delivery_fee=60; @endphp @foreach(session('cart_data') as $each_product) @php $subtotal= $subtotal + ($each_product['price'] * $each_product['quantity']) @endphp
  • {{$each_product['pname'].' X '.$each_product['quantity']}} {{ isset($settings) ? $settings->currency_symbol ?? "Currency Not Set " : "Currency Not Set " }} {{ number_format($each_product['price'] * $each_product['quantity'],2)}}
  • @endforeach

Sub Total {{ isset($settings) ? $settings->currency_symbol ?? "Currency Not Set " : "Currency Not Set " }} {{number_format($subtotal,2)}}

Shipping Fee {{ isset($settings) ? $settings->currency_symbol ?? "Currency Not Set " : "Currency Not Set " }} {{number_format($delivery_charge,2)}}

Grand Total {{ isset($settings) ? $settings->currency_symbol ?? "Currency Not Set " : "Currency Not Set " }} {{ number_format(($cart_data['grandtotal'] + $delivery_charge),2)}}

@else

Your cart is empty!

@endif {{--

blog-article

Sorry, it seems that there are no available payment methods for your state.
--}}

{{--
--}} @foreach($payment_methods as $each_method) @php $checked=''; if($loop->index==0){$checked='checked';} @endphp
@endforeach

@endsection