We’ve already seen how to remove the product permalink from the “order table” (the one you see on the Thank you page, My account pages and emails). Thsi time, we’re looking at doing the same thing on the Cart page, which uses different “hooks” than the order pages and therefore requires its own snippet.
Here’s how it’s done – as usual 1 PHP line is sufficient!
PHP Snippet: Delete Cart Item Permalink @ WooCommerce Cart
/** * @snippet Remove Cart Item Link - WooCommerce Cart * @how-to Get tutoraspire.com FREE * @sourcecode https://tutoraspire.com/?p=80927 * @author Tutor Aspire * @compatible WooCommerce 3.4.7 */ add_filter( 'woocommerce_cart_item_permalink', '__return_null' );