How to create "Buy from amazon" button?

Discussion in 'Other Affiliate Programs' started by wahidpolin, Jun 26, 2010.

  1. wahidpolin

    wahidpolin Regular Member

    Joined:
    Dec 25, 2009
    Messages:
    441
    Likes Received:
    261
    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
    ?
     
  2. scorpion king

    scorpion king Senior Member

    Joined:
    May 2, 2010
    Messages:
    1,167
    Likes Received:
    2,395
    Occupation:
    Entrepreneur
    Location:
    irc.blackhatworld.com
    • 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.
     
    • Thanks Thanks x 1
  3. J1218

    J1218 Power Member

    Joined:
    Jan 9, 2010
    Messages:
    683
    Likes Received:
    405
    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.