@extends('web.layouts.app') @section('title', $product->name) @section('page_heading', $product->name) @section('content')

{{ $product->name }}

احصل على أفضل قطعة غيار لسيارتك من هنا
@if ($product->images && is_array($product->images)) @foreach ($product->images as $image)
{{ $product->name }}
@endforeach @elseif ($product->main_image)
{{ $product->name }}
@else
Placeholder
@endif
@if ($product->images && is_array($product->images)) @foreach ($product->images as $image)
{{ $product->name }}
@endforeach @elseif ($product->main_image)
{{ $product->name }}
@else
Placeholder
@endif

{{ $product->name }}

الرمز

{{ $product->sku }}

{{--
الماركة @if ($product->brands->isNotEmpty())

{{ $product->brands->first()->name }}

@else

غير محدد

@endif
--}}
@if($product->stock > 0)

متاح بالمخزن

@else

غير متاح بالمخزن

@endif
{{ $product->price }}L.E
@if ($product->has_special_discount)
{{ $product->original_price }}L.E
@endif

{{ $product->description }}

@if(isset($product->category) && $product->category)
القسم الرئيسى

{{ $product->category->name }}

@endif @if ($product->category && $product->category->parent)
القسم الفرعى

{{ $product->category->parent->name }}

@endif
مشاركة المنتج
الوصف
المواصفات
التوافق

{{ $product->description }}

@if($product->features->isNotEmpty()) @foreach ($product->features as $feature)
{{ $feature->name }}

{{ $feature->value }}

@endforeach @else

لا توجد مواصفات لعرضها

@endif
@if($product->compatibilities->isNotEmpty()) @foreach ($product->compatibilities as $compatibility)
@if($compatibility->brand) العلامة التجارية

{{ $compatibility->brand->name }}

@endif @if($compatibility->carModel) موديل السيارة

{{ $compatibility->carModel->name }}

@endif @if($compatibility->carModelEngine) سعة المحرك

{{ $compatibility->carModelEngine->name }}

@endif
@endforeach @else

لا توجد معلومات توافق لعرضها

@endif
@if($similarProducts->isNotEmpty())

منتجات ذات صلة

تصفح العديد من المنتجات الخاصة بسيارتك

عرض المزيد
@foreach ($similarProducts as $product) @include('web.partials.products-list-product-card', compact('product')) @endforeach
@endif
@endsection @section('scripts') @endsection