I am trying to create a custom button to remove items from the shopping cart.
I've tried the following code
<a href="<?php echo $this->getUrl('checkout/cart/delete', array('id' => $this->getProduct()->getId()))?>"> in
vendor\magento\module-checkout\view\frontend\templates\cart\item\default.phtml but it doesn't seem to be working.
I must be putting something in the wrong place or not using correct code but I found this on another post.
Just need a point in the right direction