@foreach ($products as $product) @endforeach
ID CId Category Sort Name Subtitle Description Slug Qty on Hand Cost Price Status
{{$product->id}} @if($product->category_id) {{$product->category->id}} @endif @if($product->category_id) {{$product->category->title}} @endif {{$product->sort}} {{$product->title}} {{$product->subtitle}} {!! $product->description !!} {{$product->slug}} @if($product->quantity_on_hand < 10) {{ $product->quantity_on_hand}} @else {{ $product->quantity_on_hand}} @endif ${{ number_format($product->cost,2)}} ${{ number_format($product->price,2)}} @if($product->published) Published @else Not Published @endif @if($product->is_sellable) Sellable @else Not Sellable @endif