Tuesday, January 06th 2009 | dance | trends | lot10 on Squidoo | my zimbio
Google

What-is-ASM.com ::

CA & FR Locales


Knowledgebase
Installation
Browse Nodes
Customization
Integration
WebDev
Interconnect
New On Squidoo
Browse Node Lookup
The Way Of The Web
Deals & Steals
OneAutoBox
OneHomeChoice
OneHotFuzz
OneHotPick
OnePhotoBox
OneShoeBox
OneToolBox
OneWatchBox
PickABag



ASM2 was introduced before Amazon.com made AWS available for both CA (Canada) and FR (France) locales. It has since change and the integration of these locales into ASM2 will be part of the next upgrade to be made available soon from Freekrai.net.

In the meantime however, we came up with our own patch that enables us now to set up stores for both Amazon.CA and Amazon.FR. The patch includes working on the script/aws4class.php file, and the creation of both complementary script/nodes/*.inc files.


Working example

To get a working example of what we did. edit the script/aws4class.php and add the following codes to the section indicated:


Add these to the function aws section :



Add these to the function browse($locale) section :



And these to the function nodes($idx) section :



Next is to create
the script/nodes/ca.inc and script/nodes/ca_browse.inc files for the CA locale,
and,
the script/nodes/fr.inc and the script/nodes/fr_browse.inc files for the FR Locale.

The files are here.


© 2005, dinodino :
All articles/tutorials are copyright and may not be reproduced without prior consent of their owners.


Copyright © 2005 - 2009   All Rights Reserved   WebDev by : What-is-ASM.com