@php use App\Models\Detail; $details = Detail::first(); @endphp @extends('layouts.land') @section('title', 'Cart') @section('content') @include('sweetalert::alert') @if(!Auth::check())
| Product | Price | Quantity | Subtotal | |
|---|---|---|---|---|
{{ $details['name'] ?? 'No name' }}{{ $details['desc'] ?? 'No description available' }} |
₦{{ number_format($price, 2) }} | ₦{{ number_format($subtotal, 2) }} | ||
| Your cart is empty | ||||
| Continue Shopping | Total | ₦{{ number_format($total, 2) }} | ||