1. Documenation
  2. NextMove WooCommerce Thank You Page
  3. How To
  4. How to hide product links from Order details component?

How to hide product links from Order details component?

Sometimes there is a need to hide Product links from WooCommerce Thank you page Order details section.

In NextMove, you have 2 ways to show ‘Order Details’: Advanced & Native WooCommerce

You can achieve this by adding this small snippet to your theme functions.php file or through snippets plugin.


add_filter('woocommerce_order_item_permalink', function(){
return false;
});

How can we help?