@extends('layouts.admin') @section('title', 'Product Details — ' . $product->name) @section('content')
← Back to Product Catalog

{{ $product->name }} {{ $product->is_active ? 'Active' : 'Disabled' }} @if($product->is_featured) Featured @endif

Storefront Preview Edit Product
Default Selling Price
₹{{ number_format($product->price, 2) }}
@if($product->compare_at)
MRP: ₹{{ number_format($product->compare_at, 2) }}
@endif
Total Inventory Stock
{{ $product->stock }} units
Across {{ $product->variants->count() ?: 1 }} size variant(s)
Category
{{ $product->category->name ?? 'Unassigned' }}
Tagline: {{ $product->tag ?? '—' }}
Rating & Reviews
★ {{ number_format($product->rating ?? 5.0, 1) }} ({{ $product->reviews_count ?? 0 }} reviews)
Badge: {{ $product->badge ?? 'None' }}

Product Media Gallery

Main Display Photo
{{ $product->name }}
Secondary / Hover Photo
@if($product->image_alt) {{ $product->name }} Hover @else No secondary photo @endif
Additional Gallery Photos
@php $gallery = is_array($product->gallery) ? $product->gallery : array_filter([$product->image, $product->image_alt]); @endphp @if(!empty($gallery))
@foreach($gallery as $gImg)
Gallery
@endforeach
@else

No extra gallery images uploaded.

@endif

Overview & Formulation Description

Short Tagline / Subtitle
{{ $product->tag ?: 'No tagline provided' }}
Full Description
{{ $product->description ?: 'No detailed description provided for this product.' }}
Created At
{{ $product->created_at ? $product->created_at->format('M d, Y h:i A') : '—' }}
Last Modified
{{ $product->updated_at ? $product->updated_at->format('M d, Y h:i A') : '—' }}

Product Variants & Inventory Breakdown

@forelse($product->variants as $var) @php $off = ($var->compare_at && $var->compare_at > $var->price) ? round((1 - $var->price / $var->compare_at) * 100) : null; @endphp @empty @endforelse
Variant Size SKU Code Selling Price (₹) MRP / Compare (₹) Discount Stock Units Inventory Status Default Option
{{ $var->name }} {{ $var->sku }} ₹{{ number_format($var->price, 2) }} @if($var->compare_at) ₹{{ number_format($var->compare_at, 2) }} @else @endif @if($off) Save {{ $off }}% @else @endif {{ $var->stock }} units @if($var->stock > 10) In Stock @elseif($var->stock > 0) Low Stock @else Out of Stock @endif @if($var->is_default) ✓ Default Variant @else @endif
Standard size variant only.

Search Engine Optimization (SEO) & Meta Data

Configured metadata for Google search results and social media embeds.

D https://divnedrops.com › product › {{ $product->slug }}
{{ $product->meta_title ?: ($product->name . ' — Divine Drops Luxury Skincare') }}
{{ $product->meta_description ?: ($product->description ?: 'Buy 100% natural Indian skincare online at Divine Drops. Free shipping on orders over ₹499.') }}
Meta Keywords
{{ $product->meta_keywords ?: 'Not set' }}
OpenGraph Social Title
{{ $product->og_title ?: 'Not set' }}
@endsection