{{ $featuredProduct->name }}
{{ $featuredProduct->short_description }}
@extends('layouts.app') @section('ownCta', '1') {{-- eigene Pre-Footer-CTA (.shx-cta) → generische Footer-CTA unterdrücken --}} @php $siteLocale = in_array(request()->segment(1), ['de','en'], true) ? request()->segment(1) : 'de'; $en = $siteLocale === 'en'; $t = fn($de, $enT) => $en ? $enT : $de; $lp = $en ? 'en/' : ''; // Lagertext zweisprachig (der Model-Accessor stock_label ist nur deutsch). $stockText = function ($p) use ($t) { if ($p->stock_quantity <= 0) return $t('Aktuell ausverkauft', 'Currently sold out'); if ($p->stock_quantity <= 5) return $t('Nur noch wenige verfügbar', 'Only a few left'); return $t('Sofort verfügbar', 'Available instantly'); }; // Echte Gesamtzahl im Sortiment (NICHT die kategorie-gefilterte $products-Anzahl). $totalProducts = \App\Models\ShopProduct::published()->count(); @endphp @section('title', $t('Shop — Digitale Produkte von KOTSCH.TECH', 'Shop — Digital products by KOTSCH.TECH')) @section('meta_description', $t( 'Software, Vorlagen und Lernunterlagen von KOTSCH.TECH — sofort verfügbar nach dem Kauf, sichere Zahlung per Vorkasse, lebenslange Updates für digitale Produkte.', 'Software, templates and study material by KOTSCH.TECH — available instantly after purchase, secure prepayment, lifetime updates for digital products.' )) @section('content') @includeIf('shop._flash')
{{ $t('Software, Vorlagen und Lernunterlagen von KOTSCH.TECH —', 'Software, templates and study material by KOTSCH.TECH —') }} {{ $t('direkt nach dem Kauf', 'right after purchase') }}{{ $t(', sichere Zahlung per Vorkasse.', ', secure prepayment.') }}
@if ($totalProducts > 0) {{ $totalProducts }} {{ $t($totalProducts === 1 ? 'Produkt' : 'Produkte', $totalProducts === 1 ? 'product' : 'products') }} @endif
{{ $featuredProduct->short_description }}
{{ $t( 'Digitale Produkte von KOTSCH.TECH — sofort verfügbar, mit lebenslangen Updates und sicherer Zahlung per Vorkasse.', 'Digital products by KOTSCH.TECH — instantly available, with lifetime updates and secure prepayment.' ) }}