@php $search_key = $data['search_key']; $brands = $data['brands']; $colors = $data['color']; $sizes = $data['sizes']; $categories = $data['category']; $total_count = $data['total_count']; $product_list = $data['product_list']; $cart_array = $data['cart_array']; @endphp @if (count($product_list) > 0) @php $catname = $product_list[0]['category_name']; $category_banner = '/uploads/category_banner/' . $product_list[0]['category_banner']; $search_description = $product_list[0]['category_description']; $searchlink = $product_list[0]['category_url']; $searchtext = $product_list[0]['category_url_txt']; @endphp @else @php $category_banner = '/uploads/category_banner/default.jpeg'; $catname = 'Product Not Found'; $search_description = 'Product you have searched for is not found'; $searchlink = '/'; $searchtext = 'Back to Home'; @endphp @if ($search_key == 'search') @php $search_description = 'Product you have searched for is not found'; @endphp @else @php $search_description = 'Product you have searched for is not found'; @endphp @endif @endif @php $split = $data['max_amnt'] / 4; @endphp @extends('layouts.user-inner') @section('content')