@php $bundle = collect($resolved)->flatMap(fn ($group) => collect($group['products'] ?? []))->take(4); $bundleTotal = $bundle->sum('front_sale_price'); @endphp @if ($bundle->isNotEmpty())
@foreach ($bundle as $index => $product) @if (! $loop->last) @endif @endforeach

{{ __('Bundle total') }}

{{ format_price($bundleTotal) }}

@endif