@if(!empty($whatsappStore->store_announcement))
@endif
@if ($whatsappStore->categories->count() > 0)
@endif
@if ($whatsappStore->categories->count() == 0)
@endif
@if ($whatsappStore->products->count() > 0)
@endif
{{-- Business Hours section --}}
@if ($business_hours == true)
@if ($whatsappStore->businessHours->count())
@endif
@endif
{{-- Trending Video Section --}}
@if ($whatsappStore->trendingVideo->count() > 0)
@endif
@for($i = 0; $i < 2; $i++)
@for($j = 0; $j < 12; $j++)
{{ $whatsappStore->store_announcement }}
@endfor
@endfor
{{ __('messages.whatsapp_stores_templates.choos_your_category') }}
{{ __('messages.whatsapp_stores_templates.category_not_found') }}
{{ __('messages.whatsapp_stores_templates.choose_your_product') }}
@foreach ($whatsappStore->products()->orderByRaw('sort IS NULL, sort ASC')->latest()->take(8)->get() as $product)
@endforeach
@if ($whatsappStore->products->count() == 0)
@endif
{{ __('messages.whatsapp_stores_templates.product_not_found') }}
{{ __('messages.business.business_hours') }}
@php
$todayWeekName = strtolower(\Carbon\Carbon::now()->rawFormat('D'));
@endphp
@php
$weekFormat = $whatsappStore->week_format ?? 1;
if ($weekFormat == 2) {
$businessDaysTime = collect($businessDaysTime)->sortKeysUsing(function ($a, $b) {
if ($a == 7) return -1; // Sunday first
if ($b == 7) return 1;
return $a <=> $b;
})->toArray();
}
@endphp
@foreach ($businessDaysTime as $key => $dayTime)
@endforeach
{{ __('messages.business.' . \App\Models\BusinessHour::DAY_OF_WEEK[$key]) }}:
{{ $dayTime ?? __('messages.common.closed') }}
{{ __('messages.whatsapp_stores.our_trending_videos') }}
{{-- Sticky Bar Button --}}
@php
$shareUrl = $whatsappStoreUrl;
@endphp
{{-- share modal code --}}
{{-- Newsletter Popup --}}
@if ($whatsappStore->news_letter_popup)
@endif
@if (isset($enable_pwa) && $enable_pwa == 1 && !isiOSDevice())
@endif
@include('whatsapp_stores.templates.cloth_store.cart_modal')
@include('whatsapp_stores.templates.order_modal')
{{ __('messages.pwa.add_to_home_screen') }}
{{ __('messages.pwa.pwa_description') }}