At 10:17 AM 10/29/2004, you wrote:
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. ---------- codeUnfortunately 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
Instead of adding it to the common order profile, add it to the payment-type checkout profile(s) that you use.
- Ed =============================================================== New Media E.M.S. Technology Solutions for Business 11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting Fair Oaks, CA 95628 suppressed (916) 961-0446 http://www.newmediaems.com (866) 519-4680 Toll-Free (916) 961-0447 Fax===============================================================
_______________________________________________ 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.