@extends('admin.layouts.main')
@section('title',"Cấu hình sản phẩm theo danh mục")
@section('css')
@endsection
@section('content')
@include('admin.partials.content-header',['name'=>"Danh mục","key"=>"Cấu hình sản phẩm theo danh mục"])
Danh sách sản phẩm
Chọn danh mục để hiển thị sản phẩm
Chọn danh mục
@foreach ($data_cate as $item)
@if (count($item->childs) > 0)
@foreach ($item->childs()->with('translationsLanguage')->where('active', 1)->orderBy('order')->get() as $itemChild)
@if (count($itemChild->childs) > 0)
@foreach ($itemChild->childs()->with('translationsLanguage')->where('active', 1)->orderBy('order')->get() as $itemChild2)
@if (count($itemChild2->childs) > 0)
@foreach ($itemChild2->childs()->with('translationsLanguage')->where('active', 1)->orderBy('order')->get() as $itemChild3)
@endforeach
@endif
@endforeach
@endif
@endforeach
@endif
@endforeach
@endsection
@section('js')
@endsection