@extends('backend.template.layouts.template-base') @section('title', 'Product Details') @section('content')

{{ $product->name }} {{ $product->statusLabel() }}

@can('update', \App\Models\Product::class) Edit Product @endcan
Category {{ $product->category?->name ?? '—' }}
Status {{ $product->statusLabel() }}
Created Date {{ $product->created_at?->format('d M Y') }}
Updated Date {{ $product->updated_at?->format('d M Y') }}
SKU {{ $product->sku }}
@if ($product->description)
Description

{{ $product->description }}

@endif
Badges @forelse ($product->badgeEnums() as $badge) {{ $badge->label() }} @empty — @endforelse
Pricing
@forelse ($product->variants as $variant) @empty @endforelse
Variant MRP Cost Price (admin) Discount Selling Price Default
{{ $variant->label ?: ($variant->unit !== 'none' ? $variant->unit : '—') }} {{ currency($variant->mrp) }} {{ $variant->cost_price !== null ? currency($variant->cost_price) : '—' }} @if ($variant->discount_type !== 'none' && $variant->discount_value) {{ $variant->discount_value }}{{ $variant->discount_type === 'percentage' ? '%' : '' }} @else — @endif {{ currency($variant->selling_price ?? $variant->mrp) }} {{ $variant->is_default ? 'Yes' : '—' }}
No pricing rows yet.
SEO Details
Meta Title
{{ $product->seo->meta_title ?? '—' }}
Meta Description
{{ $product->seo->meta_description ?? '—' }}
Meta Keywords
{{ $product->seo->meta_keywords ?? '—' }}
@endsection