@php use Botble\Ecommerce\Facades\Cart; use Botble\Ecommerce\Facades\EcommerceHelper; $hasEcom = is_plugin_active('ecommerce'); $shopUrl = $hasEcom && \Illuminate\Support\Facades\Route::has('public.products') ? route('public.products') : url('/'); $accountUrl = $hasEcom ? (auth('customer')->check() ? route('customer.overview') : '#sign') : url('/'); $accountToggle = ($hasEcom && ! auth('customer')->check()) ? 'data-bs-toggle="modal"' : ''; $cartCount = $hasEcom ? Cart::instance('cart')->count() : 0; @endphp {{-- Mobile fixed bottom toolbar — Shop / Search / Account / Wishlist / Cart --}}