I am working on a Magento 2.1.7 shop. To achieve this, I have created a child-theme of Magento Blank.

On the cart page, the cart totals are the above the cart products:

enter image description here

I want the "totals" to go below the products table, inside the cart form:

enter image description here


  1. Would doing this affect the checkout process?
  2. Can I achieve this by copying the contents of totals.html inside form.phtml? The path:


The checkout_cart_index.xml in the theme is:


The full code of checkout_cart_index.xml is in this Pastebin.

  • It will not affect the checkout process, & there is no need to do copy the code from totals.html to form.phtml. Can you put the code of checkout_index.index.xml Commented Feb 5, 2018 at 16:53
  • Is it not checkout_cart_index.xml? Commented Feb 6, 2018 at 9:03
  • Yes for cart it is checkout_cart_index.xml Commented Feb 6, 2018 at 18:25
  • I think it is not that xml file please put the xml file which is present in your theme/Magento_Checkout Commented Feb 7, 2018 at 19:00
  • That is the XML file in my theme. Commented Feb 12, 2018 at 9:01

1 Answer 1


I copied checkout_cart_index.xmlto


In this file I added:

<move element="cart.summary" destination="checkout.cart.items" after="checkout.cart.form"/>

The totals went under the products.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.