remove link from product image on cart page in woocommerce code example
Example: remove link from product name in woocommerce cart
add_filter( 'woocommerce_cart_item_permalink', '__return_null' );
add_filter( 'woocommerce_cart_item_permalink', '__return_null' );