@extends('panel::layouts.app') @section('body-class', 'page-plugins-market') @section('title', __('panel/menu.plugin_market')) @section('content') @include('plugin::shared._token_info') @if(session('error') || isset($error)) @endif
@if(isset($error)) @elseif(isset($product) && is_array($product) && isset($product['success']) && $product['success']) @php($product=$product['data'])
{{ $product['name'] }}

{{ $product['name'] }}

@if($product['viewed'] ?? 0) {{ __('panel/plugin.views') }}: {{ $product['viewed'] }} @endif @if($product['downloaded'] ?? 0) {{ __('panel/plugin.downloads') }}: {{ $product['downloaded'] }} @endif @if($product['updated_at'] ?? '') {{ __('panel/plugin.last_updated') }}: {{ $product['updated_at'] }} @endif

{{ $product['summary'] ?? '' }}

{{ __('panel/plugin.version') }} {{ $product['version'] ?? 'N/A' }}
{{ __('panel/plugin.author') }}
@if($product['seller_avatar'] ?? '') {{ $product['seller_name'] }} @endif {{ $product['seller_name'] ?? '' }}
{{ __('panel/plugin.price') }}
@if(isset($product['origin_price']) && $product['origin_price'] > $product['price']) {{ $product['origin_price_format'] ?? '' }} @endif {{ $product['price_format'] ?? '' }}
@if($product['downloadable'] ?? false) @else @include('plugin::shared._billing_method')
{{ __('panel/plugin.purchase_notice') }}: 1. {{ __('panel/plugin.notice_multi_domain') }} 2. {{ __('panel/plugin.notice_no_refund') }} 3. {{ __('panel/plugin.notice_support_expiry') }}
@endif
{!! $product['summary'] ?? '' !!}
@if($product['content'] ?? '')
{!! $product['content'] ?? '' !!}
@endif
@elseif(isset($product) && is_array($product) && isset($product['error'])) @else @endif
@endsection @push('footer') @endpush