{{-- Show products for this subcategory --}}
@if (isset($child_Children->productssn) && count($child_Children->productssn) > 0)
@foreach ($child_Children->productssn as $product)
@endforeach
@endif
{{-- Recursively show child categories --}}
@if (isset($child_Children->direct_childs) && count($child_Children->direct_childs) > 0)
@foreach ($child_Children->direct_childs as $child)
@include('admin.coupons.category-tree', [
'child_Children' => $child,
'iteration' => $iteration,
'coupon' => $coupon ?? null
])
@endforeach
@endif