@extends('dashboard.layouts.master') @section('title', 'Product Details') @section('content')

{{ $product->title }} Details

Product Thumbnail
@if($product->banner_image)

Banner Image

Banner Image @endif

Product Name: {{ $product->title }}

Sub Title: {{ $product->sub_title ?? 'N/A' }}

Categories: @if($product->categories->count()) @foreach($product->categories as $category) {{ $category->name }}@if(!$loop->last), @endif @endforeach @else N/A @endif

Category: {{ $product->category->name ?? 'N/A' }}

Display Price: Rs. {{ $product->display_price ?? 'N/A' }}

Selling Price: Rs. {{ $product->selling_price ?? 'N/A' }}

Cost Price: Rs. {{ $product->cost_price ?? 'N/A' }}

Weight: {{ $product->weight ?? 'N/A' }}

Description: {!! $product->description ?? 'N/A' !!}

Summary: {{ $product->summary ?? 'N/A' }}

Meta Title: {{ $product->meta_title ?? 'N/A' }}

Meta Description: {{ $product->meta_description ?? 'N/A' }}

Meta Keywords: @if(is_array($product->meta_keywords)) {{ implode(', ', $product->meta_keywords) }} @else {{ $product->meta_keywords ?? 'N/A' }} @endif

Created At: {{ $product->created_at->format('d M, Y h:i A') }}


Product Images ({{ $product->images->count() }})

@livewire('product-image', ['product' => $product])
@endsection