{{-- Note: This page (view) is rendered by the checkout() method in the Front/ProductsController.php --}}
@extends('front.layout.layout')
@section('content')
{{-- Showing the following HTML Form Validation Errors: (check checkout() method in Front/ProductsController.php) --}}
{{-- Determining If An Item Exists In The Session (using has() method): https://laravel.com/docs/9.x/session#determining-if-an-item-exists-in-the-session --}}
@if (Session::has('error_message'))
Error: {{ Session::get('error_message') }}
@endif
{{-- We created this id="deliveryAddresses" to use it as a handle for jQuery AJAX to refresh this page, check front/js/custom.js --}}
@include('front.products.delivery_addresses')
{{-- The complete HTML Form of the user submitting their Delivery Address and Payment Method --}}