@if ($product->isOutOfStock())
{{ __('Out of stock') }}
@elseif (!$product->with_storehouse_management || $product->quantity < 1)
{!! BaseHelper::clean($product->stock_status_html) !!}
@elseif ($product->quantity)
@if (EcommerceHelper::showNumberOfProductsInProductSingle())
@if ($product->quantity != 1)
{{ __(':number products available', ['number' => $product->quantity]) }}
@else
{{ __(':number product available', ['number' => $product->quantity]) }}
@endif
@else
{{ __('In stock') }}
@endif
@endif