@php $category = $category ?? null; @endphp Parent category children()->exists())> None — this is a parent category @foreach (($parents ?? []) as $parent) parent_id ?? '') === (string) $parent->id)>{{ $parent->name }} @endforeach Leave empty for a parent category. Choose a parent to make this a subcategory. is_active ?? true))> Active show_social_icons ?? false))> Show social icons on brand listing Category image @if ($category?->imageUrl()) @endif Category banner Optional. Recommended size: 1200 × 400 px. Stored image is kept at 3:1 and at most 200 KB. @if ($category?->bannerUrl()) @endif