{{-- Variant group selectors --}} @if($groups->isNotEmpty())
@foreach($groups as $group)
@foreach($group->options as $option) @endforeach
@endforeach
@endif {{-- Dynamic price --}}
@if($this->product->is_on_sale && $this->product->sale_price && !$this->product->track_variant_price) {{ $currencySymbol }}{{ number_format($displayPrice, 2) }} {{ $currencySymbol }}{{ number_format((float) $this->product->price, 2) }} Sale @else {{ $currencySymbol }}{{ number_format($displayPrice, 2) }} @endif
{{-- Stock status (variant-aware) --}} @if($this->product->track_variant_inventory && $combo) @if($combo->units_in_stock > 0)

✓ In stock ({{ $combo->units_in_stock }} available)

@else

Out of stock for this combination

@endif @elseif($this->product->track_inventory) @if($this->product->units_in_stock > 0)

✓ In stock ({{ $this->product->units_in_stock }} available)

@else

Out of stock

@endif @endif {{-- Quantity + Add to cart --}}
{{-- Feedback message --}} @if($message)

{{ $message }}

@endif