{{-- Reusable product checkbox grid for building a collection. Params: $pickProducts Collection of WaProduct (id, name, sku, image_url, price_minor, currency_code) $selected array of pre-checked product ids (edit mode) $fieldName input name (default product_ids[]) --}} @php $selected = $selected ?? []; $fieldName = $fieldName ?? 'product_ids[]'; @endphp
{{ count($selected) }}/30
@forelse ($pickProducts as $p) @empty
{{ __('No active products yet.') }} {{ __('Add one →') }}
@endforelse