@extends('front.layout') @section('pagename') - {{ $pageHeading ?? __('Pricing') }} @endsection @section('meta-description', !empty($seo) ? $seo->pricing_meta_description : '') @section('meta-keywords', !empty($seo) ? $seo->pricing_meta_keywords : '') @section('styles') @include('front.partials.pricing_styles') @endsection @section('content') @php $selectedTemplate = request()->query('template'); if (\Schema::hasTable('package_features')) { $allFeatures = \App\Models\PackageFeature::whereNotIn('name', ['Disqus', 'Bank Transfer Integrations']) ->whereNotIn('keyword', ['Disqus', 'Bank Transfer Integrations']) ->orderBy('serial_number', 'asc') ->get(); } else { $allFeatures = collect(); } @endphp
{{ !empty(@$homeSec->pricing_hero_subtitle) ? @$homeSec->pricing_hero_subtitle : __('Launch your store in minutes and scale as your business grows.') }}
{{ __('Looking for a specific store style?') }}
{{ __('Explore Store Themes') }}| Features | @foreach ($comparePackages as $pkg)
@if (strtolower($pkg->title) == 'standard')
Ecom {{ __($pkg->title) }}
@else
Ecom {{ __($pkg->title) }}
@endif
{{ strtolower($pkg->term) == 'monthly' ? 'Monthly' : 'Yearly' }}
|
@endforeach
Enterprise |
|---|---|---|
| {{ __($row['label']) }} | @foreach ($comparePackages as $pkg)@if ($row['type'] == 'limit') @php $val = $pkg->{$row['key']}; @endphp {{ $val == 999999 ? __('Unlimited') : ($val ?: '0') }} @else @php $pkgFeats = json_decode($pkg->features, true) ?: []; $hasFeat = in_array($row['keyword'], $pkgFeats); @endphp @if ($hasFeat) @else @endif @endif | @endforeach {{-- Enterprise column: always ✓ for flag rows, Unlimited for limit rows --}}@if($row['type'] == 'limit') Unlimited @else @endif |
| {{ __($row['label']) }} | @foreach ($comparePackages as $pkg)@if ($row['type'] == 'limit') @php $val = $pkg->{$row['key']}; @endphp {{ $val == 999999 ? __('Unlimited') : ($val ?: '0') }} @else @php $pkgFeats = json_decode($pkg->features, true) ?: []; $hasFeat = in_array($row['keyword'], $pkgFeats); @endphp @if ($hasFeat) @else @endif @endif | @endforeach {{-- Enterprise column --}}@if($row['type'] == 'limit') Unlimited @else @endif |