@extends(view_path('master')) @section('additional_head_tags') @endsection @section('post_js') @if($product->group_buy_price && (!$product->group_buy_expiry || $product->group_buy_expiry > time())) @endif @endsection @section('body') {!! place_ad('ad_728x90') !!}
@if(!$product->valid_subscription && $product->for_subscriptions && config('app.available_via_subscriptions_only_message'))
{!! __(config('app.available_via_subscriptions_only_message')) !!}
@endif @if(!$product->valid_subscription && !$product->for_subscriptions && !out_of_stock($product))
@endif @if($product->valid_subscription && !out_of_stock($product) && \Auth::check())
@endif @if(out_of_stock($product))
{{ __('This item is out of stock') }}
@endif
{{ __('Ends in') }}
{{-- Streaming --}} @if(config('app.show_streaming_player') && (auth_is_admin() || $product->purchased || $product->valid_subscription) && itemHasVideo($product))
00:00:00
@endif {{-- Details --}}
@if($product->screenshots)
@foreach($product->screenshots as $screenshot) @endforeach
@endif @if($product->overview)
{!! $product->overview !!}
@endif
{{-- Hidden Content --}} @if($product->hidden_content && (auth_is_admin() || $product->purchased || $product->valid_subscription))
{!! $product->hidden_content !!}
@endif {{-- Table of contents --}} @if($product->table_of_contents)
@foreach($product->table_of_contents as $title) @if($title->text_type === 'header')

{{ $title->text }}

@else

@if($title->text_type === 'subheader') @else @endif {{ $title->text }}

@endif @endforeach
@endif {{-- Support --}}
@if(session('comment_response'))
{{ request()->session()->pull('comment_response') }}
@endif @if(!$comments->count())
{{ __('No comments found') }}.
@endif
@foreach($comments as $comment)
avatar) }}">

{{ $comment->name ?? $comment->alias_name ?? $comment->fullname }} {{ $comment->created_at->diffForHumans() }}

{!! nl2br($comment->body) !!}
@auth @endauth @if(config('app.enable_subcomments')) @endif @if(config('app.can_delete_own_comments')) {{ __('Delete') }} @endif
@if(count($comment->reactions ?? []))
@foreach($comment->reactions as $name => $count) @endforeach
@endif
{{ __(':count Comments', ['count' => $comment->children->count()]) }}
@if(config('app.enable_subcomments')) @foreach($comment->children as $child)
avatar) }}">

{{ $child->name ?? $child->alias_name ?? $child->fullname }} {{ $child->created_at->diffForHumans() }}

{!! nl2br($child->body) !!}
@auth @endauth @if(config('app.enable_subcomments')) @endif @if(config('app.can_delete_own_comments')) {{ __('Delete') }} @endif
@if(count($child->reactions ?? []))
@foreach($child->reactions as $name => $count) @endforeach
@endif
@endforeach @endif
@endforeach
@auth
@csrf @if(config('app.enable_subcomments')) @endif
user()->avatar ?? 'default.webp')) }}">
@else
{!! __(':sign_in to post a comment', ['sign_in' => ''.__("Login").'']) !!}
@endauth
{{-- Reviews --}}
@if(session('review_response'))
{{ request()->session()->pull('review_response', 'default') }}
@elseif(!$reviews->count())
{{ __('This item has not received any review yet') }}.
@endif @if($reviews->count())
@foreach($reviews as $review)
avatar) }}">

{{ $review->name ?? $review->alias_name ?? $review->fullname }} {{ $review->created_at->diffForHumans() }}

{!! item_rating($review->rating) !!}

{{ nl2br($review->content) }}
@endforeach
@endif @auth {{-- IF PURCHASED AND NOT REVIEWED YET --}} @if(!$product->reviewed && $product->purchased)
@csrf
user()->avatar ?? 'default.webp')) }}">
@endif @else
{!! __(':sign_in to review this item', ['sign_in' => ''.__("Login").'']) !!}
@endauth
{{-- FAQ --}}
@if($product->faq)
@foreach($product->faq as $qa)
{{ __('Q') }}. {{ $qa->question }}
{{ __('A') }}. {{ $qa->answer }}
@endforeach
@else
{{ __('No Questions / Answers added yet.') }}
@endif
{{ __('Item details') }}
@if($product->preview_url) @endif @if($product->version) @endif @if($product->category) @endif @if($product->release_date) @endif @if($product->last_update) @endif @if($product->included_files) @endif @if($product->compatible_browsers) @endif @foreach($product->additional_fields ?? [] as $field) @endforeach @if(config('app.show_rating.product_page')) @endif @if($product->high_resolution) @endif @if(config('app.show_sales.product_page')) @endif
{{ __('Preview') }}
{{ __('Version') }} {{ $product->version }}
{{ __('Category') }} {{ $product->category->name }}
{{ __('Release date') }} {{ $product->release_date }}
{{ __('Latest update') }} {{ $product->last_update }}
{{ __('Included files') }} {{ $product->included_files }}
{{ __('Compatible browsers') }} {{ $product->compatible_browsers }}
{{ __($field->_name_) }} {!! $field->_value_ !!}
{{ __('Comments') }} {{ $product->comments_count }}
{{ __('Rating') }}
{!! item_rating($product->rating ?? '0') !!}
{{ __('High resolution') }} {{ $product->high_resolution ? 'Yes' : 'No' }}
{{ __('Sales') }} {{ $product->sales }}
@if($product->tags)
{{ __('Item tags') }}
@foreach($product->tags as $tag) {{ $tag }} @endforeach
@endif
@if($similar_products->count())
{{ __('Similar items') }}
@cards('tendra-card', $similar_products, 'item', ['category' => 1, 'rating' => 1])
@endif @if($product->group_buy_price) @include('components.group_buy_popup_notif', ['item' => $product]) @endif @endsection