@php $photos = explode(',',$product->photos); @endphp
@foreach ($photos as $key => $photo)
@endforeach @foreach ($product->stocks as $key => $stock) @if ($stock->image != null)
@endif @endforeach
@foreach ($photos as $key => $photo)
@endforeach @foreach ($product->stocks as $key => $stock) @if ($stock->image != null)
@endif @endforeach

{{ $product->getTranslation('name') }}

{{ translate('Price')}}:
{{ single_price($product->bids->max('amount')) }} /{{ $product->unit }}

@php $qty = 0; foreach ($product->stocks as $key => $stock) { $qty += $stock->qty; } @endphp
@csrf