@extends('front.app') @section('title', 'Page Vendor List') @section('content')

Checkout

Billing Address

@if($billingAddresses->count()) @foreach($billingAddresses as $addr)
@endforeach @else

No billing address found. Please add one.

@endif
Add / Edit Billing Address
@csrf

Shipping Address

@if($shippingAddresses->count()) @foreach($shippingAddresses as $addr)
@endforeach @else

No shipping address found.

@endif
Add / Edit Shipping Address
@csrf
{{-- Order Summary --}}

Your Order

    @foreach($cartItems as $item)
  • {{ $item->products->name }} x {{ $item->quantity }}

    ₹{{ number_format($item->product_options->price * $item->quantity, 2) }}
  • @endforeach
  • Product Subtotal ₹{{ number_format($cart->total_price, 2) }}

  • @if($cart->pre_discount > 0)
  • Product Discount -₹{{ number_format($cart->pre_discount, 2) }}

  • @endif @if($cart->discount_amount > 0)
  • Coupon Discount -₹{{ number_format($cart->discount_amount, 2) }}

  • @endif
  • Shipping ₹{{ $shippingData['shippingCost'][0]['TotalShipCost'] ?? 0 }}

  • {{ $shippingData['shippingCost'][0]['gst_type'] ?? 'Tax' }} ₹{{ $shippingData['shippingCost'][0]['total_gst_amount'] ?? 0 }}

  • Total ₹{{ number_format( $shippingData['shippingCost'][0]['totalCartAmount'] ?? $cart->total_price_after_discount, 2 ) }}

Payment Method

{{-- CC Avenue Payment --}}

Secure payment via CC Avenue.

{{-- Bank Transfer --}}

Transfer via bank or UPI. Order will be processed after payment confirmation.

Bank Transfer Details
QR Code

A/C Name: {{ $bank->ac_name }}

A/C Number: {{ $bank->ac_number }}

Bank: {{ $bank->bank_name }}

IFSC: {{ $bank->ifsc_code }}

Branch: {{ $bank->bank_branch }}

{{-- Place Order Button --}}
@endsection