{{-- title --}}
@yield('pageHeading') {{ '| ' . $websiteInfo->website_title }}
{{-- fav icon --}}
@includeIf('frontend.partials.styles') @if ($basicInfo->preloader_status == 1)
@endif
@if ($basicInfo->theme_version == 1) @includeIf('frontend.partials.header.header-v1') @elseif ($basicInfo->theme_version == 2) @includeIf('frontend.partials.header.header-v2') @elseif ($basicInfo->theme_version == 3) @includeIf('frontend.partials.header.header-v3') @elseif ($basicInfo->theme_version == 4) @includeIf('frontend.partials.header.header-v4') @endif @yield('content') @include('frontend.partials.footer')
@includeIf('frontend.partials.popups') {{-- cookie alert --}} @if (!is_null($cookieAlertInfo) && $cookieAlertInfo->cookie_alert_status == 1) @include('cookie-consent::index') @endif @if (!request()->routeIs('frontend.listing.details'))
@endif @if ($basicInfo->shop_status == 1)
@php $position = $basicInfo->base_currency_symbol_position; $symbol = $basicInfo->base_currency_symbol; $totalPrice = 0; if (session()->has('productCart')) { $productCarts = session()->get('productCart'); foreach ($productCarts as $key => $product) { $totalPrice += $product['price']; } } $totalPrice = number_format($totalPrice); $productCartQuantity = 0; if (session()->has('productCart')) { foreach (session()->get('productCart') as $value) { $productCartQuantity = $productCartQuantity + $value['quantity']; } } @endphp
{{ $productCartQuantity }} {{ __('Items') }}
{{ $position == 'left' ? $symbol : '' }}
{{ $totalPrice }}
{{ $position == 'right' ? $symbol : '' }}
@endif @include('frontend.partials.scripts')