@extends('front.tendra.master') @section('body')
{{ __('Home') }} |
{{ $product->category->name }}
| {{ $product->name }}
cover}") }}');"> @if($product->preview && $product->preview_type === 'video') @endif @if($product->preview_url) {{ __('Preview') }} @endif
{{ $product->category['name'] }}
{{ $product->name }}
@foreach(rating((int)($product->fake_rating ?? $product->rating)) as $rating) @endforeach
{{ (int)($product->fake_rating ?? $product->rating) }}/5
{{ $product->comments_count }} {{ __('comments') }}
{{ $product->short_description }}
@if($product->affiliate_link)
{{ __('Buy now') }}
@elseif(!$product->for_subscriptions) @if($product->valid_subscription) {{ __('Download') }} @else @if($product->extended_price && !$product->has_promo())
@endif @if(!$product->is_free || $product->extended_price)
{{ __('Buy now') }}
{{ __('Download') }}
@if(config('payments.enable_add_to_cart')) @endif
@if(!$product->extended_price && $product->has_promo())
{{ price($product->price) }}
{{ price($product->promo_price) }}
@else
{{ price($product->price) }}
@endif
@if($product->minimum_price && customPriceEnabled('products'))
@endif @elseif($product->is_free) {{ __('Download') }} @endif @endif @else @if($product->valid_subscription) {{ __('Download') }} @else
{{ __('Available via subscriptions only') }}
@foreach($subscriptions as $subscription) {{ price($subscription->price) }} {{ $subscription->name }} @endforeach
@endif @endif
|
@if(config('app.show_streaming_player') && itemHasVideo($product))
|
@endif @if(config('app.enable_comments'))
|
@endif @if(config('app.enable_reviews'))
|
@endif @if(count($product->table_of_contents))
|
@endif @isset($faq)
|
@endisset @isset($product->hidden_content) @endisset
{{-- OVERVIEW --}}
@if($product->screenshots)
@foreach($product->screenshots as $screenshot)
 
@endforeach
@endif
{!! $product->overview !!}
{{-- STREAMING PLAYER --}} @if(config('app.show_streaming_player') && (auth_is_admin() || $product->purchased || $product->valid_subscription) && itemHasVideo($product))
00:00:00
@endif {{-- COMMENTS --}} @if(config('app.enable_comments'))
@auth
@csrf @if(config('app.enable_subcomments')) @endif
@{{ replyTo.userName }}
{{ __('Edit comment') }}
@endauth
@foreach($comments as $comment)
avatar}") }}" class="w-[50px] h-[50px] rounded-[.35rem]">
{{ $comment->name ?? $comment->alias_name ?? $comment->fullname }}
{{ format_date($comment->created_at, 'H:i | Y-m-d') }}
@if((\Auth::check() && \Auth::id() === $comment->user_id) || auth_is_admin())
@endif
{!! nl2br($comment->body) !!}
@if(count($comment->reactions ?? []))
@php $z_indexes = array_combine(array_reverse([6,5,4,3,2,1]), [6,5,4,3,2,1]); @endphp @foreach($comment->reactions as $name => $count)
iteration] }}">
@endforeach
@endif
@if(config('app.enable_subcomments'))
{{ __('Reply') }}
@endif @if(config('app.enable_reactions_on_comments'))
@endif
#{{ $comment->id }}
@if(config('app.enable_subcomments'))
@foreach($comment->children as $child_comment)
avatar}") }}" class="w-[50px] h-[50px] rounded-[.35rem]">
{{ $child_comment->name ?? $child_comment->alias_name ?? $child_comment->fullname }}
{{ format_date($child_comment->created_at, 'H:i | Y-m-d') }}
@if((\Auth::check() && \Auth::id() === $child_comment->user_id) || auth_is_admin())
@endif
{!! nl2br($child_comment->body) !!}
@if(count($child_comment->reactions ?? []))
@php $z_indexes = array_combine(array_reverse([6,5,4,3,2,1]), [6,5,4,3,2,1]); @endphp @foreach($child_comment->reactions as $name => $count)
iteration] }}">
@endforeach
@endif
{{ __('Reply') }}
@if(config('app.enable_reactions_on_comments'))
@endif
#{{ $child_comment->id }}
@endforeach
@endif
@if(!$loop->last)
@endif @endforeach
@endif {{-- REVIEWS --}} @if(config('app.enable_reviews'))
@if(\Auth::check() && $product->purchased)
{{ __('Rating') }}
@foreach(rating(0) as $star)
@endforeach
@endif
@foreach($reviews ?? [] as $review)
avatar}") }}" class="w-[50px] h-[50px] rounded-[.35rem]">
{{ $review->username }}
{{ format_date($review->created_at, 'H:i | Y-m-d') }}
@if((\Auth::check() && \Auth::id() === $review->user_id) || auth_is_admin())
@endif
{{ $review->content }}
@foreach(rating($review->rating) as $star) @endforeach
{{ $review->rating }}/5
@if(!$loop->last)
@endif @endforeach
@endif {{-- TABLE OF CONTENTS --}} @if(count($product->table_of_contents))
@foreach($product->table_of_contents as $line)
{{ $line['text'] }}
@endforeach
@endif {{-- FAQ --}} @isset($faq)
@foreach($faq as $line)
Q. {{ $line['question'] }}
A. {{ $line['answer'] }}
@endforeach
@endisset {{-- HIDDEN CONTENT --}} @isset($product->hidden_content)
{!! $product->hidden_content !!}
@endisset
{{ __('Item details') }}
@if($product->authors)
{{ __("Authors") }}
{{ $product->authors }}
@endif @if($product->release_date)
{{ __("Release date") }}
{{ $product->release_date }}
@endif @if($product->last_update)
{{ __("Last update") }}
{{ $product->last_update }}
@endif @if($product->version)
{{ __("Version") }}
{{ $product->version }}
@endif @if($product->words)
{{ __("Words") }}
{{ $product->words }}
@endif @if($product->label)
{{ __("Label") }}
{{ $product->label }}
@endif @if($product->included_files)
{{ __("Included files") }}
{{ $product->included_files }}
@endif @if($product->language)
{{ __("Language") }}
{{ $product->language }}
@endif @if($product->formats)
{{ __("Formats") }}
{{ $product->formats }}
@endif @if($product->bpm)
{{ __("BPM") }}
{{ $product->bpm }}
@endif @if($product->high_resolution)
{{ __("High resolution") }}
{{ $product->high_resolution ? __('Yes') : __('No') }}
@endif @if($product->compatible_browsers)
{{ __("Compatible browsers") }}
{{ $product->compatible_browsers }}
@endif @if($product->compatible_os)
{{ __("Compatible os") }}
{{ $product->compatible_os }}
@endif @if($product->db)
{{ __("Database") }}
{{ $product->db }}
@endif @if($product->software)
{{ __("Software") }}
{{ $product->software }}
@endif @if($product->bit_rate)
{{ __("Bit rate") }}
320Kb
@endif @foreach($product->additional_fields ?? [] as $additional_field)
{{ __($additional_field->_name_) }}
{{ $additional_field->_value_ }}
@endforeach
@if($product->tags)
{{ __('Tags') }}
@foreach($product->tags as $tag) {{ $tag }} @endforeach
@endif
@if($similar_products->count())
{{ __('Similar items') }}
@foreach($similar_products as $similar_product)
{{ $similar_product->short_description }}
@if($similar_product->has_promo()) {{ price($similar_product->promo_price) }} @else {{ price($similar_product->price) }} @endif
{{ __('Buy now') }}
@endforeach
@endif
@endsection