@extends('vendor.site-bases.website.layouts.master') @section('title', $product->title) @section('page_title', trans('title.products')) @section('desc', strip_tags($product->description)) @section('img', asset($product->image)) @section('breadcrumbs') {!! Breadcrumbs::render('products_in', $product) !!} @endsection @section('meta') @endsection @section('content') @if ($banner)
@endif
{{ $product->title }}
@foreach ($product->images as $image)
{{ $product->title }}
@endforeach
@foreach ($product->images as $image) @endforeach
# {{ $product->fina_unique_code }}
@if ($product->promo_image)
{{ $product->title }}
@endif @foreach ($promos as $item)
{{ $item->title }}
@endforeach
{{--
--}}

{{ $product->title }} @if (auth()->check() && auth()->user()->is_admin) @endif

  • @lang('site.category'): @foreach ($product->categories as $key => $category) {{ $category->title }} @if ($key !== $product->categories->count() - 1) / @endif @endforeach
  • @if ($product->brands->count() > 0)
  • @lang('site.brands'): @foreach ($product->brands as $key => $brand) {{ $brand->title }} @if ($key !== $product->brands->count() - 1) / @endif @endforeach
  • @endif @if ($product->detail->first()->warranty)
  • @lang('site.warranty'): {{ $product->detail->first()->warranty }}
  • @endif
@if (!is_null($product->unique_code) || $product->children->count() != 0 || $product->sale_with_complect)
size_count ? 'readonly' : '' }} min="1" name="" id="quantity">
@endif @if ($product->children->count() > 0)
@endif

{!! Str::limit(strip_tags($product->description), 150) !!} @if (mb_strlen(strip_tags($product->description)) > 150) @lang('site.see_more') @endif

{!! $product->description !!}

@lang('site.see_less')

@if (!is_null($product->unique_code) || $product->children->count() != 0 || $product->sale_with_complect) @if (!$product->only_with_order)
@if ($product->in_stock)
@lang('site.instock')
@else
@lang('site.outofstock')
@endif
@endif @endif @if (!is_null($product->unique_code) || $product->children->count() != 0 || $product->sale_with_complect) @if ($product->in_stock)
@lang('site.product_price') @if ($product->onl_price) {{ $product->onl_price }}o {{ $product->item_price }}o @elseif ($product->discount_price) {{ $product->item_price }}o {{ $product->discount_price }}o @else {{ $product->item_price }}o @endif @if ($product->mainUnit)  /{{ $product->mainUnit->title }} @endif
@endif @endif
@if ($product->only_with_order) @elseif (is_null($product->unique_code) && $product->children->count() == 0 && $product->sale_with_complect)
    {{--
  • --}}
@else
    {{--
  • --}}
@endif @if ($deliver)
@lang('site.delivery_info')
@endif @if ($hasSimilar)
@endif
@if ($product->detail->first()->technical || $product->detail->first()->advantages || $product->detail->first()->uses)
{!! $product->detail->first()->technical !!}
{!! $product->detail->first()->advantages !!}
{!! $product->detail->first()->uses !!}
@endif @if ($product->video)
{{ $product->title }}
@endif
@if ($hasSimilar)

@lang('site.related')

@endif
@if ($deliver) @endif @endsection @section('style') @endsection @section('scripts') @endsection