$breadcrumbs */ /** @var bool $showBackButton */ $megaCategories = []; $currentPath = parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH) ?: '/'; $canonicalBase = rtrim((string) app_env('SITE_URL', ''), '/'); if ($canonicalBase === '') { $requestHost = (string) ($_SERVER['HTTP_HOST'] ?? 'new.rybstock.ru'); $canonicalBase = 'https://' . preg_replace('/[^a-z0-9.\-:]/i', '', $requestHost); } $canonicalPath = '/' . ltrim($currentPath, '/'); $canonicalUrl = rtrim($canonicalBase, '/') . ($canonicalPath === '/' ? '/' : $canonicalPath); $isCartPage = $currentPath === '/cart'; $isCatalogLikePage = $currentPath === '/' || $currentPath === '/catalog' || $currentPath === '/promo' || $currentPath === '/new' || str_starts_with($currentPath, '/catalog/') || $currentPath === '/search' || str_starts_with($currentPath, '/search/'); $isProductPage = str_starts_with($currentPath, '/product/'); $showPriceModeBar = !$isCartPage && ($isCatalogLikePage || $isProductPage); $yandexMapsApiKey = (string) app_env('YANDEX_MAPS_API_KEY', '9ab8ad56-c350-4a2c-8f23-35acb102ee7a'); $yandexGeocoderApiKey = (string) app_env('YANDEX_GEOCODER_API_KEY', '0eaa1b4d-8e5c-454a-a40e-ca6ed7b4fbd1'); $queryParameters = []; parse_str((string) (parse_url($_SERVER['REQUEST_URI'] ?? '', PHP_URL_QUERY) ?? ''), $queryParameters); $currentSearchQuery = (string) ($_GET['q'] ?? $queryParameters['q'] ?? ''); $brandLogoSvg = <<<'SVG' Рыбсток Качество со склада. Стоковые цены. Рыб сток Рыб сток Качество со склада. Стоковые цены. SVG; $faviconSvg = <<<'SVG' Ры с SVG; $faviconHref = 'data:image/svg+xml,' . rawurlencode($faviconSvg); $homeEmbeddedImages = [ 'home-hero-picnic' => '/assets/images/home/hero-picnic-sunset.webp', 'home-warehouse-fish' => '/assets/images/home/warehouse-fish.webp', 'home-banner-meat' => '/assets/images/home/banner-meat-grill.webp', 'home-banner-seafood' => '/assets/images/home/banner-seafood-fresh.webp', 'home-warehouse-main' => '/assets/images/home/warehouse-main.webp', 'home-warehouse-arrival' => '/assets/images/home/warehouse-arrival.webp', 'home-warehouse-cold' => '/assets/images/home/warehouse-cold.webp', ]; try { $megaCategories = (new \App\Repositories\CategoryRepository())->tree(); } catch (\Throwable) { $megaCategories = []; } ?> <?= e($title) ?>
+7-977-736-33-63 Самовывоз: г. Москва, ул. Привольная, д. 13к1
Выберите систему оплаты при получении: