[ic] restricting orders to US only...
Steve
icdev at mrlock.com
Wed Feb 23 18:17:57 EST 2005
>
> ah! I hadn't considered that. We're using IC 5.2.
>
> --
> Mark
Hello Mark,
My system is on 4.8.x so I'm not sure if the checkout routine has changed,
but I used the following code close to where the checkout page displays the
S&H amount:
[seti mv_sh][shipping noformat=1][/seti]
[comment]
The following code will not allow the place order button to display
if shipping is less that 1
[/comment]
[if type=explicit compare="[calc][scratch mv_sh] < 1[/calc]"]
<b> Please verify your ship to address, and zip code then click
recalculate to see available shipping options.
blah...blah...not currently processing international shipment....</b>
[else]
[button
name="mv_click"
src="__THEME__/placeorder.gif"
text="Place Order"
hidetext=1
form=checkout
]
mv_todo=submit
[/button]
<br><br>Click <b>Place Order</b> to complete this order.
[/else]
[/if]
Of course there may be a better way.... IC doesn't restrict you in any
way....
Good Luck.
-Steve
More information about the interchange-users
mailing list