@extends('layouts.webshop') @section('main-content')
@include('webshop.breadcrumb', [$make_slug, $make, $model_slug, $models, $category, $category_slug, $sub_category_slug, $sub_category, $part_slug, $part])

{{ $make->name }} {{ $models->first()->short_name }} {{ $product->part->name}}

@php $photos = $product?->photos()->get(); if($photos->isEmpty()) { $photos = $product?->parent?->photos()->get(); } @endphp @foreach($photos as $photo) @endforeach
{{ $product->manufacturer->name }} {{ $product->car_model->short_name }} {{ $product->part->name }}
@if($product->manufacturer->name)
{{ __('manufacturer.singular') }}: {{ $product->manufacturer->name }}
@endif @if($product->car_model->short_name)
{{ __('car_model.singular') }}: {{ $product->car_model->short_name }}
@endif @if($product->condition)
{{ __('product.column.condition') }}: {{ $product->condition }}
@endif
@if($product->article_number)
{{ __('product.column.article_number') }}: {{ $product->article_number }}
@endif @if($product->color)
{{ __('product.column.color') }}: {{ $product->color }}
@endif @if($product->connectors)
{{ __('product.column.connectors') }}: {{ $product->connectors }}
@endif @if($product->doors)
{{ __('product.column.doors') }}: {{ $product->doors }}
@endif @if($product->gears)
{{ __('product.column.gears') }}: {{ $product->gears }} fokozat
@endif @if($product->mileage)
{{ __('product.column.mileage') }}: {{ $product->mileage }} km
@endif @if($product->facelift_type)
{{ __('product.column.facelift_type') }}: {{ $product->facelift_type }}
@endif @if($product->note_public)
{{ __('product.column.note_public') }}: {{ $product->note_public }}
@endif @if($product->size_x)
{{ __('product.column.size_x') }}: {{ $product->size_x }}
@endif @if($product->size_y)
{{ __('product.column.size_y') }}: {{ $product->size_y }}
@endif @if($product->size_z)
{{ __('product.column.size_z') }}: {{ $product->size_z }}
@endif @if($product->weight)
{{ __('product.column.weight') }}: {{ $product->weight }}
@endif @if($product->VIN)
{{ __('product.column.VIN') }}: {{ $product->VIN }}
@endif @if($product->warranty)
{{ __('product.column.warranty') }}: {{ $product->warranty }}
@endif @if($product->is_env_cert)
{{ __('product.column.is_env_cert') }}: {{ $product->is_env_cert }}
@endif @if($product->is_rhd)
{{ __('product.column.is_rhd') }}: {{ $product->is_rhd }}
@endif @if($product->variant?->ccm)
{{ __('variant.column.ccm') }}: {{ $product->variant->ccm }}
@endif @if($product->variant?->kw)
{{ __('variant.column.kw') }}: {{ $product->variant->kw }}
@endif @if($product->variant?->le)
{{ __('variant.column.le') }}: {{ $product->variant->le }}
@endif @if($product->variant?->production_from)
{{ __('variant.column.production_from') }}: {{ $product->variant->production_from }}
@endif @if($product->variant?->production_to)
{{ __('variant.column.production_to') }}: {{ $product->variant->production_to }}
@endif

@if($product->discount != 0 || $product->discount != null)
Akció! {{ $product->display_price }} {{ $product->display_discount }}
@endif

@if($product->discount != 0) {{ $product->display_discount }} @else {{ $product->display_price }} @endif

Kiszállítás: {{ $product->display_postal_fee }}

@if($closing_hours)

Kiszállítás zárva tartás miatt: {{$closing_hours->to}}

@else

Kiszállítás várható dátuma: {{date("Y-m-d", strtotime("+1 weekday"))}}

@endif {{--

Kiszállítás zárva tartás miatt: {{date("Y-m-d", strtotime("+2 week"))}}

Raktáron!

--}}
@push('scripts') @endpush @endsection