@extends('layouts.app') @section('title', 'Product Details - ' . $product->name) @section('page-title', $product->name) @section('breadcrumb') Dashboard Products @endsection @section('content')
{!! nl2br(e($product->description ?? 'No description available.')) !!}
Currency: {{ strtoupper($product->pricing->currency) }}
@if($product->pricing->pricing_type === 'recurring')৳ {{ number_format($product->pricing->one_time_price ?? 0, 2) }}
@elseFree
@endif @elseNo pricing information available.
@endifNo features listed.
@endifTrack Stock: @if($product->stock->track_stock) Yes @else No @endif
@if($product->stock->track_stock)Stock Quantity: {{ $product->stock->stock_quantity }}
Low Stock Threshold: {{ $product->stock->low_stock_threshold }}
Allow Backorders: @if($product->stock->allow_backorders) Yes @else No @endif
@endif @elseNo stock information available.
@endifMeta Title: {{ $product->meta_title ?? '-' }}
Meta Description: {{ $product->meta_description ?? '-' }}
URL Slug: {{ $product->url_slug }}
Created at: {{ $product->created_at->format('d M, Y H:i') }}
Last updated: {{ $product->updated_at->format('d M, Y H:i') }}