@extends('index') @section('content')

{{__('custom.確認訂單')}}

1

{{__('custom.購物車')}}

2

{{__('custom.填寫資料')}}

3

{{__('custom.確認訂單')}}

{{__('custom.確認訂單')}}

{{__('custom.商品資料')}}
{{__('custom.單價')}}
{{__('custom.數量')}}
@if (count($checkoutCartListData) > 0 && count($checkoutCartListData['checkoutData']) > 0 && count($checkoutCartListData['products']) > 0) @foreach ($checkoutCartListData['products'] as $productInfo) @if (isset($checkoutCartListData['checkoutData'][$productInfo['product_id']]))
{{$productInfo['product_name']}}
{{$productInfo['product_name']}}({{$productInfo['product_qty']}})
$NT. {{number_format($productInfo['product_price'])}}
{{$productInfo['product_qty']}}
@endif @endforeach @endif @foreach ($checkoutCartListData['gifts'] as $giftInfo)
{{$giftInfo['gift_name']}}(1)
$NT. 0
1
@endforeach

{{__('custom.訂單小計')}}

{{__('custom.結帳金額')}}

{{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{__('custom.小計')}} NT$ {{number_format($checkoutCartListData['total_detail']['product_total_price'])}}
{{__('custom.優惠碼折扣')}} - NT ${{number_format($checkoutCartListData['total_detail']['coupon_price'])}}
{{__('custom.優惠活動折扣')}} - NT ${{number_format($checkoutCartListData['total_detail']['preferential_price'])}}
紅利折扣- NT $1,240
{{__('custom.運費')}} {{number_format($checkoutCartListData['total_detail']['freight_price']) ?: __('custom.免運')}}
{{__('custom.合計')}} NT$ {{number_format($checkoutCartListData['total_detail']['total_price'])}}

{{__('custom.訂單資料')}}

{{__('custom.姓名')}} {{$orderConfirmData['purchase_name']}}
{{__('custom.行動電話')}} {{$orderConfirmData['purchase_phone']}}
{{__('custom.市話')}} {{$orderConfirmData['purchase_tel']}}
{{__('custom.地址')}} {{$orderConfirmData['purchase_city'] . $orderConfirmData['purchase_county'] . $orderConfirmData['purchase_address']}}

{{__('custom.收件人資料')}}

{{__('custom.姓名')}} {{$orderConfirmData['receive_name']}}
{{__('custom.行動電話')}} {{$orderConfirmData['receive_phone']}}
{{__('custom.市話')}} {{$orderConfirmData['receive_tel']}}
{{__('custom.地址')}} {{$orderConfirmData['receive_city'] . $orderConfirmData['receive_county'] . $orderConfirmData['receive_address']}}

{{__('custom.發票相關')}}

{{__('custom.發票款式')}} {{$orderConfirmData['invoice_type'] == 1 ? trans('checkout.duplicate') : trans('checkout.triplicate')}}
{{__('custom.寄送方式')}} {{$orderConfirmData['send_invoice_address'] == 'send_receive_address' ? trans('checkout.send_with_product') : $orderConfirmData['other_address']}}

{{__('custom.付款方式')}}

{{__('custom.付款方式')}} {{trans('payment.'.$orderConfirmData['payment_mode'])}}

{{__('custom.訂單備註')}}

{!! $orderConfirmData['order_remark'] !!}

@csrf @foreach($orderConfirmData as $name => $value) @endforeach {{-- 2023-01-19 更新支付方 --}} @if (request()->input('isNewebpay') == 1) @endif
@endsection @section('javascript') @endsection