Monday, April 6, 2015

Insert An Iframe Into An Amazon Product Description

The Amazon API lets you import product descriptions and display these descriptions on your Web page. You use a "div" container to place the Amazon information in your website's layout. You can insert an iframe into this div container to add your own website's product information or any user reviews you want to display with the product descriptions.


Instructions


1. Right-click the Web page that contains the Amazon data. Click "Open With" and select your preferred editor or choose Notepad to edit in the Windows text editor.


2. Locate the section of your code that uses the Amazon API to retrieve data. There is a div container tag directly above and below the Amazon API URL. You will add the iframe HTML directly below the Amazon URL.


3. Add the following code to add the iframe:


Replace "mypage.php" with the file you want to use in the iframe.


4. Press "Ctrl-S" to save the file. Open the file in a Web browser to verify that the code works properly.