• {{ __('Admin') }}
  • {{ __('Categories') }}
  • {{ __('Product Detail') }}
  • Category Detail

    {{$category->title}} {{$category->subtitle}}

    Status: @if($category->published) Active @else Inactive @endif {{-- --}}
    id:{{$category->id}}
    Name (Title):{{$category->title}}
    Category ID:{{$category->id}}
    Parent ID:{{$category->id_parent}}
    Abstract:{{$category->abstract}}
    Description:{!! $category->description !!}
    Visible?:{{$category->is_visible == 1 ? "Yes" : "No"}}
    Slug:{{$category->slug}}
    Image: @if($category->image)
    {{$category->getOriginal('image')}}
    @endif
    Banner: @if($category->banner)
    {{$category->getOriginal('banner')}}
    @endif
    Doc: @if($category->doc)
    {{$category->getOriginal('doc')}}
    @endif
    Sort:{{$category->sort}}
    Published?:{{$category->published == 1 ? "Yes" : "No"}}
    Track on Admin Dashboard?:{{$category->is_tracked == 1 ? "Yes" : "No"}}
    Sales Goal (Quantity):{{$category->goal}}
    Created By:{{-- $category->user->full_name --}}
    Created At:{{$category->created_at}}
    Updated At:{{$category->updated_at}}
    Published: @if($category->published) Active @else Inactive @endif

    @if(isset($_GET['published']) && $_GET['published'] == 0) Category Products (All related products) @else Category Products (Active Only) @endif

    {{--

    To see inactive products, click here

    --}}
    Note: @if(isset($_GET['published']) && $_GET['published'] == 0) To see only active products, click here @else To see inactive products, click here @endif

    {{$category->title}}

    {!! $category->description !!}

    @foreach($products as $cp) @endforeach
    title Subtitle On Hand Status Sort Price
    {{ $cp->title }} {{ $cp->subtitle }} {{$cp->quantity_on_hand}} @if($cp->published) Active @else Inactive @endif @if($cp->is_sellable) Sellable @else Not Sellable @endif @if($cp->quantity_on_hand < 10 && $cp->quantity_on_hand != 0) Low Stock @endif @if($cp->quantity_on_hand == 0) Out of Stock @endif {{ $cp->sort }} ${{ number_format($cp->price,2) }}