| Server IP : 172.67.168.138 / Your IP : 216.73.216.227 [ Web Server : Apache System : Linux frog 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web13 ( 5017) PHP Version : 8.3.31 Disable Function : NONE Domains : 41 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/clients/client12/web13/web/ahelos/resources/views/layouts/frontend/pages/ |
Upload File : |
@extends('layouts.frontend.index')
@section('metas')
<title>Търсене за: {{ request('keyword') }}</title>
@endsection
@section('content')
<section class="category-container">
{{ Breadcrumbs::render('search.index', LaravelLocalization::getCurrentLocale()) }}
<div class="title d-flex justify-content-between">
<h1>Търсене за: {{ request('keyword') }}</h1>
</div>
<div class="products">
@foreach ($products as $key => $product)
<div class="col-6 col-md-4 col-xl-3">
<a class="product" href="{{ route('product.show', $product->translation->slug . '-' . $product->id) }}">
@if ($product->sticker?->color)
<span class="sticker" style="background: {{ $product->sticker?->color; }}">
{{ $product->sticker?->translation->title }}
</span>
@endif
<img src="{{ asset('/storage/products/resized/' . $product->photo) }}" alt="">
<span class="title">
{{ $product->translation->title }}
</span>
<span class="delimiter"></span>
<span class="rating">
{!! $product->stars($product->rates->avg('rate')) !!}
</span>
<span class="price">
@money($product->last_price, 'EUR', true)
<span>
@if($product->last_price != $product->price)
@money($product->price, 'EUR', true)
@else
@if($product->price_old > 0)
@money($product->price_old, 'EUR', true)
@endif
@endif
</span>
</span>
<span class="price">
@money($product->last_price * $eur_rate, 'BGN', true)
<span>
@if($product->last_price != $product->price)
@money($product->price * $eur_rate, 'BGN', true)
@else
@if($product->price_old > 0)
@money($product->price_old * $eur_rate, 'BGN', true)
@endif
@endif
</span>
</span>
</a>
</div>
@endforeach
</div>
</section>
<nav class="pagination-wrapper col-12 mt-3 mb-5">
{{ $products->appends(request()->except('page'))->links() }}
</nav>
@endsection