@extends('layouts.admin') @section('title', $category->name . ' Products - ' . $vendor->vendor_name) @section('content')
| Product | Brand | SKU | Price | Stock | Status | Actions | |
|---|---|---|---|---|---|---|---|
|
@if($product->featured_image)
{{ $product->name }}
@if($product->short_description)
{{ Str::limit($product->short_description, 60) }}
@endif
@if($product->is_featured)
Featured
@endif
@if($product->variants_count > 0)
{{ $product->variants_count }} variants
@endif
|
@if($product->brand) {{ $product->brand->name }} @else - @endif |
@if($product->sku)
{{ $product->sku }}
@else
-
@endif
|
@if($product->sale_price)
د.إ{{ number_format($product->sale_price, 2) }}
د.إ{{ number_format($product->base_price, 2) }} @else د.إ{{ number_format($product->base_price, 2) }} @endif |
{{ $product->stock_quantity }}
{{ ucwords(str_replace('_', ' ', $product->stock_status)) }} |
is_active ? 'checked' : '' }}
onchange="toggleAvailability({{ $product->id }})">
|