@extends('layouts.admin') @section('content')

🔀 {{ $item->name }} - Variants

{{ $vendor->vendor_name }} • {{ $item->bizspotMainCategory->name }} • Base Price: {{ $item->formatted_price }}

Back to Items Edit Item
{{ $item->name }}

{{ $item->description }}

@if($item->dietary_badges && is_array($item->dietary_badges) && count($item->dietary_badges) > 0)
@foreach($item->dietary_badges as $badge) {{ $badge['icon'] }} {{ $badge['text'] }} @endforeach
@endif
{{ $item->formatted_price }}
Base Price
@if(session('success')) @endif @if(session('error')) @endif
Item Variants
@if($variants->count() > 0) @foreach($variants as $type => $variantGroup)
{{ ucfirst(str_replace('_', ' ', $type)) }} {{ $variantGroup->count() }}
@foreach($variantGroup as $variant) @endforeach
Name Price Modifier Final Price Status Order Actions
{{ $variant->name }} @if($variant->description)
{{ $variant->description }} @endif
{{ $variant->price_modifier_display }} {{ $variant->formatted_final_price }} @if($variant->is_available) Available @else Unavailable @endif {{ $variant->sort_order }}
@csrf @method('DELETE')
@endforeach
Total Variants
{{ $variants->flatten()->count() }}
Available
{{ $variants->flatten()->where('is_available', true)->count() }}
Variant Types
{{ $variants->count() }}
Price Range
{{ $item->price_range }}
@else
No Variants for {{ $item->name }}

Add variants like sizes, spice levels, or cooking styles to give customers more options.

@endif
@if($commonVariants && count($commonVariants) > 0)
💡 Quick Add - Common Variants

Click to quickly add popular food service variants:

@foreach($commonVariants as $common)
@endforeach
@endif
@section('scripts') @endsection @endsection