{!! Form::open([ 'route' => 'front.d1.add-to-cart', 'method' => 'POST', 'id' => 'add_to_cart', 'class' =>'sticky_form', 'autocomplete' => 'off', ]) !!} @php $masterVariationId = 0; @endphp
@if ($item->featured_image !="")
@endif

{!! $item->name !!}

{!! (isset($product) && $product == 'reward') ? $item->reward_points ." ". __('v2/front_site.item_points'): numberFormat($item->offer_price) !!}

{!! $item->description !!}

@if (count($variations) > 0)

{!! __('v2/front_site.variation_size') !!} 1 {!! __('v2/front_site.required') !!}

{!! __('v2/front_site.select') !!} 1

@foreach ($variations as $key => $variation)

@endforeach
@endif @if (count($variationTypes) > 0 && showVariationType($item->category_id)) @php $vCount = 0; @endphp

{!! __('v2/front_site.variation_type') !!} 1 {!! __('v2/front_site.required') !!}

{!! __('v2/front_site.select') !!} 1

@php $vCount = 0; @endphp @foreach ($variationTypes as $vkey => $variationT)

@php $vCount++ @endphp @endforeach
@endif @if(count($extraAndRemoved) > 0) @foreach($extraAndRemoved as $er) @if(isset($er['extra']) && count($er['extra']) > 0 && !isset($product)) @php $extraIngredients = $er['extra']; @endphp

{!! __('v2/front_site.extra') !!}

{!! __('v2/front_site.select') !!} @if($extraIngredients[0]['max_select'] > 0) {!! __('v2/front_site.max') ." ". $extraIngredients[0]['max_select'] !!} @endif @if($extraIngredients[0]['min_select'] > 0) {!! __('v2/front_site.min') ." ". $extraIngredients[0]['min_select'] !!} @endif

@foreach ($globalExtraCategory as $key => $extraCategories)

{!! $extraCategories['name'] !!}

@foreach ($extraIngredients as $eKey => $extra) @if($extra['category_id'] == $extraCategories['id'])