@extends('frontend.layouts.app') @section('content')
{{translate('Filter By Category')}}

{{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("Digital Products")}}

{{translate("Total")}} {{$digital_products->count()}} {{translate("products found")}}

@forelse ($digital_products as $product)
{{$product->featured_image}}

{{$product->name}}

@php $price = $product->digitalProductAttribute ?@$product->digitalProductAttribute->where('status','1')->first()->price :0; $taxes = getTaxes(@$product,$price); $price = $price + $taxes; @endphp {{short_amount($price)}}
{{translate("Top up")}}
@empty
@include("frontend.partials.empty",['message' => 'No Data Found'])
@endforelse
{{$digital_products->withQueryString()->links()}}
@endsection