@extends('front_end.template.layout') @section('content')

Checkout

If you have shopped with us before, please enter your details in the boxes below. If you are a new customer, please proceed to the Billing & Shipping section.

Forgot your password?

Enter your coupon code if you have one.

Your Order

@foreach($cart as $item) @endforeach
Product Name Price Qty Subtotal
{{ $item['name'] }} {{$item['color_text']}} {{$item['size_text']}}
{{ $item['description'] ?? '' }} @if(!empty($item['customer_notes']) || !empty($item['customer_file'])) View Details
@if(!empty($item['customer_notes']))
Note: {{ $item['customer_notes'] }}
@endif @if(!empty($item['customer_file'])) @php $ext = pathinfo($item['customer_file'], PATHINFO_EXTENSION); $isImage = in_array(strtolower($ext), ['jpg', 'jpeg', 'png', 'gif', 'webp']); @endphp
File: @if($isImage)
Uploaded file
@else View Uploaded File @endif
@endif
@endif
AED {{ number_format($item['price'], 2) }} {{ $item['quantity'] }} AED {{ number_format($item['price'] * $item['quantity'], 2) }}
Tax AED {{ number_format($totalTax, 2) }}
Shipping AED {{ number_format($shipping, 2) }}
Total AED {{ number_format($grand_total, 2) }}

Delivery address

The following addresses will be used on the checkout page by default.

@if($addresses->isEmpty())

You don't have any saved addresses.

Add New Address
@else @foreach($addresses as $address)

{{ $address->address }}

{{ $address->full_name }}

@if($address->is_default) Default Address @else Other Address @endif is_default ? 'checked' : '' }} class="address-radio">
@endforeach @endif

payment method

@csrf
@endsection