@extends('frontend.layouts.mobile') @php $show_prices = false; $banner = null; $video_tag = ''; if(isset($data['category'])) { if(isset($data['category']->meta_title)) $title = $data['category']->meta_title; else $title = $data['category']->name . ' - ' . app_name(); if($data['category']->do_index == 'N' || $data['category']->status == 'N') $no_index = 'NOINDEX'; if($data['category']->show_prices == 'Y') $show_prices = true; if($show_prices && $data['category']->banner_id > 0) { $banner = \App\Models\Banner::getBanner($data['category']->banner_id); } if(trim($data['category']->video_link) != null) { if($data['category']->video_site == 'YouTube') { $video_tag = '
'; } else { $video_tag = ''; } } } else { $title = ''; } @endphp @if(isset($no_index)) @push('head-area') @endpush @endif @if($data['listing_type'] == 'products_search') @section('title', 'Search Results for '.request()->input('s')) @elseif(isset($data['category'])) @php $title = trim($data['category']->meta_title); if($title != null && $title != 'NULL') $title = $data['category']->meta_title; else $title = $data['category']->name . ' - ' . app_name(); @endphp @section('title', $title) @if(isset($data['category']->meta_description) && trim($data['category']->meta_description) != null && $data['category']->meta_description != 'NULL') @section('meta_description', $data['category']->meta_description) @section('meta_keywords', $data['category']->meta_keywords) @endif @endif @if(isset($data['category']) && $data['category']->is_canonical == 'Y') @php if($data['category']->canonical_url != '') $url = $data['category']->canonical_url; else $url = URL::to( '/' . $data['category']->slug); @endphp @push('head-area') @endpush @endif @section('content') {{--Showing {{ $data['products']->firstItem() }} to {{ $data['products']->lastItem() }} of total {{ $data['products']->total() }} results
Sorry!, no products found.
@endif