@if (!$products->isEmpty() && !empty($products))

{{ $title ?? __('Campaigns') }}

{{ $subtitle ?? __('Items on discount/campaign') }}

{{-- view all button --}} @if ($products->hasMorePages()) @php $link = route('glover-website.search', [ 'vendor_type_id' => $vendor_type_id, 'sort' => 'campaign', 'type' => 'product', ]); @endphp
{{ __('View All') }} @if (isRTL()) @else @endif
@endif
@php $isGroceryVendorType = $vendor_type->slug == 'grocery'; @endphp @if ($isGroceryVendorType)
@foreach ($products as $product) @include( 'livewire.extensions.glover-website.components.list.grocery-product-v-card', [ 'product' => $product, ] ) @endforeach
@else
@foreach ($products as $product) @include('livewire.extensions.glover-website.components.list.product-v-card', [ 'product' => $product, ]) @endforeach
@endif
@endif