@php $setting = DB::table('settings')->first(); $totalQuantity = Cart::count(); @endphp @csrf Hotline {{ $setting->hotlinephone }} Offers Latest Offers Account @if (Auth::check()) Dashboard @else Register @endif or {!! Auth::user() ? 'Logout' : 'Login' !!} @csrf {{ $totalQuantity }} {{-- shopping_cart --}} Cart Cart Page @php $category = DB::table('categories')->limit(15)->get(); @endphp {{-- Home Category @foreach ($category as $category) {{ $category->category_name }} @php $id = $category->id; $subcategory = DB::table('sub_categories')->where('category_id', $id)->get(); @endphp @if ($subcategory) @foreach ($subcategory as $subcategory) {{ $subcategory->subcategory_name }} @php $id = $subcategory->id; $childcategory = DB::table('chlild_categories') ->where('sub_category_id', $id) ->get(); @endphp @if ($childcategory) @foreach ($childcategory as $childcategory) {{ $childcategory->childcategory_name }} @endforeach @endif @endforeach @endif @endforeach Shop Contact Us About --}} @foreach ($category as $category) {{ $category->category_name }} @php $id = $category->id; $subcategory = DB::table('sub_categories')->where('category_id', $id)->get(); @endphp @if ($subcategory) @foreach ($subcategory as $subcategory) {{ $subcategory->subcategory_name }} @php $id = $subcategory->id; $childcategory = DB::table('chlild_categories') ->where('sub_category_id', $id) ->get(); @endphp @if ($childcategory) @foreach ($childcategory as $childcategory) {{ $childcategory->childcategory_name }} @endforeach @endif @endforeach @endif @endforeach {{-- popup banner --}} {{-- @include('frontend.pages.popup') --}}
{{ $setting->hotlinephone }}
Latest Offers
@if (Auth::check()) Dashboard @else Register @endif or {!! Auth::user() ? 'Logout' : 'Login' !!}
Cart Page