@extends('frontend.include.layout') @section('content') @php $currentassetid=$asset_detail->id; $assetimagedisplays=json_decode($asset_detail->images); // @endphp @foreach($assetimagedisplays as $key => $assetimagedisplay) {{-- --}} @endforeach @foreach($assetimagedisplays as $key => $assetimagedisplay) {{-- --}} @endforeach ID:{{ $asset_detail->asset_id }} {{ $asset_detail->asset_name }} @php $user_detail= \App\Models\User::select('name')->where('id',$asset_detail->userid)->first(); @endphp {{ $user_detail->name }} @for ($starcount=0 ; $starcount<5; $starcount++) @if($starcount<=$asset_detail->starrating) @else @endif @endfor (0) | @php $count_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('status','1')->count(); @endphp ({{ $count_favourite_asset }}) ${{ $asset_detail->cost }} ({{ $asset_detail->offer_price }}) | Offer {{ $asset_detail->offer_discount }}% (Exclusive of Tax) @php $countorderdetails=0; if(auth()->user()) { $userid=auth()->user()->id; $countorderdetails= \App\Models\Orderdetails::where('user_id',$userid)->where('asset_id',$asset_detail->id)->count(); } @endphp @if($countorderdetails == 0) Add to cart Purchase @else Download @endif Keywords @foreach($array_keywords as $key => $array_keyword) {{ $array_keyword }} @endforeach File Size {{ $asset_detail->file_size }} File Type {{ $asset_detail->file_type }} Release Date June 25, 2026 Revision Date June 25, 2026 @if(auth()->user()) Report Asset @else Report Asset @endif Highlight Content Description Version Quality {!! $asset_detail->highlight !!} {!! $asset_detail->content !!} {!! $asset_detail->description !!} {!! $asset_detail->version !!} {!! $asset_detail->quality !!} Customer reviews @php $comments5star=\App\Models\Comments::where('asset_id',$asset_detail->id)->where('starcount','5')->whereNull('parent_id')->count(); @endphp 5 star({{ $comments5star }}) {{ $comments5star }} @php $comments4star=\App\Models\Comments::where('asset_id',$asset_detail->id)->where('starcount','4')->whereNull('parent_id')->count(); @endphp 4 star({{ $comments4star }}) {{ $comments4star }} @php $comments3star=\App\Models\Comments::where('asset_id',$asset_detail->id)->where('starcount','3')->whereNull('parent_id')->count(); @endphp 3 star({{ $comments3star }}) {{ $comments3star }} @php $comments2star=\App\Models\Comments::where('asset_id',$asset_detail->id)->where('starcount','2')->whereNull('parent_id')->count(); @endphp 2 star({{ $comments2star }}) {{ $comments2star }} @php $comments1star=\App\Models\Comments::where('asset_id',$asset_detail->id)->where('starcount','1')->whereNull('parent_id')->count(); @endphp 1 star({{ $comments1star }}) {{ $comments1star }} Customer questions & answers @php $comments=\App\Models\Comments::where('asset_id',$asset_detail->id)->whereNull('parent_id')->orderByDesc('created_at')->get(); @endphp @foreach($comments as $comment) @php $userdetails=\App\Models\User::select('name')->where('id', $comment->user_id)->first(); @endphp {{ $userdetails->name }} @for ($starcount=0 ; $starcount<5; $starcount++) @if($starcount<$comment->starcount) @else @endif @endfor {{ $comment->message }} June 25, 2026 12:20:35am @if(auth()->user()) Reply @else Reply @endif @php $commentreplayscount=\App\Models\Comments::where('parent_id',$comment->id)->count(); @endphp @if($commentreplayscount != 0) @php $commentreplays=\App\Models\Comments::where('parent_id',$comment->id)->get(); @endphp @foreach($commentreplays as $commentreplay) @php $userdetails=\App\Models\User::select('name')->where('id', $comment->user_id)->first(); @endphp {{ $userdetails->name }} {{ $commentreplay->message }} June 25, 2026 12:20:35am @endforeach @endif @endforeach Add a review @csrf @if(auth()->user()) Submit Review @else Submit Review @endif Similar Assets @foreach($asset_details as $key => $asset_detail) @php $assetimagedisplay=json_decode($asset_detail->images); @endphp @php $check_favourite_asset=''; if(auth()->user()) { $check_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('customer_id',auth()->user()->id)->where('status','1')->count(); } @endphp @if($check_favourite_asset == 1) @elseif($check_favourite_asset == 0) @else @endif @if($asset_detail->verified_id == 1) Verified @else @endif @php $count_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('status','1')->count(); @endphp ID:{{ $asset_detail->asset_id }} @for ($starcount=0 ; $starcount<5; $starcount++) @if($starcount<=$asset_detail->starrating) @else @endif @endfor (0) | ({{ $count_favourite_asset }}) {{ $asset_detail->asset_name }} @php $actordetails=\App\Models\ActorController::select('name','slug')->where('id', $asset_detail->userid)->first(); @endphp {{ $actordetails->name }} ${{ $asset_detail->cost }} ({{ $asset_detail->offer_price }}) | Offer {{ $asset_detail->offer_discount }}% @endforeach Popular Assets @foreach($asset_details as $key => $asset_detail) @php $assetimagedisplay=json_decode($asset_detail->images); @endphp @php $check_favourite_asset=''; if(auth()->user()) { $check_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('customer_id',auth()->user()->id)->where('status','1')->count(); } @endphp @if($check_favourite_asset == 1) @elseif($check_favourite_asset == 0) @else @endif @if($asset_detail->verified_id == 1) Verified @else @endif @php $count_favourite_asset= \App\Models\FavouriteAsset::where('asset_id',$asset_detail->id)->where('status','1')->count(); @endphp ID:{{ $asset_detail->asset_id }} @for ($starcount=0 ; $starcount<5; $starcount++) @if($starcount<=$asset_detail->starrating) @else @endif @endfor (0) | ({{ $count_favourite_asset }}) {{ $asset_detail->asset_name }} @php $actordetails=\App\Models\ActorController::select('name','slug')->where('id', $asset_detail->userid)->first(); @endphp {{ $actordetails->name }} ${{ $asset_detail->cost }} ({{ $asset_detail->offer_price }}) | Offer {{ $asset_detail->offer_discount }}% @endforeach
{{ $comment->message }}
June 25, 2026 12:20:35am
{{ $commentreplay->message }}
Verified
ID:{{ $asset_detail->asset_id }}
{{ $userdetails->name }}
{{ $comment->message }}
June 25, 2026 12:20:35am
@if(auth()->user()) Reply @else @endif{{ $userdetails->name }}
{{ $commentreplay->message }}
June 25, 2026 12:20:35am