Replace the ‘Add to Cart’ button on product page with the external link, which will redirect users to their desired external or affiliate pages. Enhance the button by adding custom text like ‘View on Amazon’ or ‘Buy on eBay’.
Please follow steps given below to add external product link.
Step 1 : Create a metafield for External Link and External Link Text.
Go to Settings -> Click Metafields and metaobjects -> Products -> Click Add definition

Step 2: Create 2 metafield as shown in below screenshot
For External Link Text
For External Link

Step 3: Now go to products, choose the desired products, navigate to the Metafields section by scrolling down, and add the link text and link.
