{{$Data->category_name}}
{!! $Data->category_description !!}
@foreach($MapData as $Rows)
@php
$Data = DB::table('categories')->where('category_id',$Rows->category)->first();
$CatData = DB::table('mapped_product')->where('category',$Data->category_id)->get();
@endphp
@if($CatData->count() > 0)
@endif
@endforeach
{{$Data->category_name}}
@foreach($CatData as $Roe)
@php
$ProductData = DB::table('product')->where('id',$Roe->product_id)->first();
@endphp
@endforeach