@php $price_details = [ [ 'label' => 'Free updates', 'value' => 'Lifetime', ], [ 'label' => 'Support', 'value' => '6 months', ], [ 'label' => 'License', 'value' => 'Extended', ], [ 'label' => 'Installation', 'value' => 'One Click', ], ]; @endphp @extends('panel.layout.app', ['disable_tblr' => true]) @section('title', __('Marketplace')) @section('titlebar_pretitle') {{ __('Back to Marketplace') }} @endsection @section('titlebar_actions')
{{ __('Manage Addons') }} {{ __('Browse Add-ons') }} {{ __('Cart') }} {{ count(is_array($cart) ? $cart : []) }}
@endsection @section('content')

{{ $item['name'] }}

@if ($item['installed'] and $item['version'] == $item['db_version'])

{{ __('Installed') }}

@else {{ __('Upgrade') }} @endif
{{-- blade-formatter-disable --}} {{-- blade-formatter-enable --}}

{{ __('Tested with MagicAI') }}

{{ number_format($item['review'], 1) }}

{{-- blade-formatter-disable --}} {{-- blade-formatter-enable --}}

{{ __('Recently Updated') }}

{{ __('About this add-on') }}

{!! $item['detail'] !!}
@foreach ($item['categories'] as $tag)

{{ $tag }}

@endforeach
@if (!empty($item['questions']) && !$item['only_show'])

{{ __('Have a question?') }}

@foreach ($item['questions'] as $qaItem)
$loop->index != 0, 'lqd-is-active' => $loop->index == 0, ]) :class="{ 'hidden': activeIndex != {{ $loop->index }} }" >

{{ $qaItem['answer'] }}

@endforeach
@endif
@if(! $item['only_show'])

{{ __('Limited Offer') }}

@endif @if ($item['price'] != 0 && (! $item['only_show']))

@if (currencyShouldDisplayOnRight(currency()['symbol'])) {{ $item['price'] }} $ @if ($item['fake_price'] ?? false) {{ $item['fake_price'] }}$ @endif @else ${{ $item['price'] }} @if ($item['fake_price'] ?? false) ${{ $item['fake_price'] }} @endif @endif

{{ __('For a limited time only') }}

{{ __('Price is in US dollars. Tax included.') }}

@else

@if(! $item['only_show']) {{ __('Free') }} @else {{ __('Contact Us') }} @endif

@endif @if(! $item['only_show'])
@if ($item['price'] != 0) @if ($app_is_demo) {{ __('Buy Now') }} @else @php $is_license = $item['licensed'] == 1; @endphp @if($is_license) {{ __('Install Now') }} @else @if($item['is_buy']) @if($item['slug'] === 'chatbot-agent' || in_array($item['slug'], ['whatsapp', 'telegram', 'facebook', 'instagram'])) @if(\App\Helpers\Classes\MarketplaceHelper::isRegistered('chatbot')) @if(in_array($item['slug'], ['whatsapp', 'telegram', 'facebook', 'instagram'])) @if(\App\Helpers\Classes\MarketplaceHelper::getDbVersion('chatbot') >= 3) {{ __('Buy Now') }} @else {{ __('Buy Now') }} @endif @else {{ __('Buy Now') }} @endif @else {{ __('Buy Now') }} @endif @else {{ __('Buy Now') }} @endif @else {{ __('Learn more') }} @endif @endif @endif @else @if ($item['installed']) @if ($item['version'] == $item['db_version']) {{ __('Installed') }} @else {{ __('Upgrade') }} @endif @else {{ __('Install Now') }} @endif @endif @if((! $item['licensed']) && $item['price'] && $item['is_buy']) @if($item['slug'] === 'chatbot-agent' || in_array($item['slug'], ['whatsapp', 'telegram', 'facebook', 'instagram'])) @if(\App\Helpers\Classes\MarketplaceHelper::isRegistered('chatbot')) @if(in_array($item['slug'], ['whatsapp', 'telegram', 'facebook', 'instagram'])) @if(\App\Helpers\Classes\MarketplaceHelper::getDbVersion('chatbot') >= 3) @else @endif @else @endif @else @endif @else @endif @endif
@else {{ __('Live Preview') }} @endif
@if (!$marketSubscription['data'] && $item['price'] != 0 && \App\Helpers\Classes\Helper::appIsNotDemo())
{{ trans('or') }}
{{ trans('Limited Time Offer') }}

{{ trans('Included with ') }} {{ trans('Premium Membership.') }}

{{ trans('Join our exclusive membership to access to all extensions in the marketplace. ') }}

    @foreach (['VIP Support', '5 Hours of Customization', 'Access to All Extensions'] as $item)
  • {!! trans($item) !!}
  • @endforeach
    • @foreach ($paidExtensions as $item)
    • {!! trans($item['name']) !!}
    • @endforeach
{{ trans('Join Premium Membership') }}
@endif @if(!$item['only_show'])

{{ __('Details') }}

@foreach ($price_details as $detail)

{{ __($detail['label']) }}

{{ __($detail['value']) }}

@endforeach
@endif
@endsection @push('script') @endpush