@extends('frontend.layouts.app') @section('content')
{{translate('Category')}}
@php $digitalCategories = App\Models\Category::whereHas('digitalProduct')->where('status', '1') ->withCount(['parent','product','houseProduct','digitalProduct','physicalProduct']) ->whereNull('parent_id') ->orderBy('serial', 'ASC') ->with(['physicalProduct'])->get(); @endphp{{translate("Total")}} {{$digital_products->count()}} {{translate("products found")}}