@extends('front.v2.partials.master') @section('content') @php $locale = app()->getLocale(); $description = $locale . '_description'; $withImageDesign = (getField('remove_extra_style') != 2); @endphp
@php $itemPrice = $item->offer_price; $activatedMeny = isSpecialPrices(storeId(),true); if($item->data_json != ""){ $checkPrice = getSpecialPrice($item->store_id,$item->data_json,0,0,$activatedMeny); if($checkPrice != null){ $itemPrice = $checkPrice; } } $maxSelectRemove = $minSelectRemove = ''; $maxSelectExtra = ''; $minSelectExtra = ''; $skipVariationType = !empty($item->globalItem->skip_variation_types) ? explode(',', $item->globalItem->skip_variation_types) : []; @endphp
{!! Form::open([ 'route' => 'front.v2.add-to-cart', 'method' => 'POST', 'id' => 'add_cart', 'autocomplete' => 'off', ]) !!}
@if (isset($itemOfferDiscount) && $itemOfferDiscount > 0)
{{ (int) $itemOfferDiscount . '% OFF' }}
@endif
@if ($item->how_spicy > 0) @endif
  • {!! $item->name !!}

  • @if (isset($product) && $product == 'reward') @else @endif

{!! $item->description !!}

@php $masterVariationId = 0; $selectedExtraPrice = 0; $preSelectedExtra = []; @endphp @if (count($variations) > 0)
{!! __('v2/front_site.variation_size') !!}
  • @foreach ($variations as $key => $variation)