There is a slightly annoying thing on the WooCommerce Thank-You Page and WooCommerce emails. Users looking at the order table can actually click on the Products they just purchased and abandon the page before taking the action you want them to take (see image below).
So, I coded a simple PHP snippet to remove such links. As usual, 1 line of code is more than sufficient:)
PHP snippet: How to Remove the Product Permalink @ WooCommerce Order Table
/** * @snippet WooCommerce Remove Product Permalink @ Order Table * @how-to Get CustomizeWoo.com FREE * @sourcecode https://businessbloomer.com/?p=20455 * @author Rodolfo Melogli * @testedwith WooCommerce 3.5 */ add_filter( 'woocommerce_order_item_permalink', '__return_false' );