@extends('frontend.layouts.app3') @section('seo') Checkout | Mulach Bakery @endsection @section('content') @php $cart_total = 0; @endphp @if (session('cart')) @foreach (session('cart') as $cart) @php $cart_total += $cart['amount'] * $cart['price']; @endphp @endforeach @endif
@csrf {{-- --}} @if(session()->get('service_type') != 'Delivery') @else @endif @if(session('success'))
{{ session('success') }}
@endif @if (request()->is('cart/create')) @php $service_type = request()->input('service_type'); @endphp @endif
Checkout


   Back to My Basket
Billing address
@if (session()->get('service_type') == 'Delivery') @error('address') {{ $message }} @enderror
@else @error('store_id') {{ $message }} @enderror @endif
@error('full_name') {{ $message }} @enderror
@error('address') {{ $message }} @enderror
+63
Ex: +639123456789 @error('contact_no') {{ $message }} @enderror
(Please note: We only accept orders during 8:00 AM to 5:00 PM) @error('assigned_date') {{ $message }} @enderror
@if (session()->get('service_type') == 'Delivery') @else @endif @error('assigned_time') {{ $message }} @enderror
{{-- @endforeach --}} @foreach (session('cart') as $cart) {{-- --}} @endforeach
Your Orders

Product(s)
@if (session('cart')) @foreach (session('cart') as $cart) @if ($cart['amount'] != 0)
{{ $cart['name'] }}
x {{ $cart['amount'] }}
₱ {{ number_format($cart['amount'] * $cart['price'], 2) }}
@endif @endforeach @endif
Sub Total
₱ {{ number_format($cart_total, 2) }}

Delivery Fee
₱ 0.00

Total
₱{{ number_format($cart_total + session('sf') ?? 0, 2) }}

Time of Delivery
1:00 PM - 1:30 PM

Delivery Address
Manila G/F Office ...
Payment Methods


@endsection @section('js') @endsection