How to create "Buy from amazon" button?

wahidpolin

Regular Member
Joined
Dec 25, 2009
Messages
441
Reaction score
263
Can anyone tell me how to create a buy from amazon button at the end of ur post like this site
Code:
http://www.skyturbo.com
?
 

scorpion king

Supreme Member
Joined
May 2, 2010
Messages
1,219
Reaction score
2,441
  • Open your amazon.php file inside modules folder
  • Find this script : $affl = ‘<a href="‘ . $url . ‘" title="‘.$title.'" rel="nofollow"><b>'.$title.'</b></a>';
  • Change all of that script above with this : $affl = ‘<a href="‘ . $url . ‘" title="‘.$title.'" rel="nofollow" target="_blank"><img src="http://irwanbee.googlepages.com/buybutton.png" alt="‘.$title.'" /></a>';
The idea is change the ‘.$title.' that use to call amazon affiliate link product with an image (see the red colored script). On that script above, i also add target="_blank" script (blue colored script) to make the product link that clicked will opened in new windows, so your visitor will not leaving your site.

Hope it helps you.
 

J1218

Power Member
Joined
Jan 9, 2010
Messages
683
Reaction score
407
This is what I do...google images - type "buy from amazon" (no quotes) choose the button you want - click on the image to view it full size - right click - save image as 'whatever name you give it' to your desktop - put it into your post/webpage and attach your affiliate link.

Thats what I do everytime, never had a problem. Hope that helps.

Yep, this is exactly what I would do. Why make it complicated?

Either find a button you like using Google Image search or just do a screenshot of that page you referenced and cut the "buy from amazon" button out, save it as it's own file, then upload it to your site.
 
Top