@extends('layouts.guest-landing') {{-- Use public layout --}} @section('title', __('cart.title')) @section('content') {{-- Alpine component for status check --}}
{{ __('cart.for_campaign') }} {{ $group['campaign_title'] ?? __('cart.unknown_campaign') }}
@endif| {{ __('cart.product') }} | {{ __('cart.price') }} | {{ __('cart.quantity') }} | {{ __('cart.subtotal') }} | {{ __('cart.remove') }} |
|---|---|---|---|---|
|
@if ($item->attributes->image_url)
{{ $item->name }}
|
${{ number_format($item->price, 2) }} | {{ $item->quantity }} | ${{ number_format($item->getPriceSum(), 2) }} |
|
{{ $donationItem->name }}
|
${{ number_format($donationItem->price, 2) }} | {{ $donationItem->quantity }} | ${{ number_format($donationItem->getPriceSum(), 2) }} |
{{ __('cart.products_subtotal') }} ${{ number_format($productItemsSubtotal, 2) }}
@if ($donationAmount > 0){{ __('cart.donation_amount') }} +${{ number_format($donationAmount, 2) }}
@endif @if ($enableSurcharge && $surchargeAmount > 0){{ __('cart.subtotal_for_fee') }} ${{ number_format($originalCartTotal, 2) }}
{{ $surchargeLabel }}: +${{ number_format($surchargeAmount, 2) }}
@endif{{ __('cart.grand_total') }} ${{ number_format($cartTotalWithSurcharge, 2) }}
{{-- Note Text --}}