@extends('frontend.layouts.main') @section('title', 'Trang chủ') @section('css') @endsection @section('content')
@csrf

Giỏ hàng của bạn

@include('frontend.components.cart-component',[ ])

Thông Tin Nhận Hàng

@guest
@error('city_id')
{{ $message }}
@enderror
@error('district_id')
{{ $message }}
@enderror
@error('commune_id')
{{ $message }}
@enderror
@else
@if(Auth::guard('web')->check()) @php $address = Auth::guard()->user()->addressOfUser->where('default_address', 1)->first() @endphp
{{ $address->name }}
{{ $address->phone }}
{{ $address->email }}
{{ $address->address_detail }} , {{ $address->commune->name }}, {{ $address->district->name }}, {{ $address->city->name }}
Thay đổi
@endif
@endguest
{{--

Thông Tin Quà Tặng

*Hóa đơn của đơn hàng này sẽ không in giá.
--}} @if($htgh)

{{ $htgh->name }}

@endif

Phương Thức Thanh Toán

@if (isset($thanhtoan)&&$thanhtoan) @foreach ($thanhtoan->childs()->orderby('order')->orderByDesc('created_at')->get() as $item) @if($loop->first)
@else
@endif @endforeach @endif

Mã Giảm Giá

{{--
Chọn hoặc nhập mã giảm giá
--}}
Tạm tính:
{{ number_format($totalPrice ,0,',','.') }}đ
{{--
Chiết khấu:
0đ
Vận chuyển:
Vui lòng nhập địa chỉ
Phụ phí:
+30.000đ
Điểm tích lũy:
11.200
--}}
Tiền phải trả:
{{ number_format($totalPrice,0,',','.') }}đ
{{--
Khách hàng của chúng tôi đánh giá
4.5 / 5 dựa trên 247 lượt đánh giá trên Đánh giá của khách hàng trên Google

Báo lỗi Bạn không đặt được hàng? Hãy thông báo ngay cho chúng tôi.

--}}
@endsection @section('js') @endsection