@extends('layouts.admin') @section('title', 'Wholesale Product Details') @section('content')
Product details and information
Thumbnail and gallery
Thumbnail
Gallery ({{ count(json_decode($wholesaleProduct->gallery)) }} images)
No images uploaded
General information
SKU
{{ $wholesaleProduct->sku ?? '—' }}
Barcode
{{ $wholesaleProduct->barcode ?? '—' }}
Unit
{{ $wholesaleProduct->unit ?? '—' }}
Base Price
{{ price($wholesaleProduct->price) }}
Min Order Qty
{{ number_format($wholesaleProduct->min_order_quantity) }} units
Created
{{ $wholesaleProduct->created_at->format('M d, Y') }}
Quantity-based discounts
| Min Quantity | Max Quantity | Price per Unit | Discount |
|---|---|---|---|
| {{ number_format($tier['min_qty'] ?? 0) }} | {{ $tier['max_qty'] ? number_format($tier['max_qty']) : '∞' }} | {{ price($tier['price']) }} | @if($discount > 0) -{{ $discount }}% @else — @endif |
Inventory and delivery
Current Stock
{{ number_format($wholesaleProduct->current_stock ?? 0) }}
Low Stock Alert
{{ number_format($wholesaleProduct->low_stock_threshold ?? 0) }}
Shipping Days
{{ $wholesaleProduct->shipping_days ? $wholesaleProduct->shipping_days . ' days' : '—' }}
Stock Visibility
{{ str_replace('_', ' ', $wholesaleProduct->stock_visibility ?? 'visible_with_quantity') }}
Product details
Short Description
{{ $wholesaleProduct->short_description }}
Full Description
{{ basename($wholesaleProduct->pdf_specification) }}
View PDF →Media content
{{ $wholesaleProduct->video_provider }}: {{ $wholesaleProduct->video_url }}
Search engine optimization
Meta Title
{{ $wholesaleProduct->meta_title }}
Meta Description
{{ $wholesaleProduct->meta_description }}
Meta Keywords
Created
{{ $wholesaleProduct->created_at->format('M d, Y h:i A') }}
{{ $wholesaleProduct->created_at->diffForHumans() }}
Last Updated
{{ $wholesaleProduct->updated_at->format('M d, Y h:i A') }}
{{ $wholesaleProduct->updated_at->diffForHumans() }}
Deleted
{{ $wholesaleProduct->deleted_at->format('M d, Y h:i A') }}