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