Order Summary
@foreach($items as $item)
{{ $item['product']->name }}
@php
$stockCost = 0;
$stockUnit = $item['type'] === 'wallpaper' ? '/m' : '/m²';
if ($item['stock']) {
$stockCost = $item['type'] === 'wallpaper' ? $item['stock']->cost_per_meter : $item['stock']->cost_per_m2;
}
@endphp
@if($item['stock'])
{{ $item['stock']->name }}: R{{ number_format($stockCost, 2) }}{{ $stockUnit }}
@endif
@if($item['type'] === 'wallpaper')
Length: {{ $item['length'] }}m
@elseif($item['type'] === 'mural')
Dimensions: {{ $item['width'] }}m × {{ $item['height'] }}m ({{ number_format($item['width'] * $item['height'], 2) }}m²)
@endif
@if($item['quantity'] > 1)
Quantity: {{ $item['quantity'] }}
@endif
R{{ number_format($item['subtotal'], 2) }}
@endforeach
Subtotal:
R{{ number_format($total, 2) }}
Shipping:
TBD at payment
Tax:
TBD at payment
Total:
R{{ number_format($total, 2) }}
← Back to Cart