@extends('layouts.app') @section('title', 'Checkout - Buy Now') @section('content')

Checkout - Buy Now

@csrf

Shipping Address

Order Summary

{{ $buyNowItem->book->title }}

{{ $buyNowItem->book->title }}

{{ $buyNowItem->book->author }}

Category: {{ $buyNowItem->book->category->name }}

Qty: {{ $buyNowItem->quantity }}

Price ({{ $buyNowItem->quantity }} × ₹{{ number_format($buyNowItem->book->price, 2) }}) ₹{{ number_format($subtotal, 2) }}
Shipping @if(auth()->user()->state_id) @if($shipping == 0) FREE @else ₹{{ number_format($shipping, 2) }} @endif @else Calculated based on state selection @endif
@php $minBulkPurchase = \App\Models\Setting::get('min_bulk_purchase', 10); $isBulkPurchase = $buyNowItem->quantity >= $minBulkPurchase; @endphp @if($isBulkPurchase)

Congratulations! You are qualified for special discount on the shipping charges on bulk quantity ({{ $minBulkPurchase }}+ items) purchase!

@endif
Total @if(auth()->user()->state_id) ₹{{ number_format($total, 2) }} @else ₹{{ number_format($subtotal, 2) }} @endif
Your payment information is secure and encrypted
@endsection