[ic] ship only to US

Paul Jordan interchange-users@icdevgroup.org
Sat Jun 29 23:49:00 2002


[snip]
> PJ>>Buy.com (and now us) require users to be registered, thus as
> for you, you
> PJ>>can only allow people from the US, on your checkout page in
> the first place.
> PJ>>On your checkout page, they are unable to edit their customer info.
>
> It is nice to know that I am not the only one that is being a prick about
> this and getting fed up with this problem. It's nice to know that the 'big
> boys' are also fed up with the Canadian Government.
>
> PJ>>PAGE 1 (edit page)     separate controlled customer information screen
> PJ>>
> PJ>>
> PJ>>PAGE 2 (checkout)      starts with:
> PJ>>                       [if value country ne US]
> PJ>>                       [bounce href="[area not_allowed]"]
> PJ>>                       [/if]
> PJ>>
> PJ>>You can increase this to any extent, not allowing your
> customers to even
> PJ>>"get to" the page to submit their order. As for customers
> from CA calling
> PJ>>you, mailing you, and emailing you, well, your screwed there
> big guy :)
>
> This soumds like a tremendous start.
>
> In using just the standard single check out page in 'Construct' can't
> something be put in like that on the submit button that takes
> them to a page
> that tells them that they are not allowed?
>
> What would the code modifications be?
>

[if value country ne US]
[bounce href="[area not_allowed]"]
[/if]

or

[if type=value term=country op=ne compare="US"]
&calc = delete $CGI->{country}; 1;
[bounce href="[area not_allowed]"]
[/if]

I am not sure if a bounce will work in etc/profiles.order, but this seems
like a good idea. A javascript could do it too, until they turn of
javascript :)

Paul