@extends($design . '.layouts.main')
@section('title', $page_properties->title)
@section('keywords', $page_properties->keyword)
@section('description', $page_properties->description)
@section('content')
@if (count($products) == 0)
{{--
{{ __("text.common_product_text") }} «{{ $search_text }}» {{ __("text.search_not_found") }}
{{ __("text.search_not_carry") }} «{{ $search_text }}» {{ __("text.search_this_time") }}
{{ __("text.search_product_request") }}
{{ __("text.common_contact_us_main_menu_item") }}
--}}
{{ __("text.common_product_text") }} «{{ $search_text }}» {{ __("text.search_not_found") }}
{{ __("text.search_not_carry") }} «{{ $search_text }}» {{ __("text.search_this_time") }}
{{ __("text.search_product_request") }}
@if (in_array(session('aff'), [1799, 1947, 1952, 1957]) || in_array(env('APP_AFF'), [1799, 1947, 1952, 1957]))
@php
$domainWithoutZone = preg_replace('/\.[^.]+$/', '', request()->getHost());
@endphp
{{ __("text.common_contact_us_main_menu_item") }}
@else
{{ __("text.common_contact_us_main_menu_item") }}
@endif
{{--
{{__('text.search_result_nothing_found1')}} «{{ $search_text }}» {{__('text.search_result_nothing_found2')}}
--}}
{{__('text.search_result_best_for_search')}}
@foreach ($bestsellers as $product)
@endforeach
@else
{{__('text.search_result_title_page')}} «{{$search_text}}»
@foreach ($products as $product)
@endforeach
@endif
@endsection