@extends('layouts.app') {{-- ✅ PRIORITY FIX: Add missing SEO sections --}} @section('title', request('search') ? __('Search Results for') . ' "' . request('search') . '"' : __('All Products') . ' - ' . config('app.name')) @push('meta') {{-- ✅ CRITICAL: Meta Description --}} {{-- ✅ CRITICAL: Meta Keywords --}} {{-- ✅ CRITICAL: Open Graph Tags --}} {{-- ✅ Twitter Card --}} {{-- ✅ Additional SEO Meta --}} @endpush @push('structured_data') {{-- ✅ CRITICAL: Product Listing Structured Data --}} {{-- ✅ CRITICAL: Website/Organization Schema --}} {{-- ✅ If filtered by category, add category schema --}} @if(request('category') && isset($categories)) @php $selectedCategory = $categories->find(request('category')); @endphp @if($selectedCategory) @endif @endif @endpush @section('content') {{-- ✅ YOUR EXISTING CONTENT STAYS EXACTLY THE SAME --}}
@if(request('search')) {{ __('Found') }} {{ number_format($products->total()) }} {{ __('results matching your search') }} @else {{ __('Discover our amazing collection of products') }} @endif
{{ __('Results for') }}: "{{ request('search') }}"
@endif{{ Str::limit($translation->short_description, 80) }}
@endif {{-- ✅ NEW: Product Stats --}} {{-- ✅ ENHANCED: Rating (placeholder) --}} {{-- --}} {{-- ✅ ENHANCED: Price Display --}} @php $basePrice = $product->sale_price ?: $product->price; $vatAmount = $basePrice * ($product->tax_rate/100); $customerPrice = $basePrice + $vatAmount; @endphp{{ __('We couldn\'t find any products matching your criteria.') }} {{ __('Try adjusting your search or filter settings.') }}