ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • HubPages Tutorials and Community

How to Create an Amazon Module from Scratch

Updated on May 29, 2014

Why make an Amazon module from scratch?

There are a couple reasons why you might want to make an amazon module from scratch. First, if you're an Amazon affiliate, this is an easy way to create product links. Second, if you want to advertise products from another store, this works for that too. Sometimes I have a lens with a bunch of Amazon products, but I know a few of those products can be found elsewhere for cheaper. So I use this code to make a fake Amazon module (meaning a made-from-scratch Amazon module) to advertise the cheaper products, while still blending in with the regular Amazon modules.. I think it just makes a lens look better.

I'm not saying it's guaranteed, but this code should work for any product from just about any store. I've used it successfully with Amazon codes, Commission Junction codes and Linkshare codes.

A real Amazon Module

HTML Coffee Funny Computer Programming Mug
HTML Coffee Funny Computer Programming Mug

Sometimes it takes me days and days to figure out the right code. This mug full of coffee could help explain the circles under my eyes. lol


HTML Coffee or Tea Mug

Sometimes it takes me days and days to figure out the right code. This mug full of coffee could help explain the circles under my eyes. lol

The code

just copy and paste

http.www.url to your image" style="float: left; margin: 0px 20px 20px 0px;" />your text affiliate link

description of your product

http://www.product url with your affiliate id embedded">

Now add your info

First, change the green part of the code to a url of your image.

Next replace the red code with the entire text affiliate link. It should look something like this (this is the text link code Amazon generates):


Now replace the blue code with just the url to the product. If using an Amazon code, you would use this part:">TEXT TO CLICK ON

For the description of your product, you don't have to write anything (but it's a good idea to at least write something).

Sams Teach Yourself HTML and CSS in 24 Hours (Includes New HTML 5 Coverage) (8th Edition)

By: Julie C. Meloni, Michael Morrison

Walmart Price: Under $30

If you were to actually click the link, you'd see this is kind of a bad example because Walmarts price is NOT lower, but you get the picture.

The code for a book module

Book modules are slightly different because they have the Authors name.

http.www.url to your image" style="float: left; margin: 0px 20px 20px 0px;" />your text affiliate link

By: Authors name

Store Price: $00.00 (as of 01/01/2011) http://www.product url with your affiliate id embedded">

description of your product

A bit about prices

Amazon doesn't allow you to manually show prices on their products. To get around this, I sometimes say

Amazon Price: Under $15.

Photos and text; © 2010-2013 Catherine Taylor. All Rights Reserved

Reproduction in whole or in part without permission is prohibited.

All comments are moderated.

I hope you found this helpful!

    0 of 8192 characters used
    Post Comment

    • profile image

      anonymous 4 years ago

      Thanks for the tips...

    • mcspocky lm profile image

      mcspocky lm 5 years ago

      Good information. Adding a link to this on my new lens. :)

    • RhondaAlbom profile image

      Rhonda Albom 5 years ago from New Zealand

      Fantastic idea. Great instructions. Blessed.

    • profile image

      aussiejon 5 years ago

      brilliant, just what i was searching for, thanks so much

    • artgoodman lm profile image

      artgoodman lm 5 years ago

      this is exactly what I was looking for, thanks a ton

    • candz1 lm profile image

      candz1 lm 5 years ago

      I left a comment saying i couldn't do it lol, well I DID IT : ) with a little tweaking it worked

    • candz1 lm profile image

      candz1 lm 5 years ago

      I cant do it lol

    • candz1 lm profile image

      candz1 lm 5 years ago

      ohhhhh, i was wondering about this today actually, i viewed someone's lens that had their Amazon products looking like these, and im thinkin "how did they do that", i thought maybe i had to have a higher Level as a squidoo member, but nope you just gave me exactly what i was looking for......


    • profile image

      anonymous 6 years ago

      Thank you for explaining how create an amazon module. Your use of colour in the html codes is really helpful and makes it so much easier to understand where to put the different links.

    • Heather426 profile image

      Heather Burns 6 years ago from Wexford, Ireland

      How to create an amazon module from scratch is a fantastic page and idea!

    • TheBaseballCoach profile image

      TheBaseballCoach 6 years ago

      Super lens...thanks

    • Gayle Mclaughlin profile image

      Gayle 6 years ago from McLaughlin

      I've had several people try to explain this to me, and this is the easiest to follow! Thanks so much!

    • pkmcruk profile image

      pkmcr 6 years ago from Cheshire UK

      What an incredibly useful lens and I am sure lots of folks will find this invaluable :-)

    • profile image

      thebestmousetrap 6 years ago

      I always wanted to know hoe to do that. thanks

    • kimbesa2 profile image

      kimbesa 6 years ago from USA

      Very helpful...thanks!

    • profile image

      hamshi5433 6 years ago

      Ah nice tricks..I`m going to apply this for my lenses. Thanx for sharing it.

    • kismetsc profile image

      kismetsc 6 years ago

      This is a wonderful and helpful lens! I didn't even know this was possible. Thank you!

    • Missmerfaery444 profile image

      Missmerfaery444 7 years ago

      Came back to bless this - it has helped so much to integrate my UK amazon links into my lenses in a far better way. Thank you, blessed by a MerAngel!

    • hotbrain profile image

      hotbrain 7 years ago from Tacoma, WA

      Great information. This will be even more useful with the new Squidoo limits on the number of Amazon modules. Angel blessed! :)

    • Nightowl John profile image

      Nightowl John 7 years ago

      Thank you for this very helpful information. Squid Angel blessed.

    • profile image

      termit_bronx 7 years ago

      This is really great lens with useful tips! I like your CSS knowledge ;)

    • profile image

      termit_bronx 7 years ago

      This is really great lens with useful tips! I like your CSS knowledge ;)

    • WildFacesGallery profile image

      Mona 7 years ago from Iowa

      Really interesting. Have fav'd so I can come back and really study it. Thanks for sharing. :)

    • darciefrench lm profile image

      darciefrench lm 7 years ago

      Wow- this is cool. Great amazon tips lens!

    • Virginia Allain profile image

      Virginia Allain 7 years ago from Central Florida

      Wow, thanks for simplifying it for the html challenged lensmaster. Much appreciated.

    • wilhb81 lm profile image

      wilhb81 lm 7 years ago

      With all these step-by-step and simple presentation, I can easily understand it, even though I'm totally a rookie in HTML Codes lol Two thumbs up for you, OtherCat,

    • DreamingBoomer profile image

      Karen Kay 7 years ago from Jackson, MS

      You are a genius! Thank you so much Othercat!

    • Carmel Aaron profile image

      Carmel Aaron 7 years ago

      Wow-I got your html, now hope I am capable of using it. Very good!!!

      Yes, you deserve at least a thumbs-up

    • MisterJeremy profile image

      Jeremy 7 years ago from Tokyo, Japan

      Great to know. Favorited for future reference.

    • CCGAL profile image

      CCGAL 7 years ago

      I wish I could give you more than just a big thumbs up for this - you rock. I'm putting this on my list of lenses to bless next time I'm an angel. Now off to implement this.

    • LM 5682693 profile image

      LM 5682693 7 years ago

      I've wanted to do that myself! Thanks for sharing this!

    • FanfrelucheHubs profile image

      Nathalie Roy 7 years ago from France (Canadian expat)

      Pretty cool! Thanks for sharing this trick.

    • capriliz lm profile image

      capriliz lm 7 years ago

      Thanks for sharing your method on creating a different type of sales module. Nice job!

    • profile image

      Light-in-me 7 years ago

      I am going to try this! Thanks for sharing.

      Robin :)

    • Othercatt profile image

      Othercatt 7 years ago

      @MargoPArrowsmith: I tried it on my blog and it worked fine. But when I tried it on two of my websites, it wouldn't work.

    • MargoPArrowsmith profile image

      MargoPArrowsmith 7 years ago

      This looks very valuable. Can you also put it in any blog or website? Putting it on Margo's Ultimate Squidoo Library, Business Branch and want to put it in the right place!