{{ $productItem['name'] }}

@if( isset($productItem['pic']) && count($productItem['pic']) > 0 ) @foreach($productItem['pic'] as $item)
@endforeach @else
@endif
@if( isset($productItem['pic']) && count($productItem['pic']) > 0 ) @foreach($productItem['pic'] as $item)
@endforeach @else
@endif

{{ $productItem['name'] }}

Артикул:{{ $productItem['id'] }}

@php $priceForSplit = '0.00'; @endphp @if($productItem['new_price'] != 0 && $productItem['price_action'] == 0 && $productItem['old_price'] == 0) {{ $productItem['new_price_format'] }} @php $priceForSplit = $productItem['new_price']; @endphp @elseif($productItem['new_price'] != 0 && $productItem['price_action'] == 0 && $productItem['old_price'] != 0) {{ $productItem['new_price_format'] }} {{ $productItem['old_price_format'] }} @php $priceForSplit = $productItem['new_price']; @endphp @endif

@if($productItem['sale_percent'] > 0) -{{ $productItem['sale_percent'] }}% @endif

@php $isOnBasket = in_array($productItem['id'], $userIDSBasket); $itemCount = 0; if ($isOnBasket) { foreach ($userBasket['items'] as $itemBasket) { if ($itemBasket['id'] == $productItem['id']) { $itemCount = $itemBasket['quantity']; break; } } } @endphp
@if( isset($collection['url']) && count($collection) > 0 )
@php $limitCollection = 12; $i = 0; @endphp @foreach($collection['items'] as $item) @php if ($limitCollection <= $i) { continue; } @endphp
@php $i ++; @endphp @endforeach

Смотреть все варианты ({{ $collection['total_items'] }})

@endif

Характеристики

{!! $productItem['description'] !!}