@extends('backend.template.layouts.template-base') @section('title', 'Product Management - ' . $product->name . ' Details') @section('content')

{{ $product->name }} Details

Edit Product
{{-- ── Delete Modal ──────────────────────────────────────────────────── --}} {{-- ── Inactive Modal ────────────────────────────────────────────────── --}} {{-- ── Activate Modal ────────────────────────────────────────────────── --}} {{-- ── Product Card ──────────────────────────────────────────────────── --}}
@if ($product->image) {{ $product->name }} @else No Image @endif
{{ $product->name }}
@if ($product->name_tamil)

{{ $product->name_tamil }}

@endif @if ($product->short_description)

{{ Str::limit($product->short_description, 100) }}

@endif Last Updated on : {{ $product->updated_at->format('d/m/Y') }}
Status
{{ ucfirst($product->status) }}
{{-- ── Product Info ──────────────────────────────────────────────────── --}}
Product Info

{{ $product->name }}

{{ $product->name_tamil ?: '-' }}

{{ $product->group?->name ?: '-' }}

{{ $product->short_description ?: '-' }}

{{ $product->min_order_qty }}

{{ $product->max_order_qty }}

@if ($product->description)
{!! $product->description !!}
@endif @if ($product->keywords)
@foreach (array_filter(preg_split('/[\s,]+/', $product->keywords)) as $kw) {{ $kw }} @endforeach
@endif @if ($product->relatedProducts->count())
@foreach ($product->relatedProducts as $rp) {{ $rp->name }} @endforeach
@endif
{{-- ── Pricing Info ──────────────────────────────────────────────────── --}}
Pricing Info
@forelse ($product->pricing as $price) @empty @endforelse
Variant Unit Label MRP ₹ Discount Type Discount Value Selling Price ₹ Status
{{ $price->variant?->value ?: '-' }} @if ($price->is_default) DEFAULT @endif {{ $price->unit?->nickname ?: '-' }} {{ $price->label ?: '--' }} ₹{{ number_format($price->mrp, 2) }} {{ ucfirst($price->discount_type) }} @if ($price->discount_type === 'percentage') {{ $price->discount_value }}% @elseif ($price->discount_type === 'fixed') -₹{{ $price->discount_value }} @else -- @endif ₹{{ number_format($price->selling_price, 2) }} {{ ucfirst($price->status) }}
No pricing added yet.
{{-- ── SEO Settings ──────────────────────────────────────────────────── --}} @if ($product->seo)
SEO Settings

{{ $product->seo->image_alt ?: '-' }}

{{ $product->seo->meta_title ?: '-' }}

{{ $product->seo->meta_description ?: '-' }}

{{ $product->seo->schema ?: '-' }}

{{ $product->seo->h1 ?: '-' }}

@endif @endsection @section('scripts') @endsection