@php $currency = app(\App\Support\AppSettings::class)->get('currency', 'USD'); $stock = (int) $product->stock; $imageUrl = $product->image_path ? (Str::startsWith($product->image_path, ['http://', 'https://']) ? $product->image_path : asset($product->image_path)) : null; $galleryImages = collect(); if ($imageUrl) { $galleryImages->push(['url' => $imageUrl, 'alt' => $product->brand_name]); } foreach ($product->images as $image) { $galleryImages->push(['url' => asset($image->image_path), 'alt' => $image->alt_text ?: $product->brand_name]); } @endphp
@if ($galleryImages->isNotEmpty()) {{ $galleryImages->first()['alt'] }} @else
@endif Signal quality
@if ($galleryImages->count() > 1)
@foreach ($galleryImages as $image) @endforeach
@endif

{{ $product->medicine?->category }}

{{ $product->brand_name }}

{{ $product->medicine?->generic_name }} {{ $product->medicine?->strength }}

{{ $currency }} {{ number_format((float) $product->price, 2) }}

{{ $stock <= 5 ? 'Only '.$stock.' left in stock' : 'In stock - ready to ship' }}
@if ($product->description)

{{ $product->description }}

@endif
@csrf
@foreach ([ ['Product line', $product->medicine?->generic_name], ['Variant', $product->medicine?->strength ?: '-'], ['Pack size', $product->medicine?->pack_size ?: '-'], ['Unit', $product->medicine?->unit ?: '-'], ['Brand', $product->manufacturer ?: 'Signal Health Group'], ['Care', $product->medicine?->storage_requirement ?: 'Easy-care fabric'], ] as [$label, $value])
{{ $label }}
{{ $value }}
@endforeach
International shipment 30 days warranty Secure checkout
@if ($related->isNotEmpty())

Related products

@foreach ($related as $product) @include('store.partials.product-card', ['product' => $product]) @endforeach
@endif