Hi everyone,As suggested in another email on this list I added the following code to my catalog.cfg file under the COMMON_ORDER_PROFILE. This code makes it so the a shopper can not checkout with a zero or blank shipping amount.
---------- code
[tmp shipping_amount][shipping noformat=1][/tmp]
[calc]
if($Scratch->{shipping_amount} > 0) {
$CGI->{has_shipping} = 1;
}
else {
$CGI->{has_shipping} = '';
}
return;
[/calc]
has_shipping=mandatory Zero-cost shipping not allowed. Please contact us.
---------- code
Unfortunately this code has the side affect of making it so you can not
edit an account on the storefront. In the foundation demo you can get to
the page having the problem by logging in, clicking on service then
clicking on account maintenance. On this page you will always get an
error when you click on Save Acct Info at the bottom of the screen.
So my question is: Has anyone been able to stop shoppers from getting zero shipping but not broken the account editing page?
Thanks for any help, Kip _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.