@extends('front.layout.app') @section('title', 'Checkout') @section('content')

Billing Address

Fill the form below to complete your purchase

@if (!Auth::user())

Already Registered? Click here to Login now

@endif
@if (auth()->user()) @else @endif @error('first_name') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('last_name') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('email') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('address') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('country') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('city') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('zip_code') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('state') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('s_address') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('s_country') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('s_city') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('s_zip_code') {{ $message }} @enderror
@if (auth()->user()) @else @endif @error('s_state') {{ $message }} @enderror

Order Summary

@forelse($products as $product)
{{ $product['name'] }} for ({{ $product['quantity'] }} items)
@if (count($product['options']) > 0)
    @foreach ($product['options'] as $oindex => $option) @if ($oindex !== 'options_id')
  • {{ $oindex }}: {{ $option }}
  • @endif @endforeach
@endif
Subtotal (${{ sprintf('%.2f', $product['subtotal']) }})
@empty @endforelse
Shipping Cost
$ {{ $shipping_cost }}
Total
${{ sprintf('%.2f', $totalAmount + $shipping_cost) }}
@if ($settings->stripe_publishable_key !== null || $settings->stripe_secret_key !== null)

@endif @if ($settings->paypal_client_id !== null )

@endif @if($settings->authorize_merchant_login_id !== null || $settings->authorize_merchant_transaction_key !== null)

@endif
@endsection @section('extra-js') @if(env('APP_ENV') == 'local') {{----}} @else {{----}} @endif @endsection