Catégories

@if($action!='promotion') @foreach($cats as $category) @if($category->id==1) @foreach($category->children as $cats)

{{$cats->translate($locale)->name}}

ParentCategories->id != $cats->id) || $action=='promotion') style="display: none" @endif >
@foreach($cats->children as $cat)
id,$tabcat)) checked @endif type="checkbox" class="check-cat form-check-input " name="categories_id[]" id="hundred" value="{{$cat->id}}">
@endforeach
@endforeach @endif @endforeach @else @foreach($cats as $category) @foreach($category->children as $cats) @if(in_array($cats->id,$catparents))

{{$cats->translate($locale)->name}}

ParentCategories->id != $cats->id) || $action=='promotion') style="display: none" @endif >
@foreach($cats->children as $cat) @if(in_array($cat->id,$catproduits))
id==$categorie->id) checked @endif type="checkbox" class="check-cat form-check-input " name="categories_id[]" id="hundred" value="{{$cat->id}}">
@endif @endforeach
@endif @endforeach @endforeach @endif