bigpizza

{{ $item->name }}

{{ $item->description }}
@if($item->how_spicy > 0)
{{ __('front_site.how_spicy') }} howSpicy
@endif

@php // $defaultRemoved = ''; $defaultRemoved =[]; $maxSelectRemove=$minSelectRemove=""; @endphp @if(count($removedIngredients) > 0) @php $removed = array_column($removedIngredients, 'sort'); array_multisort($removed, SORT_ASC, $removedIngredients); // ksort($removed); @endphp @foreach($removedIngredients as $ing) @if($ing['is_default'] == 0) @php array_push($defaultRemoved,$ing['id']); //$defaultRemoved .= ($ing['is_default'] == 0) ? $ing['id'].',' : ''; @endphp @endif @php $maxSelectRemove=$ing['max_select']; $minSelectRemove=$ing['min_select']; @endphp {{ $ing['name'] }} , @endforeach @endif

@php $totalExtraPrice=$extraIds=$itemPrice=0; $itemPrice=$item['offer_price']; $maxSelectExtra =""; $minSelectExtra =""; @endphp @if(is_object($variations) && count($variations) > 0)
@foreach($variations as $key => $detail) @if($key == 0) @php $sVariationId = $detail->id; $itemPrice = $detail->offer_price; @endphp @endif

{{ $detail->options }}

tick
@endforeach
@endif @php $extraIds=[]; $addedExtra = ""; $totalExtraPrice = 0; @endphp @if(count($extraIngredients) > 0) @php $extraCount = count($extraIngredients); @endphp @foreach($extraIngredients as $detail) @php $groupName = $detail['group_name']; $maxSelectExtra = $detail['max_select']; $minSelectExtra = $detail['min_select']; @endphp @if($detail['is_default'] == 1) @php // $extraIds .= $detail['id'].','; array_push($extraIds,$detail['id']); $addedExtra .= '+'.trim($detail['name']).', '; $totalExtraPrice += $detail['price']; @endphp @endif @endforeach

{{ rtrim($addedExtra , ', ') }}

@if(in_array(2, $design)) {{-- means selection based extra items --}}
@foreach($extraIngredients as $detail)

{{ $detail['name'] }}
{{ $detail['price_comma'] }}

tick
@endforeach
@endif @if(in_array(3, $design)) {{-- means design with image extra items --}}
{{ $groupName }}
@foreach($extraIngredients as $detail)

s1

{{ $detail['name'] }}

{{ $detail['price_comma'] }} @if($detail['is_default'] == 0) @else @endif

@endforeach
@endif @endif {{ csrf_field() }}
@if(isset($isDeal) && $isDeal==1) @else @endif