@extends('front.layout.app') @section('title', 'Checkout') @section('extra-css') @endsection @section('content')
@include('front.partials.sidemenu')

Proceed to Checkout

@if($errors->any())
@foreach($errors->all() as $error)

{{$error ?? ''}}

@endforeach
@endif @if(Session::has('error'))
{!! Session::get('error') !!}
@endif
@csrf
Proceed to Checkout
@forelse($products as $product) @empty @endforelse {{----}} {{----}} {{----}} @if($shipping_cost > 0) @endif {{-- --}} {{-- --}} {{-- --}}
Product Price Color Quantity Total
{{$product['name']}}
${{$product['price']}}
{{-- {{$product['options']->color ? $product['options']->color : '-'}}--}} @forelse($product['options'] as $index => $option) @if ($index == 'color') {{ $option }} @endif @empty - @endforelse
{{$product['quantity']}}
${{$product['subtotal']}}
Total $23.75
Shipping Method
${{$shipping_cost}}
Payment Method
  • Pay via credit or debit card.

Billing Details
Shipping Details
@endsection @section('extra-js') @endsection