@extends('layouts.app') @section('title', $product->name) @section('meta_description', \Illuminate\Support\Str::limit(strip_tags($product->short_description ?: $product->description ?: $product->name), 155)) @php $price = $campaign ? (float) $campaign->pivot->campaign_price : (float) $product->price; $regular = $campaign ? (float) ($product->old_price ?: $product->price) : ($product->old_price ? (float) $product->old_price : null); $off = $regular ? (int) round((1 - $price / $regular) * 100) : 0; $stars = (int) round($product->rating); @endphp @section('content')
{{-- gallery --}} {{-- info --}}
@if ($product->brand) {{ $product->brand->name }} @endif

{{ $product->name }}

{{ str_repeat('★', $stars) }}{{ str_repeat('☆', 5 - $stars) }} {{ $product->rating }} ({{ $product->reviews_count }} āϰāĻŋāĻ­āĻŋāω) @if ($product->sku)¡SKU: {{ $product->sku }}@endif
@if ($campaign) {{ $campaign->icon ?: 'đŸ”Ĩ' }} {{ $campaign->title }} āĻļ⧇āώ āĻšāĻŦ⧇ @endif
ā§ŗ{{ number_format($price) }} @if ($regular)ā§ŗ{{ number_format($regular) }}ā§ŗ{{ number_format($regular - $price) }} āϏāĻžāĻļā§āϰāϝāĻŧ@endif
{{ $product->in_stock ? ($product->stock < 10 ? "âš ī¸ āĻŽāĻžāĻ¤ā§āϰ {$product->stock}āϟāĻŋ āĻŦāĻžāĻ•āĻŋ" : '✓ āĻ¸ā§āϟāϕ⧇ āφāϛ⧇') : '✕ āĻ¸ā§āϟāĻ• āĻļ⧇āώ' }}
@if ($product->short_description)

{{ $product->short_description }}

@endif
@if ($product->weight)
āĻ“āϜāύ
{{ $product->weight }}
@endif @if ($product->fabric)
āĻ•āĻžāĻĒāĻĄāĻŧ
{{ $product->fabric }}
@endif @if ($product->category)
āĻ•ā§āϝāĻžāϟāĻžāĻ—āϰāĻŋ
{{ $product->category->name }}
@endif
@if ($product->sizes)
Size:
@foreach ($product->sizes as $i => $s) @endforeach
@endif @if ($product->colors)
Color:
@foreach ($product->colors as $i => $c) @endforeach
@endif @if ($product->in_stock)
@else @endif @php $wa = \App\Models\Setting::get('whatsapp'); @endphp @if ($wa) name} — ā§ŗ".number_format($price)."\n".route('product.show', $product)) }}" class="btn pd-wa" target="_blank" rel="noopener"> WhatsApp-āĻ āĻ…āĻ°ā§āĻĄāĻžāϰ āĻ•āϰ⧁āύ @endif
🚚āĻĸāĻžāĻ•āĻžāϝāĻŧ ā§§-⧍ āĻĻāĻŋāύ, āĻŦāĻžāχāϰ⧇ ā§Š-ā§Ģ āĻĻāĻŋāύ
đŸ’ĩāĻ•ā§āϝāĻžāĻļ āĻ…āύ āĻĄā§‡āϞāĻŋāĻ­āĻžāϰāĻŋ
â†Šī¸ā§­ āĻĻāĻŋāύ⧇āϰ āϏāĻšāϜ āϰāĻŋāϟāĻžāĻ°ā§āύ
âœ…ā§§ā§Ļā§Ļ% āĻ…āϰāĻŋāϜāĻŋāύāĻžāϞ āĻĒāĻŖā§āϝ
{{-- description --}}

āĻĒāĻŖā§āϝ⧇āϰ āĻŦāĻŋāĻŦāϰāĻŖ

@if ($product->description) {!! nl2br(e($product->description)) !!} @else

{{ $product->name }} — {{ \App\Models\Setting::siteName() }} āĻĨ⧇āϕ⧇ āύāĻŋāĻļā§āϚāĻŋāĻ¨ā§āϤ⧇ āĻ•āĻŋāύ⧁āύāĨ¤ āĻŽāĻžāύāϏāĻŽā§āĻŽāϤ āĻĒāĻŖā§āϝ, āϏāĻ āĻŋāĻ• āĻĻāĻžāĻŽā§‡, āφāĻĒāύāĻžāϰ āĻĻā§‹āϰāĻ—ā§‹āĻĄāĻŧāĻžāϝāĻŧāĨ¤

@endif
@if ($related->isNotEmpty())

āĻāĻ•āχ āϰāĻ•āĻŽ āĻĒāĻŖā§āϝ

@if ($product->category)View All →@endif
@endif @endsection @push('scripts') @endpush