{{-- Collections tab — reusable saved product groups (sets), fired as MPM. --}}
{{-- Intro --}}
{{ __('Collections') }}
{{ __('Save a group of products once, then send it as a Multi-Product Message in one click — no re-picking each time.') }}
{{-- Create --}}
{{ __('New collection') }}
@csrf
{{ __('Products') }} ({{ __('up to 30') }}) @include('user.catalog._product-picker', [ 'pickProducts' => $pickProducts, 'selected' => [], 'fieldName' => 'product_ids[]', ])
{{-- List --}} @forelse ($sets as $set) @php $members = $set->products(); @endphp
@foreach ($members->take(4) as $m) @if ($m->image_url) @else @endif @endforeach
{{ $set->name }}
{{ trans_choice('{0}empty|{1}:count product|[2,*]:count products', $set->product_count, ['count' => $set->product_count]) }} @if ($set->description) · {{ \Illuminate\Support\Str::limit($set->description, 60) }} @endif
@csrf @method('DELETE')
{{-- Send panel --}} {{-- Edit panel --}}
@empty
{{ __('No collections yet. Create your first one above.') }}
@endforelse
@push('scripts') @endpush