I also needed to get rid of the "Estimate Shipping costs and Tax" because of a conflict with a payment module. If your **only objective** is to **not show the block**, why not use **CSS**? This worked for me: .cart-container .cart-summary #block-shipping { display: none; } (Version: Magento 2.2.1)