@extends('layouts.app') @section('content')
@php $images = []; if (!empty($diamond->images)) { $decoded = json_decode($diamond->images, true); if (is_array($decoded)) { $images = $decoded; } else { $images = [$diamond->images]; } } if (empty($images)) $images = ['default-placeholder.png']; $mainImg = str_starts_with($images[0], 'http') ? $images[0] : asset('assets/images/product/' . trim($images[0])); @endphp

{{ $diamond->item_name }}

5.0 ★★★★★ (27)
@php $rawPrice = $diamond->price ?? '0'; $cleanPrice = str_replace(',', '', $rawPrice); if (is_numeric($cleanPrice)) { $parts = explode('.', number_format((float)$cleanPrice, 2)); $dollars = $parts[0]; $cents = $parts[1] ?? '00'; } else { $dollars = $rawPrice; $cents = ''; } @endphp
${{ $dollars }}@if($cents){{ $cents }}@endif
FREE Returns v
✔ Save 25% at checkout Shop items >
@php $allShapes = \App\Models\Diamond::select('stone_type')->distinct()->pluck('stone_type')->filter(); $caratsForCurrentShape = \App\Models\Diamond::where('stone_type', $diamond->stone_type)->get()->unique('carat')->sortBy(function($item) { return (float) $item->carat; }); @endphp Style: {{ $diamond->stone_type ?? 'Round' }}
@foreach($allShapes as $shape) @php $targetForShape = \App\Models\Diamond::where('stone_type', $shape)->where('carat', $diamond->carat)->first(); if (!$targetForShape) { $targetForShape = \App\Models\Diamond::where('stone_type', $shape)->first(); } if (!$targetForShape) continue; @endphp {{ $shape }} @endforeach
Size: {{ $diamond->carat ?? '1' }} Carat TW

Product details

Top highlights ^

Material Stone
Metal type No metal type
Gem type Lab grown diamond
Stone clarity VVS-VS
Stone color D-E
Stone cut {{ $diamond->stone_type ?? 'Round' }}

About this item

@php $desc = $diamond->item_description ?? ''; // Split by typical bullet points if present, else just display if (str_contains($desc, '•') || str_contains($desc, '- ')) { $descHtml = '
    '; $points = preg_split('/(•|- )/', $desc); foreach($points as $point) { if(trim($point) != '') { $descHtml .= '
  • ' . trim($point) . '
  • '; } } $descHtml .= '
'; echo $descHtml; } else { // Fallback text if description is too simple echo '
  • ' . (empty(trim($desc)) ? 'Item Details:- IGI Certified Precision cut loose Lab Grown Diamond of VVS-VS Clarity.' : nl2br(e($desc))) . '
  • Ideal Lab Grown loose Diamond for making a flawless piece of ring, earrings, pendant-necklace, bracelet or any precious jewelry for your wedding, engagement, anniversary or any special occasion.
  • Lab grown diamonds are immensely more affordable than mined diamonds, as they do not require destructive and costly earth moving mining operations.
'; } @endphp
${{ $dollars }}@if($cents){{ $cents }}@endif
FREE delivery Wednesday, August 5
Deliver to New York 10036
In Stock
@csrf
Ships from Arjoni
Sold by Arjoni
Returns FREE 30-day refund/replacement
Payment Secure transaction
@endsection