Disable Link to WooCommerce Single Product Page from Shop Archive Page

/* Disable Single Product Page links from Shop Archive Page */
remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10 );
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close', 5 );

Above code disables anyone from accessing single product page when they are in the shop archive page.

By default, one the Shop Archive page, if any user clicks on the Product Image or the Title, they will be redirected to the Single Product page of the same product.

Above code disables hyper links on both Product Image and Product Title from the WooCommerce Shop Page.

Important,

Even if you disable links to single product page from shop page, if any users know the URL/ permalink of the product, they will still be able to access the single product page.

In this case, you should also disable access to Single Product Page sitewide.

Tip: Also make sure you have Disallowed /product/ in robots.txt.