The following are not usable in the UK - Comment out
<!--<option value="{$stub}599872&mode=magazines">...Magazines</option>
<option value="{$stub}502394&mode=photo">...Camera &
Photo</option>
<option value="{$stub}468250&mode=garden">Outdoor</option>
<option value="{$stub}468240&mode=tools">Tools & Hardware</option>
<option value="{$stub}542456&mode=baby">Baby</option>
-->
To help you in the following task refer to the "Common Product Modes and Browse
IDs" in the API guide in the AWS kit
In each of the following lines you need to alter 3 things
- Change the number after {$stub} to a ukbrowser node number.
- Alter the word after ;mode= (See table below)
- If required alter the wording just before </option> to match the browser node
you select. Most of the US browsernode numbers point to a Top Selling node, this is
not available in UK
- You could add additional lines as required
<option value="{$stub}53&mode=books">Books</option>
<option value="{$stub}404272&mode=video">All Movies</option>
<option value="{$stub}130&mode=dvd">...DVD</option>
<option value="{$stub}404272&mode=vhs">...VHS</option>
<option value="{$stub}172282&mode=electronics">Electronics</option>
<option value="{$stub}565118&mode=pc-hardware">...Computers</option>
<option value="{$stub}491286&mode=software">... ...Software</option>
<option value="{$stub}491290&mode=toys">Toys & Games</option>
<option value="{$stub}471280&mode=videogames">...Video Games</option>
<option value="{$stub}491864&mode=kitchen">Kitchen &
Housewares</option>
Add -uk to the following Option values and comment out 5 lines as below
| US mode parameter |
Change to UK mode parameter |
| <option value="books" selected="">Books</option> |
<option value="books-uk" selected="">Books</option> |
| <option value="dvd">... DVD Only</option> |
<option value="dvd-uk">... DVD Only</option> |
| <option value="vhs">... VHS Only</option> |
<option value="vhs-uk">... VHS Only</option> |
| <option value="electronics">Electronics</option> |
<option value="electronics-uk">Electronics</option> |
| <option value="software">... ... Software</option> |
<option value="software-uk">... ... Software</option> |
| <option value="toys">Toys & Games</option> |
<option value="toys-uk">Toys & Games</option> |
| <option value="videogames">... Video Games</option> |
<option value="video-games-uk">... Video Games</option>
|
| <option value="kitchen">Kitchen & Housewares</option> |
<option value="kitchen-uk">Kitchen & Housewares</option> |
| The following mode parameters not available - Comment out 7 lines |
| <option value="magazines">... Magazines</option> |
<option value="video">All Movies</option> |
| <option value="pc-hardware">... Computers</option> |
<option value="photo">... Camera & Photo</option> |
| <option value="garden">Outdoor Living</option> |
<option value="tools">Tools & Hardware</option> |
| <option value="baby">Baby</option> |
|
<xsl:template match="Manufacturer">
There is another batch of similar code near the end of the file that needs
similar treatment to the above with reguard to the uk mode names. When making
these alterations ONLY change words that are in lower case e.g. 'books' DO NOT
CHANGE words starting with an upper case e.g. 'Books' that are Category names
| Search for |
Replace with |
Times |
| 'books' |
'books-uk' |
2 |
| 'music' |
'music-uk' |
2 |
| Not Available At Amazon.com |
Not Available At Amazon.co.uk |
1 |
| www.amazon.com/exec/ |
www.amazon.co.uk/exec/ |
7 |
| "Buy At Amazon.com" |
"Buy At Amazon.co.uk" |
1 |
| "Buy From Amazon.com" |
"Buy From Amazon.co.uk" |
2 |
Graphics
Change this link to a suitable one on the uk site
http://g-images.amazon.com/images/G/01/associates/navbar2000/logo-no-border(1).gif
to
http://images-eu.amazon.com/images/G/02/uk-shared/logos/smile-amazon-logo-notag-new-200x45.gif
If you want to use the amazon-webservices3.jpg download from celtic stone site and
save on your own Hard drive in whatever folder you nominated in this line
<xsl:variable name="image-url" select="'FULL URL OF YOUR IMAGE FOLDER'"/>
If you find this tutorial useful, please place a link to this site on your site - Thanks.
|