@extends('storefront.layouts.app') @section('title', $product->name . ' | زيلايت - Zelight') @section('description', $currentLocale === 'ar' ? $product->description_ar : $product->description_en) @section('content')
{{ $product->name }} @if (!$product->is_available)
{{ $currentLocale === 'ar' ? 'سيتوفر قريباً' : 'Coming Soon' }}
@endif
@if ($product->category) {{ $product->category->name }} @endif

{{ $product->name }}

@if ($product->description)

{{ $product->description }}

@endif
@if ($product->is_available) {{ $currentLocale === 'ar' ? 'متوفر' : 'Available' }} @else {{ $currentLocale === 'ar' ? 'سيتوفر قريباً' : 'Coming Soon' }} @endif
@if ($product->pdfs->count() > 0)

{{ $currentLocale === 'ar' ? 'ملفات المنتج' : 'Product Files' }}

@foreach ($product->pdfs as $pdf) {{ $pdf->title ?: 'PDF' }} @endforeach
@endif
@if ($relatedProducts->count() > 0)

{{ $currentLocale === 'ar' ? 'منتجات مشابهة' : 'Related Products' }}

@endif @endsection