Hello Magento Friends,

In this blog, I will explain How to Move the Cart Total Below Cart Items on Magento 2 Checkout Page.

In the default checkout page of Magento 2, the cart items are displayed below the cart total. Look at the below image:

default cart total

If you want to display the cart items above the cart total in the checkout page, you can accomplish it using the below method.

Steps to Move Cart Total Below Cart Items in Checkout Page in Magento 2:

Step 1: You need to override the checkout_index_index.xml file in your module or theme as per your requirement. The path to creating a file for the module and theme is as follows

In Module: 

app\code\Vendor\Extension\view\frontend\layout\checkout_index_index.xml

In Theme: 

app\design\frontend\Themes\Yourtheme\Magento_Checkout\layout\checkout_index_index.xml

Then add the code as follows:

Output:

cart total below cart items

Conclusion:

This way you can customize the checkout page in Magento 2 by Moving Cart Total Below Cart Items in Checkout Page. Also, you can show custom notice message of cart items on the checkout page in Magento 2. If you have any doubts, let me know through the comment section. 

Happy Coding!

Click to rate this post!
[Total: 0 Average: 0]