How to Replace the Add to Cart Button With External Affiliate Link in WooCommerce

Prem Tiwari - - WordPress, WordPress Plugin Reviews

A few days back I got a tutorial request from one of my website visitor asked this question by using the Request tutorial page, so that I am writing this tutorial. Below is the complete question he asked:

request tutorial about WooCommerce

How to Replace the Add to Cart Button With External Affiliate Link in WooCommerce

Follow the below step to redirect the custom Affiliate link when clicked on Add to Cart button in WooCommerce product archive page & single product page.

Download the WooCommerce Improved External Products WordPress plugins from and install in your website.

WooCommerce Improved External Products

If you have just started with WordPress, check out:

After the installation, click on Activate button to enable the plugin features and then follow the below instructions.

Step 1) Login to WordPress dashboard and navigate to the edit product page and move the product configuration section. Select the External/Affiliate product option from the Product Data drop-down menu.

Step 2) Now enter the Affiliate product link, button text, regular price, and sale price and update the product. Always try to use the relevant button text, so that your visitors will not confused. you can use like Buy on Amazon.


Now open the product from front-end website, you will see the button Buy on Amazon and it will be redirected to your external affiliate link.

Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.

Prem Tiwari

Prem Tiwari is the founder of and also a professional developer and a blogger by hobby.

Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.