Add this robust PHP based Amazon aStore search box to your site.

After searching with this script visitors land on your site's aStore page and remain on your site longer.
Being PHP based, this script will function even if your visitor's browser has JavaScript disabled.

This is a two part script. The first part is the PHP script which writes the Amazon iframe code on your aStore page. The second part is the HTML search box which can be placed on any page, anywhere.

Only one category can be searched due to the limitations of the aStore search function.


Part 1 - PHP Iframe Script

  1. Copy & paste the code on the right into your aStore's PHP file or create a new file with the extension ".php" (e.g. "astore.php").
  2. Replace "http://astore.amazon.com/adbabel-20" with your aStore's URL. Change ".com" to ".co.uk", ".fr", ".de", ".ca", ".jp" as needed.
  3. Optionally change the width (asWidth) and other parameters to suit your site.
  4. Upload & test. Your default aStore should appear in an iframe.
Click in this box to select the code.

Part 2 - Search Box

  1. Copy & paste the code on the right into any HTML or PHP file.
  2. Replace "http://www.SITE.COM/ASTORE.PHP" with the address of the aStore page on your site.
  3. Replace "http://astore.amazon.com/adbabel-20" with your aStore's URL. Change ".com" to ".co.uk", ".fr", ".de", ".ca", ".jp" as needed. Note that you can specify any valid Amazon tracking ID. The appropriate store will appear in the destination iframe.
  4. Change "22" to your search category's node number. This is found in the URLs on your aStore's menu (look for "node=XX").
  5. Optionally change "12" to your preferred search box width.
  6. Optionally change "Search" to your preferred wording.
  7. Test & upload.
  8. Done!
Click in this box to select the code.

 

ShareASale

Hostgator

Ink Grabber

Dotster
$14.95 Domain Name Registration at Dotster

 
Statistical tracking image - do not follow

Your I.P. Address 18.116.85.102

Legal
AdBabel accepts no responsibility for any dispute or negative outcomes resulting from downloading, using, or applying any software or service offered or promoted on this site. We will never knowingly provide or promote services or software that may be fraudulent or otherwise unsatisfactory but we cannot be held accountable for the malicious actions of others. Please use your judgement. Please let us know us if you experience any problems with products or services promoted by us.

Copyright © AdBabel 2024. All rights reserved.

aStore PHP Search Box