@extends('layouts.modern') @section('title', $product->meta_title ?? $product->name . ' - ' . setting('store_name')) @section('content')
@if($product->images->isEmpty()) @endif
@if($product->price_was) Sale @endif @if($product->is_featured) Featured @endif
@if($product->images->count() > 1)
@foreach($product->images as $img) @endforeach
@endif

{{ $product->category->name ?? 'Collection' }}

{{ $product->name }}

@if($product->price_was) Rp {{ number_format($product->price_was, 0, ',', '.') }} @endif
@if($product->variants->isNotEmpty())

Select Variant

@foreach($product->variants as $variant) @endforeach
@endif

Quantity

units available

Information.

{!! $product->description !!}
@push('scripts') @endpush @endsection