@php use App\Models\Category\Category; @endphp @php /** @var Category $category */ @endphp @extends('admin::layout.main') @section('title', $category->title) @section('content-wrapper') @include('admin::pages.components.breadcrumb', [ 'current_route_title' => $category->title, 'previous_route_title' => trans('admin-sidebar.Categories'), 'previous_route_url' => route('admin.category.index') ])

@csrf @method('PUT') @include('admin::pages.components.form.tabs')
@foreach(LaravelLocalization::getSupportedLocales() as $iso => $locale)
@include('admin::pages.components.form.meta-tags', ['iso' => $iso, 'locale' => $locale, 'model' => $category])
@endforeach
When the "Is top" flag is enabled, the category will be displayed on the homepage as a "TOP" category.
The position on the homepage.
When the "Is Featured" flag is enabled, the category will be displayed on the homepage in "Popular" slider.
The position on the homepage.
Here, you can select property(-ies) that will be displayed on the catalog page in filters section.
@include('admin::pages.components.flash-messages')

{{ $category['title'] }}

@include('admin::pages.components.upload.single', [ 'modelInstance' => Category::class, 'modelID' => $category->id, 'attachmentKey' => Category::ATTACH_TOP_KEY ])
@include('admin::pages.components.upload.single', [ 'modelInstance' => Category::class, 'modelID' => $category->id, 'attachmentKey' => Category::ATTACH_ICON_KEY ])
@include('admin::pages.components.upload.single', [ 'modelInstance' => Category::class, 'modelID' => $category->id, 'attachmentKey' => Category::ATTACH_FEATURE_KEY ])
@include('admin::pages.components.upload.single', [ 'modelInstance' => Category::class, 'modelID' => $category->id, 'attachmentKey' => Category::ATTACH_BANNER_KEY ])
@endsection @push('script') @endpush