@if(isset($storages) && $storages) @php $price = 0; if(isset($storages[0]) && $storages[0]['discounted_price']) $price = $storages[0]['discounted_price']; elseif(isset($storages[0]) && $storages[0]['price']) $price = $storages[0]['price']; @endphp @foreach($storages as $key => $storage)
@endforeach @endif