@extends($_layout . 'master') @section('title', $page_title) @include($_lib . 'register-meta') @section('content')
@if ($cart && $cart->details && count($cart->details))

{{ $page_title }}

@if ($e = session('warning_message'))
{{ $e }}
@endif
@csrf
  • icon-delivery-truck Miễn phí giao hàng
  • icon-hand-cart Đổi trả trong vòng 15 ngày
icon-sale Mua thêm 151.000đ để nhận FREESHIP và 1 voucher
200k cho lần mua tiếp theo
Xem thêm

Sản phẩm

@foreach ($cart->details as $item)

{{ $item->product_name }}

@if ($item->attributes && count($item->attributes)) @foreach ($item->attributes as $attr) {{ $attr->text }} @if (!$loop->last) / @endif @endforeach @endif

{{-- @if ($item->has_promo)

{{$item->getPriceFormat('total_list')}}

@endif --}}

{{ $item->getPriceFormat('final') }}

{{ $item->getPriceFormat('total') }}

@if ($item->attributes && count($item->attributes)) @foreach ($item->attributes as $attr) {{ $attr->text }} @if (!$loop->last) / @endif @endforeach @endif

@if ($item->attributes && count($item->attributes)) @foreach ($item->attributes as $attr) @if (($itemOption = $item->getOrderOption($attr->name)) && $itemOption->values)
@endif @endforeach @endif
@endforeach

Thông tin thanh toán

@csrf
@php $form = $cart->getForm([ 'className' => 'form-control', ]); $info = $form->get('billing_name', 'billing_phone_number', 'billing_email', 'billing_region_id', 'billing_district_id', 'billing_ward_id', 'billing_address'); $shipping = $form->get('shipping_name', 'shipping_email', 'shipping_phone_number', 'shipping_region_id', 'shipping_district_id', 'shipping_ward_id', 'shipping_address'); @endphp
@foreach ($info as $input) @if ($input->type=='hidden') {!! $input !!} @else
{{-- --}}
{!! $input !!}
@if ($input->error)
{{ $input->error }}
@endif
@endif @endforeach
{!! $form->note !!}
@if (($user = $request->user()) && count($coupons = app(\App\Repositories\Promos\PromoRepository::class)->getUserAvailablePromos($user->id))) @foreach ($coupons as $coupon)
{{ $coupon->code }} (còn {{ $coupon->total - $coupon->usage }})
{{ $coupon->getDownTotalFLabel() }}
@endforeach @endif

Hóa đơn

Tạm tính {{ $helper->getCurrencyFormat($cart->sub_total) }}
Khuyến mãi Chưa có
Tổng thành tiền {{ $helper->getCurrencyFormat($cart->total_money) }}

Hình thức thanh toán

@if (count($methods = $helper->getPaymentMethodOptions()))