{{-- CSRF Token --}} {{-- Store icon and color --}} {{-- Fonts --}} {{-- CSS --}} {{-- Check business details --}} @if ($business_card_details != null) @endif {{-- JS --}} {{-- SEO Tags --}} {!! SEOMeta::generate() !!} {!! OpenGraph::generate() !!} {!! Twitter::generate() !!} {!! JsonLd::generate() !!} {{-- Check PWA --}} @if ($plan_details != null) @if ($plan_details['pwa'] == 1) @laravelPWA @endif @endif {{-- Limited Text Function --}} @php function limit_text($text) { $limit = 4; if (str_word_count($text, 0) > $limit) { $words = str_word_count($text, 2); $pos = array_keys($words); $text = substr($text, 0, $pos[$limit]) . '...'; } return $text; } @endphp
{{ $business_card_details->title }}
{{ __('Loading') }}
{{-- Page --}}
{{-- Greeting message --}}

{{ $business_card_details->sub_title }}

{{ __('Categories') }}

@foreach ($categories as $category) @endforeach
@if (count($products) > 0)

{{ __('Products') }}

@foreach ($products as $product)
@php $productImages = explode(',', $product->product_image); @endphp
{{ $product->category_name }} {{ $product->badge }}

{{ limit_text($product->product_name) }}

{{ $product->product_subtitle }}

{{ $currency }} {{ $product->sales_price }}

@if ($product->sales_price != $product->regular_price)

{{ $currency }} {{ $product->regular_price }}

@endif
@if ($product->product_status == "instock") @endif
@endforeach {{-- Paginate --}}
@if(request()->has('category')) {{ $products->appends(['category' => strtolower($category->category_name)])->links() }} @else {{ $products->links() }} @endif
@else

{{ __('Products') }}

{{ __('No Products Founds!') }}

@endif
{{-- Cart Items --}} {{-- Check business details --}} @if ($business_card_details != null) @endif