how to remove anchor link from woocommerce cart 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' );