I want to remove delete item button from cart page.
I am using below xml code to remove this but not working:-
Path:
app/design/frontend/vendor/theme/Magento_Checkout/layout/checkout_cart_item_renderers.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="checkout.cart.item.renderers.default.actions.remove" remove="true"/>
<referenceBlock name="checkout.cart.item.renderers.simple.actions.remove" remove="true"/>
</body>
</page>
Please help me to do this using xml and if my approach is not correct what is the right way to do this.