{{-- Header --}}

Haleon Product Orders

Select products and quantities to create your order

{{-- Search Box --}}
{{-- Products List --}}
{{-- Debug: Show total brands and products --}}
Debug Info:
Brands loaded: {{ $filteredBrands->count() }}
Cart items: {{ count($cart) }}
Cart contents: {{ json_encode($cart) }}
@forelse($filteredBrands as $brand)

{{ $brand->name }}

{{ $brand->products->count() }}
@foreach($brand->products as $product)

{{ $product->name }}

{{ $product->size }}

@if($product->barcode)

{{ $product->barcode }}

@endif
@endforeach
@empty
No products found
@endforelse
{{-- Bottom Action Bar --}}
{{ count($cart) }} items ordered
{{-- Email Modal --}} @if($showEmailModal)

Email Order

@error('email') {{ $message }} @enderror
@endif