...

{{ __("checkout.your_cart") }}

{!! trans_choice("checkout.num_cart_items", count($cartItems), ['num' => count($cartItems)]) !!}

{{ __("checkout.billing_address") }}

@if ($billingProfiles->isNotEmpty()) @foreach ($billingProfiles as $profile)
{{ $profile->name }}

{{ $profile->street }}, {{ $profile->city }}, {{ $profile->province }}

@endforeach @else

{!! __("checkout.no_billing_address", ['route' => route('address.create', ['billing'])]) !!}

@endif

{{ __("checkout.shipping_address") }}

@if ($shippingProfiles->isNotEmpty()) @foreach ($shippingProfiles as $profile)
{{ $profile->name }}

{{ $profile->street }}, {{ $profile->city }}, {{ $profile->province }}

@endforeach @else

{!! __("checkout.no_shipping_address", ['route' => route('address.create', ['shipping'])]) !!}

@endif

{{ __("checkout.your_order") }}

{{ __("checkout.subtotal") }}
@foreach($cartItems as $item) @endforeach
@if($item['img_01'] != null && Storage::exists($item['img_01'])) {{ route('shop.show', [$item['slug'], $item['id']]) }} @endif
{{ $item['name'] }} x {{ $item['quantity'] }}
@if($item['type'] == 'ebook') {{ __("checkout.format_digital") }} @else {{ __("checkout.format_tiparit") }} @endif

{{ priceView($item['quantity'] * $item['price'], true) }}

{{ __("checkout.tax") }}

{{ priceView($tax) }}

{{ __("checkout.shipping_cost") }}

@if($shippingCost > 0) {{ priceView($shippingCost) }} @else Gratuit @endif

{{ __("checkout.total") }}

{{ priceView($total + $shippingCost) }}

{{ __("checkout.payment_method") }}

@if(!$containsEbook)
@endif
@if(session()->has('cart'))
@if ($errors->any()) @endif
@endif
@script @endscript