@php $all_categories = $categories_list->where('featured',1); $parents = $all_categories->whereNull('parent_id')->pluck('id')->toArray(); $total_qty = session()->has('total_qty') ? session()->get('total_qty') : 0; $subTotal = session()->has('subTotal') ? session()->get('subTotal') : 0; @endphp @yield('title') @if(request()->is('product/*')) @else @endif @if(!config('database.connections.saleprosaas_landlord')) @else @endif @stack('css') @if(isset($ecommerce_setting->custom_css)) @endif @if(env('USER_VERIFIED') == false) @endif @if(env('USER_VERIFIED') == false)
Theme Colors
settings
@endif
menu
    @guest
  • Login
  • @endguest @if(auth()->user())
  • person_add
  • @endif
  • pin_drop
  • favorite @php $customer = DB::table('customers') ->select('id', 'user_id', 'wishlist') ->where('user_id', Auth::id()) ->first(); if ($customer && $customer->wishlist) { $wishlist = $customer->wishlist; $wishlistCount = count(explode(',', $wishlist)); } else { $wishlistCount = 0; // or whatever default you want } @endphp {{ $wishlistCount }}
  • @php $total_qty = session()->has('total_qty') ? session()->get('total_qty') : 0; $subTotal = session()->has('subTotal') ? session()->get('subTotal') : 0; if($total_qty == 0){ $subTotal = 0; } @endphp
  • shopping_bag {{ $total_qty ?? 0}} {{$currency->symbol}}{{ $subTotal ?? 0.00}}
My Cart
close
@if(session()->has('message'))
{{ session()->get('message') }}
@endif @if (count($errors) > 0)
@foreach ($errors->all() as $error)

- {{ $error }}

@endforeach
@endif @yield('content') arrow_upward @if(isset($footer_top_widgets))
@foreach($footer_top_widgets as $widget)
{{$widget->feature_title}}
{{$widget->feature_title}}
{{$widget->feature_secondary_title}}
@endforeach
@endif
shopping_bag {{ $total_qty ?? 0}} {{$currency->symbol}}{{ $subTotal ?? 0.00}}
@if(isset($ecommerce_setting->custom_chat)) {{$ecommerce_setting->custom_chat}} @endif @if(!config('database.connections.saleprosaas_landlord')) @else @endif @if(isset($ecommerce_setting->custom_js)) @endif @yield('script')