I try to remove shipping.phtml from cart page
I tried to diseable this field from module-checkout\view\frontend\layout\checkout_cart_index.xml
<block class="Magento\Checkout\Block\Cart\Shipping" name="checkout.cart.shipping" as="shipping" template="cart/shipping.phtml" after="checkout.cart.summary.title">
<referenceBlock name="checkout.cart.shipping" remove="true" />
by adding <referenceBlock name="checkout.cart.shipping" remove="true" />
, but it dosen't work.
Does anyone know if it's another way do disable this phtml?
Best Answer
Add checkout_cart_index.xml file in your custom module at app/code/Vendor/Modulename/view/frontend/layout/checkout_cart_index.xml
add below code to it.