Manage your inventory, prices and visibility
| Product | Category | Price | Stock | Actions |
|---|---|---|---|---|
|
@php
$primaryImage = $product->images->where('is_primary', true)->first();
$imagePath = $primaryImage ? asset('storage/' . $primaryImage->image_path) : asset('images/placeholder.svg');
@endphp
{{ $product->name }}
{{ $product->sku }}
{{ $product->variants_count }} Variations
|
@forelse($product->categories as $category)
{{ $category->name }}
@empty
Uncategorized
@endforelse
|
@if($product->variants->count() > 0)
@php
$minPrice = $product->variants->min('price');
$maxPrice = $product->variants->max('price');
@endphp
৳{{ number_format($minPrice) }}@if($minPrice != $maxPrice)- {{ number_format($maxPrice) }}@endif @else No price set @endif |
{{ $product->variants->sum('stock_quantity') }} UNITS | |
| No products found | ||||
Price Range
@if($product->variants->count() > 0) @php $minPrice = $product->variants->min('price'); $maxPrice = $product->variants->max('price'); @endphp৳{{ number_format($minPrice) }}@if($minPrice != $maxPrice)- {{ number_format($maxPrice) }}@endif
@elseNo price set
@endifTotal Stock
{{ $product->variants->sum('stock_quantity') }} UNITS