@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif

Stock Management

Manage inventory for all product sizes at once

Manage All Stocks
@if($selectedProductId) @endif
@if($showProductDropdown && !empty($productResults))
@foreach($productResults as $product)
{{ $product->name }}
@if($product->style)
Style: {{ $product->style }}
@endif @if($product->category)
Category: {{ $product->category->name }}
@endif
@if($product->brand)
{{ $product->brand->name }}
@endif
@endforeach
@endif @if(!empty($productSearch) && strlen($productSearch) >= 2 && empty($productResults))
No products found
@endif
@if($selectedProductId && $sizes && $sizes->count() === 0)

This product doesn't have a category with sizes assigned. Please assign a category with a size group first.

@endif @if($selectedProductId && $sizes && $sizes->count() > 0)

Stock Quantities

@foreach($sizes as $size)
@if(($stocks[$size->id] ?? 0) <= 0)
Low/No Stock
@else
In Stock
@endif
@endforeach
@endif @if(!$selectedProductId)

Select a Product

Choose a product from the search above to manage stock for all sizes

@endif