@forelse($stocks as $stock) @php $parent_image = App\Product::where('id', $stock->product->parent_product_id)->first(); @endphp
qty == 0) hidden @endif>
{{ $stock->product->product_name }} ({{ $stock->product->sku }})
@if (!empty($stock->qty)) ({{ $stock->qty }}) @else (0) @endif @if (!empty($stock->product->attribute_value)) {{ $stock->product->attribute_value }} @endif
@empty

@endforelse