@foreach ($terms as $term)
@php
$packages = \App\Models\Package::where('status', '1')->where('term', strtolower($term))->get();
@endphp
@foreach ($packages as $package)
@php
$pFeatures = json_decode($package->features);
@endphp
{{ __($package->title) }}
@if ($package->recommended == '1')
{{ __('Popular') }}
@endif
{{ $package->price != 0 && $be->base_currency_symbol_position == 'left' ? $be->base_currency_symbol : '' }}{{ $package->price == 0 ? __('Free') : $package->price }}{{ $package->price != 0 && $be->base_currency_symbol_position == 'right' ? $be->base_currency_symbol : '' }}
/ {{ __("$package->term") }}
{{ __("What's Included") }}
- {{ __('Categories Limit') . ' :' }}
{{ $package->categories_limit != '999999' ? $package->categories_limit : __('Unlimited') }}
- {{ __('Subcategories Limit') . ' :' }}
{{ $package->subcategories_limit != '999999' ? $package->subcategories_limit : __('Unlimited') }}
- {{ __('Products Limit') . ' :' }}
{{ $package->product_limit != '999999' ? $package->product_limit : __('Unlimited') }}
- {{ __('Orders Limit') . ' :' }}
{{ $package->order_limit != '999999' ? $package->order_limit : __('Unlimited') }}
- {{ __('Additional Languages') . ' :' }}
{{ $package->language_limit != '999999' ? $package->language_limit : __('Unlimited') }}
@if (is_array($pFeatures) && in_array('Blog', $pFeatures))
- {{ __('Posts Limit') . ':' }}
{{ $package->post_limit != '999999' ? $package->post_limit : __('Unlimited') }}
@else
- {{ __('Blog') }}
@endif
@if (is_array($pFeatures) && in_array('Custom Page', $pFeatures))
- {{ __('Custom Pages Limit') . ' :' }}
{{ $package->number_of_custom_page != '999999' ? $package->number_of_custom_page : __('Unlimited') }}
@else
- {{ __('Custom Page') }}
@endif
@php
$hideFeatures = ['Posts Limit', 'Blog', 'Custom Page'];
@endphp
@foreach ($allPfeatures as $feature)
@if (!in_array($feature, $hideFeatures))
-
{{ __("$feature") }}
@endif
@endforeach
{{ __('Show More') }} +
@endforeach
@endforeach