[ic] [value country] on checkout ?

Kevin Walsh kevin at cursor.biz
Fri Jan 20 17:14:08 EST 2006


"Paul Jordan" <paul at gishnetwork.com> wrote:
> interchange-users-bounces at icdevgroup.org wrote:
> > I notice that the [value country] is null when you click on
> > express checkout the 1st page load.
> > After your click recalculate the default value of US is then in the
> > variable. 
> > 
> > Is this by design, or do I need to set the default value somewhere
> > specific. 
> > 
> That doesn't seem right. Anyways, I am sure this will solve it, although it
> is probably not the correct way to solve that issue.
> 
> http://www.icdevgroup.org/pipermail/interchange-users/2004-September/040963.html
> 
> There is also this:
> http://www.icdevgroup.org/pipermail/interchange-users/2002-November/028543.html
> 
I've uploaded a [geo-ip] UserTag to my RTFM website.  [geo-ip] will
take a stab at guessing the user's country code.  The result is usually
correct, and the user can always change the value on your form if it
turns out to be wrong for some reason.

I made a couple of changes to clean it up a bit before uploading.
I hope it still works. :-)

    http://www.interchange.rtfm.info/downloads/usertags/index.html

Just modify your page to call that UserTag.  Use the return value to
initialise the country and/or b_country values.  You don't need to call
the UserTag if the country values are set already, of course.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the interchange-users mailing list