[ic] Stopping zero shipping in checkout breaks Account
Maintenance page on storefront
Ed LaFrance (New Media E.M.S.)
ic_users at newmediaems.com
Fri Oct 29 14:05:39 EDT 2004
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.
>---------- 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
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 Ed.LaFrance at newmediaems.com
(916) 961-0446 http://www.newmediaems.com
(866) 519-4680 Toll-Free (916) 961-0447 Fax
===============================================================
More information about the interchange-users
mailing list