@extends('layouts.public') @section('title', 'Shop Device Parts | Anywhere Phone Repair') @section('meta_description', 'Browse in-stock device parts and repair components.') @section('content')

Parts shop

Phone parts & repair components

Shop active, in-stock repair inventory with current prices and product options.

Cart ({{ app(\App\Services\Shop\ShopService::class)->cartCount() }})
@include('shop.partials.flash')
@if(request()->hasAny(['q', 'brand', 'category', 'grade'])) Clear filters @endif

Available parts

{{ $products->total() }} result{{ $products->total() === 1 ? '' : 's' }}

@if($products->isEmpty())

No parts found

Try changing your search or filters.

@else
@foreach($products as $product) @php $images = json_decode($product->images ?? '[]', true); $image = is_array($images) ? ($images[0] ?? null) : null; $sale = $product->compare_at_price && (float) $product->compare_at_price > (float) $product->sell_price; @endphp @endforeach
{{ $products->links() }}
@endif
@endsection