Remove a product link using filter
Overview
- Go to your theme directory and Open
functions.php
in your child theme folder - Enter the below code
add_filter( 'woocommerce_order_item_permalink', '__return_false' );
Save file and refresh your page to check!