How to change the "Add to cart" button to "View on Amazon"?

There are two important changes to do in your store if you want to refer your visitor to purchase the product from Amazon and earn commission as an affiliate.

Change the "add to cart" button to "View on Amazon.

Disable any "quick view" or "Add to cart" buttons which appear on home page and collection page.

Change the "Add to cart" button...