{{-- CSRF Token --}} {{-- Store icon and color --}} {{-- Fonts --}} {{-- CSS --}} {{-- Check business details --}} @if ($business_card_details != null) @php $custom_css = $business_card_details->custom_css; $custom_js = $business_card_details->custom_js; // Ensure ') === false) { $custom_css = ""; } // Ensure ') === false) { $custom_js = ""; } @endphp {!! $custom_css !!} {!! $custom_js !!} @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 use Illuminate\Support\Facades\DB; // Fetch settings from the database $config = DB::table('config')->get(); if (!function_exists('limit_text')) { 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 }}

{{ $product->product_name }}

{{ $product->product_subtitle }}

{{ $product->sales_price }}

{{ $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(request()->category)])->links() }} @else {{ $products->links() }} @endif
@else

{{ __('Products') }}

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

@endif
{{-- Cart Items --}} {{-- Place order --}} @if ($plan_details != null) {{-- Check PWA --}} @if ($plan_details['pwa'] == 1) @include('vendor.laravelpwa.bs_pwa_modal') @endif @endif {{-- Custom JS --}} @yield('custom-js')