{{-- This page is rendered by the thanks() method inside Front/ProductsController.php --}} @extends('front.layout.layout') @section('content')
Your order number is {{ Session::get('order_id') }} and Grand Total is INR {{ Session::get('grand_total') }}
{{-- The Order Number is the order `id` in the `orders` database table. We stored the order id in Session in checkout() method in Front/ProductsController.php --}} {{-- Retrieving Data: https://laravel.com/docs/10.x/session#retrieving-data --}}