ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

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


      7 years ago

      Thanks for the tips...

    • profile image

      mcspocky lm 

      7 years ago

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

    • RhondaAlbom profile image

      Rhonda Albom 

      7 years ago from New Zealand

      Fantastic idea. Great instructions. Blessed.

    • profile image


      7 years ago

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

    • artgoodman lm profile image

      artgoodman lm 

      7 years ago

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

    • profile image

      candz1 lm 

      8 years ago

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

    • profile image

      candz1 lm 

      8 years ago

      I cant do it lol

    • profile image

      candz1 lm 

      8 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


      8 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 

      8 years ago from Wexford, Ireland

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

    • TheBaseballCoach profile image


      8 years ago

      Super lens...thanks

    • Gayle Mclaughlin profile image


      8 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


      8 years ago from Cheshire UK

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

    • profile image


      8 years ago

      I always wanted to know hoe to do that. thanks

    • kimbesa2 profile image


      8 years ago from USA

      Very helpful...thanks!

    • profile image


      8 years ago

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

    • kismetsc profile image


      9 years ago

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

    • Missmerfaery444 profile image


      9 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


      9 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 

      9 years ago

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

    • profile image


      9 years ago

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

    • profile image


      9 years ago

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

    • WildFacesGallery profile image


      9 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 

      9 years ago

      Wow- this is cool. Great amazon tips lens!

    • Virginia Allain profile image

      Virginia Allain 

      9 years ago from Central Florida

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

    • profile image

      wilhb81 lm 

      9 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 

      9 years ago from Jackson, MS

      You are a genius! Thank you so much Othercat!

    • profile image

      Carmel Aaron 

      9 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


      9 years ago from Tokyo, Japan

      Great to know. Favorited for future reference.

    • CCGAL profile image


      9 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 

      9 years ago

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

    • FanfrelucheHubs profile image

      Nathalie Roy 

      9 years ago from France (Canadian expat)

      Pretty cool! Thanks for sharing this trick.

    • capriliz lm profile image

      capriliz lm 

      9 years ago

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

    • profile image


      9 years ago

      I am going to try this! Thanks for sharing.

      Robin :)

    • Othercatt profile imageAUTHOR


      9 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


      9 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!


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)