woocommerce remove product tag from url 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' );