[ic] profiles.order

Steve Graham interchange-users@icdevgroup.org
Sat Jun 29 17:36:01 2002


>From: Ed LaFrance <edl@newmediaems.com>
>Reply-To: interchange-users@icdevgroup.org
>To: interchange-users@icdevgroup.org
>Subject: Re: [ic] profiles.order
>Date: Sat, 29 Jun 2002 13:09:17 -0700
>
>At 07:44 PM 6/29/2002 +0000, you wrote:
>
>>Hello,
>>
>>IC 4.8.5, not sure if this is possible, but thought I would like to try.
>>
>>I have had a couple of orders go through that would be shipping to Hawaii, 
>>Alaska, or APO's and somehow the order went through with s&h zero for 
>>GNDCOM. The only way I could see this happening is if they enter all 
>>customer information and hit place order before doing a recalculate for 
>>the entire order.
>>
>>So, is there a way to test for [shipping] > 0 in the profiles.order?
>>
>>Thanks,
>>Steve
>
>Well, the real problem is that you can't ship UPS Ground to those 
>destinations, but since you can have ITL right in the profile, you can do 
>something like this:
>
>[if type=explicit compare="[calc][shipping noformat=1] == 0[/calc]"]
>         &return 0
>[/if]
>
>Haven't tried this, but according to the docs this should bounce the user 
>back to the checkout page, albeit without an error message. If you want to 
>advise the user on failure, you could try something like this:
>
>[if type=explicit compare="[calc][shipping noformat=1] == 0[/calc]"]
>         [value name=mv_shipmode set='']
>         mv_shipmode=required Please choose a valid shipping method for 
>your destination
>[/if]
>
>Then make sure the shipping method selector is setup with the error tag:
>
>[error name=mv_shipmode std_label="Shipping Method" required=1]
>
>Again, untested. it is possible there may be an issue with setting 
>[value]'s in a checkout profile, but there is probably a way around it. In 
>any case, this should point you in the right direction. Remember that 
>something like this will also cause a failure if you start offering free 
>shipping, unless you modify it a bit.
>
>- Ed L.

Thanks, I'll check that out.


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com