@push('styles_top') @endpush
@error('category_id')
{{ $message }}
@enderror
{{ trans('public.category_filters') }}
@if(!empty($bundleCategoryFilters) and count($bundleCategoryFilters)) @foreach($bundleCategoryFilters as $filter)
{{ $filter->title }}
@php $bundleFilterOptions = $bundle->filterOptions->pluck('filter_option_id')->toArray(); if (!empty(old('filters'))) { $bundleFilterOptions = array_merge($bundleFilterOptions, old('filters')); } @endphp @foreach($filter->options as $option)
id, $bundleFilterOptions)) ? 'checked' : '') }} class="custom-control-input" id="filterOptions{{ $option->id }}">
@endforeach
@endforeach @endif
@push('scripts_bottom') @endpush