@extends('adtTheme::layouts.master') @section('title',!is_null($category->meta) && !is_null($category->meta->meta_title) ? $category->meta->meta_title : __('frontend/category.category_page_title',['categoryName' => $category->categoryName->category_name ])) @section('meta_description',!is_null($category->meta) ? $category->meta->meta_description : '') @section('meta_keywords',!is_null($category->meta) ? $category->meta->meta_keywords : '') @section('meta') @if($products->previousPageUrl() != '') @endif @if($products->nextPageUrl() !='') @endif @if(!is_null($category->image)) @elseif(count($products) > 0 && !is_null($products->first()->featuredImage)) @endif @if(!is_null($category->meta) && $category->meta->no_index) @endif @if($category->category_image_show && !is_null($category->image)) @else @if(count($products) > 0) @foreach($products->take(2) as $product) @foreach($product->images->take(1) as $featuredImage) @if(config('generalSettings.webp_status',0)) @else @endif @endforeach @endforeach @endif @endif @endsection @section('content') @include('frontend.themes.default.layouts.partials.announcement-template', ['position'=>\App\Constants\AnnouncementPositionTypeConstants::CATEGORY_HEADER,'relationId' => $category->category_id])