Link directly to merchant's site, bypass single product page
This article explains how to make all of your product links go directly to the merchants/vendors websites, bypassing the single product page entirely.
This replaces ALL links (including links in your sidebars, search results and category pages) to single product pages with direct links to the merchants' sites. This is also compatible with the WooCommerce Cloak Affiliate Links plugin. This does not work with non-datafeedr imported products.
Create a custom plugin
If you haven't done so already, create a custom plugin.
Add custom code
Add the following code to your custom plugin file.
Save your custom plugin changes.