@extends('layouts.app', [ 'title' => $product->seo->title != '' ? $product->seo->title : $product->name, 'descriptionPage' => $product->seo->desc != '' ? $product->seo->desc : '', 'keysPage' => $product->seo ? $product->seo->keys : '', ]) @section('head') @if($product->seo) @endif @endsection @section('content')
@if($product->seo) @endif
@if($product->svg) {{$langFunc->perm($lang, 'izobrazeniya')}} {{$product->name}} @elseif($product->category->svg) {{$langFunc->perm($lang, 'izobrazeniya')}} {{$product->name}} @endif @if($product->photo_text)
{!! $product->photo_text !!}
@endif
@if($product->seo) @if($product->seo->images) @foreach($product->seo->images as $item)
@if($item->svg) {{$langFunc->perm($lang, 'izobrazeniya')}} {{$item->id}} {{$product->name}} @endif
@endforeach @endif @endif
@if($product->sku)

Product id:

{{$product->sku}}
@endif

{{$product->name}}

{{$product->category->name}} @if($product->store == 1) Store items {{$langFunc->perm($lang, 'v-nalichii')}}: @if($product->store_view == 1 AND $product->local->sum('sklad') > 0) {{$product->local->sum('sklad')}} {{$product->ediz->name}}@endif @if($product->store_view == 1 AND $product->local->sum('zakaz') > 0){{$langFunc->perm($lang, 'ogidautsa')}}: {{$product->local->sum('zakaz')}} {{$product->ediz->name}}@endif @endif @if($product->order == 1) Order items {{$langFunc->perm($lang, 'pod-zakaz')}} @endif
@if($product->seo)
{{$product->seo->desc}}
@endif
{{$langFunc->perm($lang, 'v-korzinu')}} Cart White
@if($product->sale_price) {{$product->sale_price}} {{$valuta}} С НДС@endif
@if(count($product->analogsview)>0)
Посмотреть аналоги
@endif
@if($product->ob_zvonok) @endif @if($product->test) @endif @if($product->arenda) @endif @if($product->zak) @endif @if($setting->tg) @endif @if($setting->wh) @endif
@if($product->tags OR $product->two_tags)

{{$langFunc->perm($lang, 'tegi')}}

{{$product->tags}} {{$product->two_tags}}
@endif @if($product->files AND count($product->files) > 0)

{{$langFunc->perm($lang, 'faily')}}

@foreach($product->files as $item) @if($item['url'] != '') @if($item['text']){{$item['text']}}@else {{$langFunc->perm($lang, 'bez-nazvaniya')}} @endif @endif @endforeach
@endif
@if($product->seo) @if($product->seo->text OR $product->seo->text_to)
{!! $product->seo->text !!}
{!! $product->seo->text_to !!}
@endif @endif
@if($product->connection->count())
@if($product->zag_con_1)

{{$product->zag_con_1}}

@else

{{$langFunc->perm($lang, 'poxozie-tovary')}}

@endif
@if($product->connection_type == 1) @include('components.productall', ['productItems'=>$product->connection]) @else @include('components.productsmall', ['productItems'=>$product->connection]) @endif
@endif
@if($product->seo) @if($product->seo->text_new OR $product->seo->text_new_to)
{!! $product->seo->text_new !!}
{!! $product->seo->text_new_to !!}
@endif @if($product->seo->gross_text)
{!! $product->seo->gross_text !!}
@endif @endif
@if($product->connectiontos->count())
@if($product->zag_con_2)

{{$product->zag_con_2}}

@else

{{$langFunc->perm($lang, 'poxozie-tovary')}}

@endif
@if($product->connection_to_type == 1) @include('components.productall', ['productItems'=>$product->connectiontos]) @else @include('components.productsmall', ['productItems'=>$product->connectiontos]) @endif
@endif
@if($product->seo) @if($product->seo->text_tree OR $product->seo->text_new_tree)
{!! $product->seo->text_tree !!}
{!! $product->seo->text_new_tree !!}
@endif @endif
@if($product->connectiontree->count())
@if($product->zag_con_3)

{{$product->zag_con_3}}

@else

{{$langFunc->perm($lang, 'poxozie-tovary')}}

@endif
@if($product->connection_tree_type == 1) @include('components.productall', ['productItems'=>$product->connectiontree]) @else @include('components.productsmall', ['productItems'=>$product->connectiontree]) @endif
@endif
@if($product->seo) @if($product->seo->text_for OR $product->seo->text_new_for)
{!! $product->seo->text_for !!}
{!! $product->seo->text_new_for !!}
@endif @endif
@if($product->connectionfor->count())
@if($product->zag_con_4)

{{$product->zag_con_4}}

@else

{{$langFunc->perm($lang, 'poxozie-tovary')}}

@endif
@if($product->connection_for_type == 1) @include('components.productall', ['productItems'=>$product->connectionfor]) @else @include('components.productsmall', ['productItems'=>$product->connectionfor]) @endif
@endif
@if($othertext->text)
{!! $othertext->text !!}
@endif @endsection @if(count($product->analogsview)>0) @endif