@php $bundle = collect($resolved)->flatMap(fn ($group) => collect($group['products'] ?? []))->take(4); $bundleTotal = $bundle->sum('front_sale_price'); @endphp @if ($bundle->isNotEmpty())
{{ $product->name }}
{{ format_price($product->front_sale_price) }}
{{ __('Bundle total') }}
{{ format_price($bundleTotal) }}