@extends(view_path('master')) @section('additional_head_tags') @endsection @section('body')
{!! $product->name !!}
@if($product->purchased && \Auth::check()) {{ __('Download') }} @endif
{!! shorten_str($product->short_description, 200) !!}
@if(config('app.realtime_views.product.enabled'))
@{{ realtimeViews.product }}@{{ __('Users are currently viewing this item.') }}
@endif @if(!$product->valid_subscription && !$product->for_subscriptions && !out_of_stock($product))
@if($product->product_prices[$product->license_id]['is_free'])
{{ __('Free') }}
@elseif($product->product_prices[$product->license_id]['has_promo'])
{{ price($product->product_prices[$product->license_id]['promo_price']) }}
{{ price($product->product_prices[$product->license_id]['price']) }}
@else
{{ price($product->product_prices[$product->license_id]['price']) }}
@endif
@if(!is_null($product->stock))
{{ __(':count items left', ['count' => $product->stock])}}
@endif
{{ __('Ends in') }}
@if(!$product->affiliate_link) @if(config('payments.enable_add_to_cart')) @else @if(!$product->product_prices[$product->license_id]['is_free']) {{ __('Buy now') }} @else {{ __('Download') }} @endif @endif @else {{ __('Buy now') }} @endif
@endif @if($product->valid_subscription && !out_of_stock($product) && \Auth::check()) @endif @if(out_of_stock($product))
{{ __('This product is out of stock.') }}
@endif @if(config('app.subscriptions.enabled') && $subscriptions->count() && !out_of_stock($product))

{{ __('This product can be downloaded with the following subscriptions') }} :

@foreach($subscriptions as $subscription) days} ".__('Days') : "" }}" class="item">{{ $subscription->name }} @endforeach
@endif
@if($product->preview_url) {{ __('Preview') }} @endif
{{ __('Loading') }}
@if($product->preview_is('audio'))
@elseif($product->preview_is('video'))
@endif
@if($product->screenshots)
@foreach($product->screenshots ?? [] as $screenshot) @endforeach
@endif
@if(config('app.show_streaming_player') && (auth_is_admin() || $product->purchased || $product->valid_subscription) && itemHasVideo($product))
00:00:00
@endif @if($product->overview)
{!! $product->overview !!}
@endif @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 @if($product->hidden_content && ($product->purchased || $product->valid_subscription))
{!! $product->hidden_content !!}
@endif @if(config('app.enable_comments'))
@csrf @if(config('app.enable_subcomments')) @endif
@foreach($comments as $comment)
avatar) }}" alt="{{ $comment->name ?? explode('@', $comment->email, 2)[0] }}">
{{ $comment->name ?? explode('@', $comment->email, 2)[0] }}
{{ format_date($comment->updated_at, 'Y-m-d H:i:s') }} @if($comment->created_at != $comment->updated_at) {{ __('Edited') }} @endif
{!! nl2br($comment->body) !!}
@if($comment->count() && config('app.enable_subcomments'))
@foreach($comment->children as $child)
avatar) }}" alt="{{ $child->name ?? explode('@', $child->email, 2)[0] }}">
{{ $child->name ?? explode('@', $child->email, 2)[0] }}
{{ $child->updated_at }} @if($child->created_at != $child->updated_at) {{ __('Edited') }} @endif
{!! nl2br($child->body) !!}
@endforeach
@endif @endforeach
@endif @if(config('app.enable_reviews'))
@if($product->purchased || $product->valid_subscription)
@csrf
@endif
@foreach($reviews as $review)
avatar) }}" alt="{{ $review->name ?? explode('@', $review->email, 2)[0] }}">
{{ $review->name ?? explode('@', $review->email, 2)[0] }}
{{ $review->updated_at }} @if($review->created_at != $review->updated_at) {{ __('Edited') }} @endif
{!! item_rating($review->rating) !!}
{!! nl2br($review->content) !!}
@endforeach
@endif @if($product->faq)
@foreach($product->faq as $qa)
{{ __('Q') }}. {{ $qa->question }}
{{ __('A') }}. {{ $qa->answer }}
@endforeach
@endif
{{ __('Category') }} {{ $product->category->name }}
@if(config('app.show_rating.product_page'))
{{ __('Rating') }} {{ $product->rating ?? '0' }} / 5
@endif @if($product->version)
{{ __('Version') }} {{ $product->version }}
@endif @if($product->included_files)
{{ __('Included files') }} {{ $product->included_files }}
@endif @if($product->compatible_browsers)
{{ __('Compatible browsers') }} {{ $product->compatible_browsers }}
@endif @if($product->release_date)
{{ __('Release date') }} {{ $product->release_date }}
@endif @if($product->last_update)
{{ __('Latest update') }} {{ $product->last_update }}
@endif @if($product->stock)
{{ __('Quantity') }} {{ $product->stock }}
@endif @if($product->authors)
{{ __('Authors') }} {{ $product->authors }}
@endif @if($product->pages)
{{ __('Pages') }} {{ $product->pages }}
@endif @if($product->words)
{{ __('Words') }} {{ $product->words }}
@endif @if($product->language)
{{ __('Language') }} {{ $product->language }}
@endif @if($product->bpm)
{{ __('BPM') }} {{ $product->bpm }}
@endif @if($product->bit_rate)
{{ __('Bit rate') }} {{ $product->bit_rate }}
@endif @if($product->label)
{{ __('Label') }} {{ $product->label }}
@endif
{{ __('Comments') }} {{ $product->comments_count }}
@if($product->high_resolution)
{{ __('High resolution') }} {{ $product->high_resolution ? 'Yes' : 'No' }}
@endif @if(config('app.show_sales.product_page'))
{{ __('Sales') }} {{ $product->sales }}
@endif
@endsection