{{__('Order Summary')}}

@php $free_shipping = DB::table('shipping_services')->whereStatus(1)->whereIsCondition(1)->first() @endphp @if ($free_shipping) @if ($free_shipping->minimum_price >= $cart_total)

{{ __('Free Shipping After Order') }} {{PriceHelper::setCurrencyPrice($free_shipping->minimum_price)}}

@endif @endif @if($tax != 0) @endif @if (DB::table('states')->count() > 0) @endif @if($discount) @endif @if($shipping) @endif
{{__('Cart subtotal')}}: {{PriceHelper::setCurrencyPrice($cart_total)}}
{{__('Estimated tax')}}: {{PriceHelper::setCurrencyPrice($tax)}}
{{__('State tax')}}: {{PriceHelper::setCurrencyPrice(Auth::check() && Auth::user()->state_id ? ($cart_total*Auth::user()->state->price/100 ): 0)}}
{{__('Coupon discount')}}: - {{PriceHelper::setCurrencyPrice($discount ? $discount['discount'] : 0)}}
{{__('Shipping')}}: {{PriceHelper::setCurrencyPrice($shipping ? $shipping->price : 0)}}
{{__('Order total')}} {{PriceHelper::setCurrencyPrice($grand_total)}}

{{__('Items In Your Cart')}}

@foreach ($cart as $key => $item)
Product

{{ Str::limit($item['name'], 45) }}

{{$item['qty']}} x {{PriceHelper::setCurrencyPrice($item['main_price'])}} @foreach ($item['attribute']['option_name'] as $optionkey => $option_name) {{$option_name}} : {{PriceHelper::setCurrencySign()}}{{$item['attribute']['option_price'][$optionkey]}} @endforeach
@php $rout = Request::segment(count(Request::segments())); @endphp @endforeach @if($rout == 'address') @elseif($rout == 'payment') @endif