@extends('layouts.admin') @section('title','Catalog taxonomy') @section('heading','Brands, tags & menus') @section('content')

New brand

@csrf

New tag

@csrf

New menu item

@csrf

Brands

@forelse($brands as $brand)@empty@endforelse
NameServiceProductsStatus
{{$brand->name}}
{{$brand->slug}}
{{$brand->service_type?:'all'}}{{$brand->products_count}}{{$brand->is_active?'Active':'Inactive'}}@if(!$brand->products_count)
@csrf @method('delete')
@endif
No brands.

Tags

@forelse($tags as $tag)@empty@endforelse
NameServiceProductsStatus
{{$tag->name}}
{{$tag->slug}}
{{$tag->service_type?:'all'}}{{$tag->products_count}}{{$tag->is_active?'Active':'Inactive'}}@if(!$tag->products_count)
@csrf @method('delete')
@endif
No tags.

Customer menu hierarchy

@forelse($menus as $menu)@empty@endforelse
ItemServiceParentDestinationOrder
{{$menu->name}}{{$menu->service_type}}{{$menu->parent?->name?:'Top level'}}{{$menu->category?->name?:'Navigation'}}{{$menu->sort_order}}@if(!$menu->children_count)
@csrf @method('delete')
@endif
No menu items.

Edit taxonomy

Changes are service validated before they become visible in Vendor and Customer apps.

Brands

@foreach($brands as $brand)
{{$brand->name}}
@csrf @method('put')
@endforeach

Tags

@foreach($tags as $tag)
{{$tag->name}}
@csrf @method('put')
@endforeach

Menu items

@foreach($menus as $menu)
{{$menu->name}}
@csrf @method('put')
@endforeach
@endsection