cancel
Showing results for 
Search instead for 
Did you mean: 

Remove totals and shipping blocks from empty shopping cart (no products) page

Remove totals and shipping blocks from empty shopping cart (no products) page

The content of the page locates in Magento_Checkout/templates/cart/noItems.phtml 

I can hide totals and shipping using inline CSS inside the template. That's effective but too dirty method. There are no XML for this page to use referenceBlock remove="true". Is there some elegant way to prevent the appearence of these blocks?