@extends('front.layouts.main') @section('content')
  • Cart
  • Delivery type
  • Address
Cart

MY CART

@if(count($data['data']) > 0)
@foreach($data['data'] as $key => $product)
{{$product['jsonData']['data']['orderItemDetail']['productName']}}
{{$product['orderItemId']}}
{{config('constants.CURRENCY_SYMBOL'). $product['subTotal']}}
@endforeach
SUB TOTAL : {{$data['totalPrice']}}
DELIVERY FEE : {{$data['deliveryFee']}}
VAT {{config('constants.VAT_PERCENTAGE')}}% : {{$data['totalPrice'] * (config('constants.VAT_PERCENTAGE')/100)}}
TOTAL : {{$data['totalPrice'] + $data['deliveryFee']+$data['totalPrice'] * (config('constants.VAT_PERCENTAGE')/100)}}

@if(session()->has('id')) @endif
@if(session()->has('id')) @else @endif
@else

CART IS EMPTY!

@endif
@if(count($data2['products']) > 0) @else @endif @if(session()->has('id')) @endif @endsection @section('js')