@if (\App\Addon::where('unique_identifier', 'seller_subscription')->first() != null && \App\Addon::where('unique_identifier', 'seller_subscription')->first()->activated)
{{ max(0, Auth::user()->seller->remaining_uploads) }} {{ translate('Remaining Uploads') }}
@endif @if (\App\Addon::where('unique_identifier', 'seller_subscription')->first() != null && \App\Addon::where('unique_identifier', 'seller_subscription')->first()->activated) @php $seller_package = \App\SellerPackage::find(Auth::user()->seller->seller_package_id); @endphp @endif
All Products
@foreach ($products as $key => $product) @endforeach
# {{ translate('Name')}} {{ translate('Category')}} {{ translate('Quantity')}} {{ translate('Price')}} {{ translate('Published')}} {{ translate('Featured')}} {{ translate('Options')}}
{{ ($key+1) + ($products->currentPage() - 1)*$products->perPage() }} {{ __($product->name) }} @if ($product->category != null) {{ $product->category->name }} @endif @php $qty = 0; if($product->variant_product){ foreach ($product->stocks as $key => $stock) { $qty += $stock->qty; } } else{ $qty = $product->current_stock; } echo $qty; @endphp {{ number_format($product->unit_price, 2) }}
    {{ $products->links() }}