@if($prices==0) @php $taxremove=0; $taxremoves=0; @endphp @endif {{numberFormat( $prices-$taxremove)}}
@else{{numberFormat( $cart['sub_total'])}}
@endif@if($prices==0) @php $taxremove=0;@endphp @else @php $taxremove=$cart['total_tax'];@endphp @endif {{numberFormat( $taxremove)}}
@else{{numberFormat( $cart['total_tax'])}}
@endif{{ ($promo_value > 0) ? ' - ' : '' }} {{ numberFormat($promo_value) }}
{{ ($roundOff < 0) ? ' - ' : '' }}{{numberFormat(abs($roundOff))}}
{{numberFormat($total)}}
{{ __('front_site.product') }} | {{ __('front_site.qty_price') }} | {{ __('front_site.total_price') }} | |
---|---|---|---|
@php
$halfPizzaData=[];
@endphp
@if($item['is_half']==1)
![]() |
@if($item['is_half']==1 && !empty($halfPizzaData))
{{ $halfPizzaData[0]->item_name ." + ".$halfPizzaData[1]->item_name}}
@else
{{ $item['name'] }}
@if(($item['variation_name'] !=""))
- {{ $item['variation_name']}}
@endif
@endif
@if($item['extra_ing']!="")
@php
$selectedExtraIds=explode(',',$item['extra_ingredient_ids']);
@endphp
{{ __('orders.add') }}: @foreach($extraItems as $key => $value) @if(in_array($value['id'],$selectedExtraIds)) {{ $value['name'] }} @endif @endforeach @endif @if(!empty($item['remove_ing'])) {{ __('orders.remove') }}: {{$item['remove_ing']}} @endif @if($item['is_half']==1 && !empty($halfPizzaData) && ($halfPizzaData[0]->removed_ing_id !='' || $halfPizzaData[1]->removed_ing_id !='')) {{ __('orders.remove') . "(". $halfPizzaData[0]->item_name .")" }}: {{$halfPizzaData[0]->removed_ing}} {{ __('orders.remove') ."(". $halfPizzaData[1]->item_name .")"}}: {{$halfPizzaData[1]->removed_ing}} @endif @if ($item['is_half'] == "1") {{ __('front_site.half_pizza') }} @endif @if($item['is_offer_item'] ==1 && $item['item_json'] !="") @php $offerItems=json_decode($item['item_json']); $i=0; @endphp @foreach ($offerItems as $oItem) • {{ $oItem->item_name }} @if($oItem->variation_name !="") - {{$oItem->variation_name }} @endif @if($oItem->extra_name !="") {{ __('orders.add') }}: {{ $oItem->extra_name }} @endif @endforeach @endif @if($free) @foreach ($free as $key=>$frees) @if(in_array($item['item_id'], $arr1) && $key==$item['category_id']) {{$frees['msg']}} @endif @endforeach @endif |
@if($free)
@if(in_array($item['item_id'], $arr1))
@foreach ($free as $key=>$frees)
@if($key==$item['category_id'])
@php
$item_price=($item['variation_id'] >0)?$item['variation_price']:$item['price'];
$freeprice=$item_price*$frees['free_qun'];
$pricess+= ($item_price*$item['quantity'])-$freeprice;
$taxremoves+= numberFormat($item['tax_amount'], false, false);
$itemTotalPrice = ($item_price * $item['quantity'])-$freeprice;
@endphp
{{ numberFormat($item_price) .' x '. $item['quantity'] . " = " . numberFormat($itemTotalPrice)}}
@endif
@endforeach
@else
@php
$itemTotalPrice = $item_price * $item['quantity'];
@endphp
{{ numberFormat($item_price) .' x '. $item['quantity'] . " = " . numberFormat($itemTotalPrice)}}
@endif
@else
@php
$itemTotalPrice = $item_price * $item['quantity'];
@endphp
{{ numberFormat($item_price) .' x '. $item['quantity'] . " = " . numberFormat($itemTotalPrice)}}
@endif
@if ($item['extra_ing']!="") @foreach($extraItems as $key => $value) @php /* variation wise extra prices applied @author Pardeep 28/03/2023 2:04 PM */ foreach($value['item_variations'] as $iv) { if($iv['id'] == $variationMasterId) { $value['price'] = $iv['price']; } } @endphp @if(in_array($value['id'],$selectedExtraIds)) {{ numberFormat($value['price']) ." x ".$item['quantity'] ." = ". numberFormat($value['price']*$item['quantity'])}} @endif @endforeach @endif @if($item['is_offer_item'] ==1 && $item['extra_ingredient_price'] !="") {{ numberFormat($item['extra_ingredient_price']) ." x ".$item['quantity'] ." = ". numberFormat($item['extra_ingredient_price']*$item['quantity'])}} @endif |
@if($free) @if(in_array($item['item_id'], $arr1)) @foreach ($free as $key=>$frees) @if($key==$item['category_id']) @php $item_price=($item['variation_id'] >0)?$item['variation_price']:$item['price']; $freeprice=$item_price*$frees['free_qun']; $pricess+= ($item_price*$item['quantity'])-$freeprice; $taxremoves+= numberFormat($item['tax_amount'], false, false); $itemTotalPrice = ($item_price * $item['quantity'])-$freeprice; @endphp {{numberFormat($itemTotalPrice)}} @endif @endforeach @else @php $itemTotalPrice = $item_price * $item['quantity']; @endphp {{ numberFormat($item['total_price'])}} @endif @else @php $itemTotalPrice = $item_price * $item['quantity']; @endphp {{ numberFormat($item['total_price'])}} @endif |
@if($pricess==0) @php $taxremoves=0;@endphp @else @php $taxremove=$cart['total_tax'];@endphp @endif {{numberFormat( $taxremove)}}
@else{{numberFormat( $cart['total_tax'])}}
@endif@if($storeInfo->is_delivery_avail==1) {{ numberFormat($storeInfo->delivery_fee)}} @else {{numberFormat('0.00')}} @endif
{{ ($promo_value > 0) ? ' - ' : '' }} {{ numberFormat($promo_value) }}
{{ ($roundOff < 0) ? ' - ' : '' }}{{numberFormat(abs($roundOff))}}
{{ numberFormat($total_price_with_tax) }}