@php
$phone_numbers = !empty($userContact->contact_numbers) ? explode(',', $userContact->contact_numbers) : [];
$emails = !empty($userContact->contact_mails) ? explode(',', $userContact->contact_mails) : [];
@endphp
{{-- Responsive Bottom Toolbar --}}
@php
$customer = Auth::guard('customer')->user();
$customer_id = $customer ? $customer->id : null;
$wishlistCount = $customer_id
? \App\Models\User\CustomerWishList::where('customer_id', $customer_id)->count()
: 0;
$crt = Session::get('cart');
$countitem = 0;
if ($crt) {
foreach ($crt as $p) {
$countitem += $p['qty'];
}
}
@endphp