@extends('layouts.app') @php $ogProductImage = $product->getPrimaryImage(); if ($ogProductImage && !filter_var($ogProductImage, FILTER_VALIDATE_URL)) { $ogProductImage = url($ogProductImage); } @endphp @section('meta_title', $product->name . ' - Buy Online at Gletra') @section('meta_description', Str::limit(strip_tags($product->description), 160)) @section('meta_image', $ogProductImage) @push('styles') @endpush @push('scripts') @include('partials.product-share') @endpush @section('content')
@if($product->category) {{ $product->category->name }} @endif

{{ $product->name }}

{{ number_format($product->reviews->avg('rating') ?? 4.2, 1) }}
{{ $product->reviews->count() }} Verified Ratings | SKU: {{ $product->sku ?? 'N/A' }}
₹{{ number_format($product->sale_price ?? $product->price, 0) }} @if($product->sale_price && $product->price > $product->sale_price) ₹{{ number_format($product->price, 0) }} -{{ round((($product->price - $product->sale_price) / $product->price) * 100) }}% OFF @endif
Free Express Delivery
Special Product Offers

Bank Offer

5% Cashback on Axis Bank

Warranty

1 Year Brand Warranty

@if($product->stock_qty > 0)
@csrf @if($product->variants->count() > 0)
@foreach($product->variants as $variant) first ? 'checked' : '' }}> @endforeach
@endif
{{ $product->stock_qty }} Units available
@csrf
@if($product->vendor && $product->vendor->user_id != auth()->id()) Chat with Seller @endif
@else
Currently Unavailable
@endif
Complete Description
{{ $product->description }}
Technical Details
Product Name {{ $product->name }}
Brand {{ $product->brand ? $product->brand->name : 'Gletra Originals' }}
Category {{ $product->category ? $product->category->name : 'General' }}
Item SKU {{ $product->sku ?? 'GLETRA-'.strtoupper(Str::random(6)) }}
User Testimonials
@forelse($product->reviews as $review)
{{ $review->rating }}
{{ $review->user->name }} {{ $review->created_at->format('M d, Y') }}

{{ $review->review }}

@empty

No reviews for this product yet.

@endforelse
Rate this Product
@auth
@csrf
@else

Please sign in to share your feedback.

Login Now
@endauth

Recommended for You

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