{{-- This code needs to be refactored to reduce the amount of PHP in the Blade template as much as possible. --}} @php $showCompare = (bool) core()->getConfigData('general.content.shop.compare_option'); $showWishlist = (bool) core()->getConfigData('general.content.shop.wishlist_option'); @endphp
Hello! {{ auth()->user()?->first_name }}
{{ auth()->user()?->email }}
@lang('store::app.components.layouts.header.welcome-guest')
@lang('store::app.components.layouts.header.dropdown-text')
@lang('store::app.components.layouts.header.welcome')’ {{ auth()->guard('customer')->user()->first_name }}
@lang('store::app.components.layouts.header.dropdown-text')