You can display Order Summary like Order total, subtotal, discount, and shipping charges on the first step (Shipping step) Of checkout page.
By Default, Order Summary in Shipping step is Disabled and it will be loaded through the abstract-total.js file of Checkout module.
