@if(!is_null($category->image))

@endif
@if($category->product_count_show)
{{ $category->categoryName->category_name }}({{ __('frontend/category.total_product_count',['totalProductCount' => $products->total()]) }})
@else
{{ $category->categoryName->category_name }}
@endif
@include('frontend.themes.theme2.templates.categories.partials.filter-sidebar')
@include('frontend.themes.theme2.templates.categories.partials.featured-products')
@if(count($products) > 0)
@foreach($products as $product)
@if(isset($infinity) && $infinity)
@include('frontend.themes.theme2.component.product-card',['product' => $product,'ajax' => true,'vueKey' =>'category'])
@else
@include('frontend.themes.theme2.component.product-card',['product' => $product,'priorityHigh' => in_array($loop->iteration,[1,2,3])])
@endif
@endforeach
@else
{{ __('frontend/category.product_not_found') }}
@endif
@if(Config::get('generalSettings.category_page_product_list_type', 'paginate') === 'infinity')
@if($products->onLastPage() === false)
@endif
@else
{!! $products->links('adtTheme::layouts.partials.pagination-template') !!}
@endif
@include('frontend.themes.theme2.layouts.partials.announcement-template',
['position'=>\App\Constants\AnnouncementPositionTypeConstants::CATEGORY_FOOTER,'relationId' => $category->category_id])