We need a simple plugin to allow us to add affiliate links (Amazon, Ebay etc.) to a product in the Add product page in the back. On the front end show these links below add to the cart.
Build a plugin allow us ability to add as many affiliate links as we want for products
On Plugin settings add options to upload affiliate images such as Buy on Amazon button and name this image/button. On Edit product page these buttons will show as drop down so that we can select
On the product edit page in the admin, show the option to add Affiliate links. Add option to show price (Optional).
On the front end show price, Buy button/images linked to external affiliate page. Affiliate link will be nofollow. Add css style for the price & buttons so that we can manipulate it from css if required
Test it on your own WooCommerce store
Plugin should be secure
We will have full ownership of the plugin. Once developed you can’t use this code anywhere else in the future.